I'm currently using the bamtools API for a program where I'm trying to extract and print the reference sequence from a .bam file, but can't figure out how I could get to the reference sequence. Is there any way to determine the reference sequence directly from the bam file, or is there a better way to do this?
I've searched but haven't come up with anything.
Thanks for any help,
Andy
I've searched but haven't come up with anything.
Thanks for any help,
Andy
Comment