In [1]:
from pydna.all import *
In [2]:
p567,p577,p468,p467,p568,p578,p775,p778,p167,p166 = parse("yeast_pahtway_kit_standard_primers.txt")
In [3]:
from Bio.Restriction import ZraI, AjiI, EcoRV
In [4]:
pYPK0 =read("pYPK0.gb")
In [5]:
promoter_clone = pYPKa_Z_TDH3 =read("pYPKa_Z_TDH3.gb")
Genbank record
In [6]:
# NBVAL_IGNORE_OUTPUT
from IPython.display import IFrame
IFrame('http://google.com/patents/EP0450430A2?cl=es', width='100%', height=250)
Out[6]:
In [7]:
gb =Genbank("bjornjobbb@gmail.com")
gene_template = gb.nucleotide("A16166.1")
In [8]:
gene_template.list_features()
Out[8]:
In [9]:
orf = gene_template.extract_feature(1)
In [10]:
print(orf.seq)
In [11]:
orf.isorf()
Out[11]:
In [12]:
print(len(orf))
orf.seguid()
Out[12]:
In [13]:
print(str(orf.seq.translate()))
In [14]:
pf, pr =parse('''>XDH_YPK_rec_fwd
gtcgaggaacgccaggttgcccactttctcactagtgaAAATGACTGCTAACCCTTCCTTGGTG
>XDH_YPK_rec_rev
ATTTAAatcctgatgcgtttgtctgcacagatggcgcgTTACTCAGGGCCGTCAATGAGACA''')
In [15]:
g =pcr( pf, pr, orf)
In [16]:
g.figure()
Out[16]:
In [17]:
terminator_clone = pYPKa_E_PGI1 =read("pYPKa_E_PGI1.gb")
In [18]:
p =pcr( p167, p567, promoter_clone)
t =pcr( p568, p166, terminator_clone)
In [19]:
pYPK0_E_Z, stuffer = pYPK0.cut((EcoRV, ZraI))
In [20]:
(pYPK0_E_Z, p, g, t)
Out[20]:
In [21]:
asm =Assembly((pYPK0_E_Z, p, g, t), limit=31)
In [22]:
asm
Out[22]:
In [23]:
candidate = asm.assemble_circular()[0]
candidate.figure()
Out[23]:
In [24]:
pYPK0_TDH3_PsXYL2_PGI1 = candidate.synced(pYPK0)
The pYPK0_TDH3_PsXYL2_PGI1 has cseguid ycHQ8EOwqQihZOUFmIbCiwHhMZ0
and 8015 bp
In [25]:
print(len(pYPK0_TDH3_PsXYL2_PGI1))
pYPK0_TDH3_PsXYL2_PGI1.cseguid()
Out[25]:
In [26]:
pYPK0_TDH3_PsXYL2_PGI1.name="pMEC1128"
#pYPK0_TDH3_PsXYL2_PGI1.description = "pYPK0_TDH3_PsXYL2_PGI1tp"
pYPK0_TDH3_PsXYL2_PGI1.stamp()
Out[26]:
In [27]:
pYPK0_TDH3_PsXYL2_PGI1.write("pYPK0_TDH3_PsXYL2_PGI1.gb")
In [28]:
reloaded =read("pYPK0_TDH3_PsXYL2_PGI1.gb")
In [29]:
reloaded.cseguid()
Out[29]:
In [30]:
reloaded.description
Out[30]:
In [31]: