Home | Trees | Indices | Help |
|
---|
|
>>> m = Modeller( outfolder ) >>> m.run()
|
|||
| __init__(self, outFolder='.', log=None, fasta_target=None, f_pir=None, template_folder=None, fout=None, starting_model=1, ending_model=10, verbose=0, host=None, **kw) | ||
|
prepareFolders(self) Create needed output folders if they don't exist. |
||
|
prepare(self) Create needed folders and get information needed by Modeller |
||
str
|
generateInp(self) Convert the list of template id's into a string in addition Executor.generateInp functionality.
|
||
|
logWrite(self,
msg,
force=1) Write message to log. |
||
[str]
|
get_template_ids(self) Extract names of all PDB files in a folder (without .PDB) |
||
|
get_target_id(self,
f_fasta) Extract (first) sequence id from fasta file. |
||
|
prepare_alignment(self) Convert t_coffee - generated PIR into PIR for Modeller. |
||
|
prepare_modeller(self,
fasta_target=None,
fout=None) Prepare information needed by modeller. |
||
|
finish(self) Overrides Executor method |
||
[str]
|
pdb_list(self,
model_folder) Compile a list with the names of all models created by Modeller. |
||
float
|
extract_modeller_score(self,
f_model,
model) Extract the modeller score from the models |
||
|
output_score(self,
pdb_list,
model_folder) Write a list of model scores to file F_SCORE_OUT |
||
|
update_PDB(self,
pdb_list,
cwd,
model_folder) Extract number of templates per residue position from alignment. |
||
|
update_rProfiles(self,
pdb_list) Read Modeller score from the 'temperature_factor' column and create a profile from it. |
||
|
write_PDBModels(self,
pdb_list,
model_folder=None) Dump the list of PDBModels. |
||
|
postProcess(self,
model_folder=None) Rename model PDBs to 'model_01.pdb' - 'model_xx.pdb' according to their score, create and dump a ModelList instance containing these models and info-records and profiles with the Modeller score. |
|
|||
|
MODELLER_TEMPLATE = """ # Homology modelling by the MODELLER TOP routine...
|
||
|
F_RESULT_FOLDER = '/modeller'
|
||
|
F_MOD_SCRIPT = 'modeller.top'
|
||
|
F_INPUT_FOLDER = '/modeller'
|
||
|
F_INP = F_RESULT_FOLDER+ '/'+ F_MOD_SCRIPT
|
||
|
F_PDBModels = '/PDBModels.list'
|
||
|
F_SCORE_OUT = F_RESULT_FOLDER+ '/Modeller_Score.out'
|
|
|
Create needed output folders if they don't exist. |
Create needed folders and get information needed by Modeller |
Convert the list of template id's into a string in addition
|
Write message to log.
|
Extract names of all PDB files in a folder (without .PDB)
|
Extract (first) sequence id from fasta file. Make intelligent guess if there is no exact match between target fasta and alignment file.
|
Convert t_coffee - generated PIR into PIR for Modeller. On the way all sequence ids are extracted into self.pir_ids.
|
Prepare information needed by modeller.
|
Overrides Executor method |
Compile a list with the names of all models created by Modeller.
|
Extract the modeller score from the models
|
Write a list of model scores to file F_SCORE_OUT
|
Extract number of templates per residue position from alignment. Write new PDBs with number of templates in occupancy column.
|
Read Modeller score from the 'temperature_factor' column and create a profile from it.
|
Dump the list of PDBModels.
|
Rename model PDBs to 'model_01.pdb' - 'model_xx.pdb' according to their score, create and dump a ModelList instance containing these models and info-records and profiles with the Modeller score.
|
|
MODELLER_TEMPLATE
|
F_RESULT_FOLDER
|
F_MOD_SCRIPT
|
F_INPUT_FOLDER
|
F_INP
|
F_PDBModels
|
F_SCORE_OUT
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Fri Dec 22 20:11:43 2006 | http://epydoc.sourceforge.net |