Closed plijnzaad closed 4 years ago
Just in case you get different behaviour, here is my stderr output of the above incantation.
(BTW, the setup this time is with python 3.6; pysam 0.15.3; cython 0.29.14 )
quick note: @CO is the only legal header line that is nearly completely free form. Just one tab is required, there are no internal tags like all the other header lines, I guess this trips up SAMParser::add_header()
Ah yes, I see. Nice catch. Will be fixed in the next alpha release going out today.
The fix is in 2.0.0-alpha.5, along with the fix for #97. Please test it out. Thanks
Thanks, yes, this works. Writing bam (see issue #95 ) still does not work, do you have an idea when this might become available? Cheers, Philip
Side note: when using bamnostic, atropos still crashes on input bam files containing @CO
header lines; see issue #95
With the latest version (see PR #94) I get a
AttributeError: 'str' object has no attribute 'items'
if the bam file that contains a
@CO
header line. To reproduce, run the following commands on this file: TM433_trunc.bam.pdf which is not a PDF file, but github doesn't allow bam files