Gbp-Pq: Name skip_test_needing_missing_data.patch
'example_empty_header.bam'))
self.assertEqual(s.header.to_dict(), {'SQ': [{'LN': 1000, 'SN': 'chr1'}]})
- def test_bam_without_seq_in_header(self):
- s = pysam.AlignmentFile(os.path.join(BAM_DATADIR, "example_no_seq_in_header.bam"))
- self.assertTrue("SQ" in s.header.to_dict())
- self.assertTrue("@SQ" in str(s.header))
-
class TestHeaderWithProgramOptions(unittest.TestCase):
'''see issue 39.'''
explicit_index.bam explicit_index.cram \
faidx_empty_seq.fq.gz \
ex1.fa.gz ex1.fa.gz.csi \
- ex1_csi.bam \
- example_reverse_complement.bam
+ ex1_csi.bam
# ex2.sam - as ex1.sam, but with header
ex2.sam.gz: ex1.bam ex1.bam.bai