A simple base Rare disease and germline genomics pipeline to test the effects of down-sampling on variant calling
Using the NextFlow workflow software to run the following pipeline
Index genome > Fastqc analysis > Align reads > Downsample bam files > Sort bam > Mark duplicates > Index bam > Call variants > Hard filter
To run the pipeline, we need to obtain
- A genome build (GRCh38) - provided by the Broad institute
$ cd data/genome
$ wget https://storage.googleapis.com/gcp-public-data--broad-references/hg38/v0/Homo_sapiens_assembly38.fasta- FastQ sample (for workflow development)
$ cd ../samples
$ wget https://ftp.sra.ebi.ac.uk/vol1/fastq/SRR151/003/SRR1518253/SRR1518253_1.fastq.gz && \
wget https://ftp.sra.ebi.ac.uk/vol1/fastq/SRR151/003/SRR1518253/SRR1518253_2.fastq.gz && \
gunzip *.gz- When scaling up, FastQ samples
$ wget https://genomics.viapath.co.uk/benchmark/files/FASTQ/NA12878_WES.zip# Using Docker
$ nextflow run -profile docker main.nf
# Using docker in singularity
$ nextflow run -profile singularity main.nfSee https://genomics.viapath.co.uk/benchmark
- DNANexus Python Bindings Documentation
- Install the app
pip install -r requirements.txt- Routine maintenance Periodically update dxpy
$ pip install --upgrade dxpy$ dx select <your-project-name>
$ dx build --nextflow