Entering edit mode
6.7 years ago
omariqbal2017
•
0
For some reason, I cannot open BAM files using the SeqAn library. While I try to open by executing the following code:
CharString bamFileName = getAbsolutePath("demos/tutorial/sam_and_bam_io/example.bam");
I get the following error:
ERROR: Could not open /home/omair/Programs/seqan/demos/tutorial/sam_and_bam_io/example.bam
what is the output of the following command
and
?
The output of
file /home/omair/Programs/seqan/demos/tutorial/sam_and_bam_io/example.bam
is
/home/omair/Programs/seqan/demos/tutorial/sam_and_bam_io/example.bam: gzip compressed data, extra field
and the output of
find /home/omair/ -type f -name "example.bam"
is
/home/omair/Programs/seqan/apps/ngs_roi/example/example.bam /home/omair/Programs/seqan/demos/tutorial/file_io_overview/example.bam /home/omair/Programs/seqan/demos/tutorial/sam_and_bam_io/example.bam
cross posted: https://bioinformatics.stackexchange.com/questions/3871