code

Easier Installation of LDSC with pyenv

A step-by-step guide for installing LD Score Regression (LDSC) and its dependencies on HPC systems using pyenv instead of Conda - which may save you some headaches.

Converting SNP coordinates: rsIDs or LiftOver?

A while ago* there was a lot of debate on Twitter on the best approach to converting SNP genomic coordinates between hg19 and hg38 reference genomes. Was it rsIDs or UCSC’s LiftOver tool?

How to code up your own Wright-Fisher model in R to explore genetic drift

Imagine an isolated population. How is genetic variation likely to change over time?

How to submit a Slurm job while building a workflowr page

A wrapper function so you can keep the Slurm job inputs and outputs in a workflowr page - and stick to the reproducibility goal of workflowr projects