Difference between revisions of "Workflow homology modelling glucocerebrosidase"
From Bioinformatikpedia
(→Preparation of the Alignment File) |
(→MODELLER) |
||
Line 19: | Line 19: | ||
=== Modelling of the Target Structure === |
=== Modelling of the Target Structure === |
||
# Run the following Python script with command '<code>mod9.9 model.py</code>' to model the structure of the target sequence: |
# Run the following Python script with command '<code>mod9.9 model.py</code>' to model the structure of the target sequence: |
||
+ | #: Note that all files (alignment- and structure file) must be in the same folder |
||
<code> |
<code> |
||
from modeller.automodel import * <br/> |
from modeller.automodel import * <br/> |
||
Line 24: | Line 25: | ||
env = environ()<br/> |
env = environ()<br/> |
||
env.io.atom_files_directory = ''<br/> |
env.io.atom_files_directory = ''<br/> |
||
− | a = automodel (env, alnfile = ' |
+ | a = automodel (env, alnfile = 'target_template.ali', knowns = 'template', sequence = 'target')<br/> |
a.starting_model = 1<br/> |
a.starting_model = 1<br/> |
||
a.ending_model = 1<br/> |
a.ending_model = 1<br/> |
Revision as of 09:05, 10 June 2011
MODELLER
Preparation of the Alignment File
- Save target protein sequence in PIR-format: target.pir
- Save PDB-file of template sequence: template:pdb
- If PDB-file consists of several chains: split pdb file with the help of splitpdb (note that minor changes are needed, so that ATOM coordinates get listed in the resulting PDB-file instead of HETATOMS).
- Run the following Python script with command '
mod9.9 align.py
' to create a target-template alignment in PIR-format:
log.verbose()
env = environ()
aln = alignment(env)
mdl= model(env, file='template')
aln.append_model(mdl, align_codes='template')
aln.append(file='target.pir', align_codes=('target'))
aln.align(gap_penalties_1d=(-600,-400))
aln.write(file='target_template.ali', alignment_format='PIR')
aln.write(file='target_template.pap', alignment_format='PAP')
Modelling of the Target Structure
- Run the following Python script with command '
mod9.9 model.py
' to model the structure of the target sequence:- Note that all files (alignment- and structure file) must be in the same folder
from modeller.automodel import *
log.verbose()
env = environ()
env.io.atom_files_directory =
a = automodel (env, alnfile = 'target_template.ali', knowns = 'template', sequence = 'target')
a.starting_model = 1
a.ending_model = 1
a.make()