samtools / bcftools

This is the official development repository for BCFtools. See installation instructions and other documentation here http://samtools.github.io/bcftools/howtos/install.html
http://samtools.github.io/bcftools/
Other
663 stars 240 forks source link

Possible 4x speed up of merge --gvcf ref.fa #2106

Open pd3 opened 7 months ago

pd3 commented 7 months ago

This needs to be tested, but it appears that merge --gvcf ref.fa is 4x slower than merge --gvcf -. This may be caused by inefficient use of faidx_fetch_seq; would pre-loading and caching the reference sequence help?

jkbonfield commented 7 months ago

Have you tried doing a small file and using perf record (and perf report) to profile it? It'll soon point out where the differences in CPU lie.