Problem occurs when -G and -B is specified:
Traceback (most recent call last):
File "/home/sstrohbuecker/.local/bin/DCC", line 9, in
load_entry_point('DCC==0.4.4', 'console_scripts', 'DCC')()
File "build/bdist.linux-x86_64/egg/DCC/main.py", line 408, in main
File "build/bdist.linux-x86_64/egg/DCC/main.py", line 675, in checkBAMsorting
File "pysam/libcalignmentfile.pyx", line 351, in pysam.libcalignmentfile.AlignmentFile.cinit (pysam/libcalignmentfile.c:5200)
File "pysam/libcalignmentfile.pyx", line 584, in pysam.libcalignmentfile.AlignmentFile._open (pysam/libcalignmentfile.c:7797)
ValueError: file has no sequences defined (mode='rb') - is it SAM/BAM format? Consider opening with check_sq=False
Problem occurs when -G and -B is specified:
Traceback (most recent call last):
File "/home/sstrohbuecker/.local/bin/DCC", line 9, in
load_entry_point('DCC==0.4.4', 'console_scripts', 'DCC')()
File "build/bdist.linux-x86_64/egg/DCC/main.py", line 408, in main
File "build/bdist.linux-x86_64/egg/DCC/main.py", line 675, in checkBAMsorting
File "pysam/libcalignmentfile.pyx", line 351, in pysam.libcalignmentfile.AlignmentFile.cinit (pysam/libcalignmentfile.c:5200)
File "pysam/libcalignmentfile.pyx", line 584, in pysam.libcalignmentfile.AlignmentFile._open (pysam/libcalignmentfile.c:7797)
ValueError: file has no sequences defined (mode='rb') - is it SAM/BAM format? Consider opening with check_sq=False