Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/p/y/python-dna-0.1.2/pydna/dsdna.py   python-dna(Download)
        assert set([b.features[0].extract(b).seq.tostring(), b.features[1].extract(b).seq.tostring()]) == set(["CGGGAAAG", "GTACCTTTGGATC"])
 
    from Bio.Restriction import Acc65I,KpnI, BamHI
 
    bb1, ins1 = sorted(s.cut(Acc65I, BamHI), key=len, reverse=True)

src/p/y/pydna-0.6.1/tests/tests_dsdna.py   pydna(Download)
    def test_Dseqrecord_cutting_circular(self):
 
        from Bio.Restriction import BsaI, KpnI, Acc65I
 
        test = "aaaaaaGGTACCggtctcaaaa"
                           'AATTGTGTNCCATGGNCCATGGNCGCCTATAG'[::-1], 4)),)
 
        from Bio.Restriction import KpnI, Acc65I, NlaIV
 
        enzymes = [Acc65I, NlaIV, KpnI]
        #from pydna import *
        #from pydna_helper import gb, ape
        from Bio.Restriction import KpnI, BamHI, Acc65I, NlaIV, EcoRI, EcoRV
 
        a=read('''
    def test_cut_around_and_religate(self):
 
        from Bio.Restriction import KpnI, BamHI, Acc65I
 
        def cut_and_religate_Dseq(seq_string, enz, top):
            self.assertTrue( [f.extract(b).seq.tostring() for f in b.features if f.qualifiers["label"][0]=='bb'][0] == "CGGGAAAG" )
 
        from Bio.Restriction import Acc65I,KpnI, BamHI
 
        bb1, ins1 = sorted(s.cut(Acc65I, BamHI), key=len, reverse=True)

src/p/y/python-dna-0.1.2/tests/tests_dsdna.py   python-dna(Download)
    def test_Drecord_cutting_circular(self):
 
        from Bio.Restriction import BsaI, KpnI, Acc65I
 
        test = "aaaaaaGGTACCggtctcaaaa"
                           'AATTGTGTNCCATGGNCCATGGNCGCCTATAG'[::-1], 4)),)
 
        from Bio.Restriction import KpnI, Acc65I, NlaIV
 
        enzymes = [Acc65I, NlaIV, KpnI]
        #from pydna import *
        from pydna_helper import gb, ape
        from Bio.Restriction import KpnI, BamHI, Acc65I, NlaIV, EcoRI, EcoRV
 
        a=read('''
    def test_cut_around_and_religate(self):
 
        from Bio.Restriction import KpnI, BamHI, Acc65I
 
        def cut_and_religate_Dseq(seq_string, enz, top):