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

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

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/scripts/YEp24PGK_XK/YEp24PGK_XK.py   pydna(Download)
# coding: utf-8
 
from pydna import read, parse, pcr, sync, Genbank
from Bio.Restriction import BglII, BamHI
 

src/p/y/python-dna-0.1.2/scripts/YEp24PGK_XK/YEp24PGK_XK.py   python-dna(Download)
# coding: utf-8
 
from pydna import read, parse, pcr, sync, Genbank
from Bio.Restriction import BglII, BamHI
 

src/p/y/pydna-0.6.1/tests/tests_dsdna.py   pydna(Download)
    def test_Dseq_cutting_adding(self):
 
        from Bio.Seq import Seq
        from Bio.Restriction import BamHI,EcoRI, PstI, EcoRV, SmaI
        from Bio.Alphabet.IUPAC import IUPACAmbiguousDNA
        #from pydna import *
        #from pydna_helper import gb, ape
        from Bio.Restriction import KpnI, BamHI, Acc65I, NlaIV, EcoRI, EcoRV
 
        a=read('''
    def test_Dseq_slicing(self):
        from Bio.Restriction import BamHI
        a=Dseq("ggatcc","ggatcc",0)
 
        self.assertEqual( a[:].watson, a.watson )
    def test_Dseq_slicing2(self):
 
        from Bio.Restriction import BamHI, EcoRI, KpnI
 
        a = Dseq("aaGGATCCnnnnnnnnnGAATTCccc", circular=True)
    def test_cut_around_and_religate(self):
 
        from Bio.Restriction import KpnI, BamHI, Acc65I
 
        def cut_and_religate_Dseq(seq_string, enz, top):

src/p/y/pydna-0.6.1/tests/tests_assemble_YEp24PGK_XK.py   pydna(Download)
        PCR_prod = pydna.pcr(p1, p3, XKS1)
 
        from Bio.Restriction import BamHI
 
        stuffer1, insert, stuffer2 = PCR_prod.cut(BamHI)

src/p/y/python-dna-0.1.2/tests/tests_dsdna.py   python-dna(Download)
    def test_Dseq_cutting_adding(self):
 
        from Bio.Seq import Seq
        from Bio.Restriction import BamHI,EcoRI, PstI, EcoRV, SmaI
        from Bio.Alphabet.IUPAC import IUPACAmbiguousDNA
        #from pydna import *
        from pydna_helper import gb, ape
        from Bio.Restriction import KpnI, BamHI, Acc65I, NlaIV, EcoRI, EcoRV
 
        a=read('''
    def test_Dseq_slicing(self):
        from Bio.Restriction import BamHI
        a=Dseq("ggatcc","ggatcc",0)
 
        self.assertEqual( a[:].watson, a.watson )
    def test_Dseq_slicing2(self):
 
        from Bio.Restriction import BamHI, EcoRI, KpnI
 
        a = Dseq("aaGGATCCnnnnnnnnnGAATTCccc", circular=True)
    def test_cut_around_and_religate(self):
 
        from Bio.Restriction import KpnI, BamHI, Acc65I
 
        def cut_and_religate_Dseq(seq_string, enz, top):

src/p/y/python-dna-0.1.2/tests/tests_assemble_YEp24PGK_XK.py   python-dna(Download)
        PCR_prod = pydna.pcr(p1 ,p3 ,XKS1)
 
        from Bio.Restriction import BamHI
 
        stuffer1, insert, stuffer2 = PCR_prod.cut(BamHI)