Skip to content
This repository has been archived by the owner on Nov 28, 2020. It is now read-only.
Agnieszka Szmurło edited this page Feb 12, 2020 · 27 revisions

Analysis

State-of-the-art implementations

Samtools

samtools mpileup --region 1:215906528-215906567 \
--fasta-ref human_g1k_v37.fasta NA12891_CEU_sample.bam

GATK

docker run --rm -it --entrypoint="java" -v $PWD:/data broadinstitute/picard -jar /usr/picard/picard.jar \
CreateSequenceDictionary \
R=/data/human_g1k_v37.fasta \
O=/data/human_g1k_v37.dict

docker run --rm -it -v /Users/aga/workplace/bds-files/chapter-11-alignment:/data broadinstitute/gatk \
gatk Pileup \
-R /data/human_g1k_v37.fasta \
-I /data/NA12891_CEU_sample.bam \
-O /data/pileup_gatk.pileup

Sambamba

Sambamba korzysta z implementacji samtools - dzieli BAM na kawałki i przekazuje je do samtools mpileup.

Some benchmarks/baselines

time samtools mpileup -B NA12878.chrom20.ILLUMINA.bwa.CEU.low_coverage.20121211.bam -o pileup.txt
real    1m2.585s
user    0m59.652s
sys     0m1.312s

wc -l pileup.txt 
58362811 pileup.txt