Difference between revisions of "CD task4 protocol"
From Bioinformatikpedia
(→Single template modelling) |
|||
Line 36: | Line 36: | ||
==Single template modelling== |
==Single template modelling== |
||
+ | |||
+ | from modeller import * |
||
+ | from modeller.automodel import * |
||
+ | log.verbose() |
||
+ | env = environ() |
||
+ | # env.io.atom_files_directory = ["/apps/modeller9.9/bin/examples/commands/", "/path/to/your/files/"] ## only needed in the VirtualBox |
||
+ | a = automodel(env, |
||
+ | alnfile = 'aspa_2gu2-2d.ali', |
||
+ | knowns = '2GU2A', |
||
+ | sequence = 'p45381', |
||
+ | assess_methods=(assess.DOPE, assess.GA341)) |
||
+ | a.starting_model= 1 |
||
+ | a.ending_model = 1 |
||
+ | a.make() |
Revision as of 16:16, 29 May 2012
Modeller
We modified the scripts provided in the tutorial to suit our demands.
Target
The sequence of out target Aspartoacylase saved in .pir format:
>P1;p45381 sequence:p45381:::::::0.00: 0.00 MTSCHIAEEHIQKVAIFGGTHGNELTGVFLVKHWLENGAEIQRTGLEVKPFITNPRAVKK CTRYIDCDLNRIFDLENLGKKMSEDLPYEVRRAQEINHLFGPKDSEDSYDIIFDLHNTTS NMGCTLILEDSRNNFLIQMFHYIKTSLAPLPCYVYLIEHPSLKYATTRSIAKYPVGIEVG PQPQGVLRADILDQMRKMIKHALDFIHHFNEGKEFPPCAIEVYKIIEKVDYPRDENGEIA AIIHPNLQDQDWKPLHPGDPMFLTLDGKTIPLGGDCTVYPVFVNEAAYYEKKEAFAKTTK LTLNAKSIRCCLH
Alignment
Example alignment script for creating the pairwise alignment of 2GU2 and Aspa.
from modeller import * env = environ() # env.io.atom_files_directory = ["/apps/modeller9.9/bin/examples/commands/", "/path/to/your/files/"] ## o$ aln = alignment(env) mdl = model(env, file='2GU2', model_segment=('FIRST:A', 'END:A')) aln.append_model(mdl, align_codes='2GU2', atom_files='2GU2') aln.append(file='../p45381.pir', align_codes='p45381') aln.align2d() aln.check() aln.write(file='aspa_2gu2-2d.ali', alignment_format='PIR') aln.malign() aln.check() aln.write(file='aspa_2gu2.ali', alignment_format='PIR')
Single template modelling
from modeller import * from modeller.automodel import * log.verbose() env = environ() # env.io.atom_files_directory = ["/apps/modeller9.9/bin/examples/commands/", "/path/to/your/files/"] ## only needed in the VirtualBox a = automodel(env, alnfile = 'aspa_2gu2-2d.ali', knowns = '2GU2A', sequence = 'p45381', assess_methods=(assess.DOPE, assess.GA341)) a.starting_model= 1 a.ending_model = 1 a.make()