Home | Trees | Indices | Help |
|
---|
|
|
|||
| __init__(self, outFolder, log=None) | ||
|
prepareFolders(self) Check that all needed folders exist, if not create them |
||
|
logWrite(self,
msg,
force=1) Write message to log. |
||
[str]
|
cluster_result(self,
chain_index=None) Take clustering result from the file 'chain_index.txt' |
||
|
createTemplatesFolder(self,
validation_folder,
cluster) Create folders for the templates to be used for the validation. |
||
{str:str}
|
prepare_alpha(self,
cluster_list,
alpha_folder=None,
output_folder=None) Create a dictionary where the keys are template pdb codes and the value are the corresponding file names of the carbon alpha pdb files for ALIGNER (.alpha). |
||
{str:str}
|
prepare_pdb(self,
cluster_list,
pdb_folder=None,
output_folder=None) Create a dictionary which keys are templates pdb code and the value the different file names of pdb files for MODELLER |
||
|
prepare_templatesfasta(self,
cluster_list,
pdb_dictionary,
output_folder=None) Create 'templates.fasta' file for each template to validate |
||
|
link_pdb(self,
cluster_list,
pdb_dictionary,
alpha_dictionary,
output_folder=None) Create link in each template folder to the pdb files for MODELLER and for the alpha files for T-Coffee. |
||
|
prepare_target(self,
cluster,
output_folder=None) Create the 'target.fasta' file for each template to validate |
||
|
prepare_sequences(self,
cluster,
sequences_folder=None,
output_folder=None) Link the 'sequences' directory from the project directory in each template folder |
||
|
link_reference_pdb(self,
cluster,
input_folder=None,
output_file=None) Create a link in each template folder with their own known structure 'reference.pdb' |
||
|
go(self,
validation_folder=None) Greate validation directory setup. |
|
|||
|
F_RESULT_FOLDER = '/validation'
|
||
|
F_NR_FOLDER = '/sequences'
|
||
|
F_ALPHA_FOLDER = F_RESULT_FOLDER+ '/t_coffee/'
|
||
|
F_PDB_FOLDER = F_RESULT_FOLDER+ '/modeller/'
|
||
|
F_PDB_LINK = F_RESULT_FOLDER+ '/modeller/'
|
||
|
F_ALPHA_LINK = F_RESULT_FOLDER+ '/t_coffee/'
|
||
|
F_TEMPLATE_SEQUENCE = '/target.fasta'
|
||
|
F_TCOFFEE = '/t_coffee_template_files'
|
||
|
F_TEMPLATES_FASTA = '/templates.fasta'
|
||
|
F_KNOWN_STRUCTURE = '/reference.pdb'
|
|
|
Check that all needed folders exist, if not create them |
Write message to log.
|
Take clustering result from the file 'chain_index.txt'
|
Create folders for the templates to be used for the validation.
|
Create a dictionary where the keys are template pdb codes and the value are the corresponding file names of the carbon alpha pdb files for ALIGNER (.alpha).
|
Create a dictionary which keys are templates pdb code and the value the different file names of pdb files for MODELLER
|
Create 'templates.fasta' file for each template to validate
|
Create link in each template folder to the pdb files for MODELLER and for the alpha files for T-Coffee.
|
Create the 'target.fasta' file for each template to validate
|
Link the 'sequences' directory from the project directory in each template folder
|
Create a link in each template folder with their own known structure 'reference.pdb'
|
Greate validation directory setup.
|
|
F_RESULT_FOLDER
|
F_NR_FOLDER
|
F_ALPHA_FOLDER
|
F_PDB_FOLDER
|
F_PDB_LINK
|
F_ALPHA_LINK
|
F_TEMPLATE_SEQUENCE
|
F_TCOFFEE
|
F_TEMPLATES_FASTA
|
F_KNOWN_STRUCTURE
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Fri Dec 22 20:11:44 2006 | http://epydoc.sourceforge.net |