sigven / pcgr

Personal Cancer Genome Reporter (PCGR)
https://sigven.github.io/pcgr
MIT License
251 stars 47 forks source link

Use bcftools for initial VCF parsing #199

Closed pdiakumis closed 1 year ago

pdiakumis commented 1 year ago

My tests seem to work, hopefully we shouldn't have corner cases for these relatively simple changes. bcftools sort goes with 1-22, X, Y, M (--edit: actually, it works based on the contig order in the metadata ;-)). @sigven please sanity check those filters, the logic seems to match what we had previously.