You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But pysam is not very happy about the header(s) of the test bam file:
(...)
File "~/roman/.virtualenvs/bcbio/lib/python2.7/site-packages/bcbio_nextgen-0.7.0a-py2.7.egg/bcbio/pipeline/shared.py", line 51, in _do_work
with closing(pysam.Samfile(bam_file, "rb")) as work_bam:
File "csamtools.pyx", line 597, in csamtools.Samfile.__cinit__ (pysam/csamtools.c:5982)
File "csamtools.pyx", line 760, in csamtools.Samfile._open (pysam/csamtools.c:7675)
ValueError: file header is empty (mode='rb') - is it SAM/BAM format?
Are those headers critical for the rest of the pipeline to go on smoothly?
Roman;
There appears to be something wrong with the initial output file from alignment. For the automated tests, can you look at the file in align/Test1/7_100326_FC6107FAAXX-sort.bam and see what it looks like? If you look further up in the log messages I'd guess that there is another error message that might have more insight into the issue.
[2013-07-22 15:40] bwa mem alignment from BAM: Test1
[2013-07-22 15:40] [main] unrecognized command 'mem'
[2013-07-22 15:40] [samopen] no @SQ lines in the header.
Changed from bwa/0.6.2 to bwa/0.7.4 and back on track :)
Hi @chapmanb, @roryk,
I'm setting the pipeline in our HPC cluster, using the test data as input files:
But pysam is not very happy about the header(s) of the test bam file:
Are those headers critical for the rest of the pipeline to go on smoothly?
Cheers!
Roman
@guillermo-carrasco
The text was updated successfully, but these errors were encountered: