Entering edit mode
9.9 years ago
win
▴
990
Is is possible to determine the reference file from a BAM file? I want to programmatically determine the reference file that was used during alignment and use it for variant detection.
Are you wanting to compute the content of the reference (i.e. the FASTA sequence) or just the name of the reference file?
I just need the name of the reference file so I can use it for pulling up variants.