Ejemplo n.º 1
0
    def test_lower_case_primary_returns_true(self):
        tag = Tag.from_str("tp:A:p")
        record = PafRecord(strand=Strand.Forward, tags={tag.tag: tag})

        assert record.is_primary()
Ejemplo n.º 2
0
    def test_unmapped_record(self):
        record = PafRecord()

        assert not record.is_primary()