Did I find the right examples for you? yes no

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

src/p/y/pycogent-HEAD/tests/test_core/test_core_standalone.py   pycogent(Download)
        # alignment with gaps
        aln = LoadSeqs(data=dna, moltype=DNA)
        aln_rc = aln.rc()
        self.assertEqual(aln_rc.todict(), dna_rc)
        # check collection, with gaps
        coll = LoadSeqs(data=dna, moltype=DNA, aligned=False)
        coll_rc = coll.rc()
                    'seq3': 'GGCTACGT'}
        coll = LoadSeqs(data=dna, moltype=DNA, aligned=False)
        coll_rc = coll.rc()
        self.assertEqual(coll_rc.todict(), dna_rc)
 
    def test_reversecomplement_with_ambig(self):
        """correctly reverse complement with ambiguous bases"""
        n = LoadSeqs(data=[['x', '?-???AA'], ['y', '-T----T']], moltype=DNA)
        rc = n.rc()

src/c/o/cogent-1.5.3/tests/test_core/test_core_standalone.py   cogent(Download)
        # alignment with gaps
        aln = LoadSeqs(data=dna, moltype=DNA)
        aln_rc = aln.rc()
        self.assertEqual(aln_rc.todict(), dna_rc)
        # check collection, with gaps
        coll = LoadSeqs(data=dna, moltype=DNA, aligned=False)
        coll_rc = coll.rc()
                    'seq3': 'GGCTACGT'}
        coll = LoadSeqs(data=dna, moltype=DNA, aligned=False)
        coll_rc = coll.rc()
        self.assertEqual(coll_rc.todict(), dna_rc)
 
    def test_reversecomplement_with_ambig(self):
        """correctly reverse complement with ambiguous bases"""
        n = LoadSeqs(data=[['x', '?-???AA'], ['y', '-T----T']], moltype=DNA)
        rc = n.rc()