Unfortunately, I can only be assured of having VCF/BCF files, and not necessarily the original aligned BAMs. I am working on a variant annotator, and I would like for it to able to take either VCF or BCF as input, and produce the same for output.
Looking For A Vcf/Bcf C++ Library
2 answers
Try Heng's https://github.com/samtools/htslib
• 0 views
•
link
If you can work in the SAM or BAM formats you can do a lot with the samtools header files.
http://samtools.sourceforge.net/samtools/masterTOC.shtml
On the same topic Bamtools also offers an API
https://github.com/pezmaster31/bamtools
Do you need to process the BCF?
• 1 views
•
link
• 0 views
•
link
Log in to answer this question.