Home | Trees | Indices | Help |
|
---|
|
|
|||
| __init__(self, outFolder='.', verbose=1) | ||
[str]
|
get_lines(self,
aln_file=None) Retrieve the lines from an aln file |
||
int
|
search_length(self,
string_lines) This function returns the length an alignment in the file 'final.pir_aln' |
||
dict
|
get_aln_sequences(self,
string_lines,
aln_length) Create a dictionary with the name of the target (i.e 'target') and sequence from the final output from T-Coffee (final.pir_aln). |
||
dict
|
get_aln_templates(self,
string_lines,
aln_dict,
aln_length) Add information about the name of the template sequences and the sequence that is aligned to the template. |
||
dict
|
identities(self,
aln_dictionary) Create a dictionary that contains information about all the alignments in the aln_dictionar using pairwise comparisons. |
||
|
__writeId(self,
name,
dic,
key,
description) Write an sequence identity matrix to file. |
||
|
output_identities(self,
aln_dictionary,
identities_file=None,
identities_info_file=None,
identities_cov_file=None) Writes three files to disk with identity info about the current multiple alignment. |
||
|
go(self,
output_folder=None) Perform sequence comparison. |
|
|||
|
F_INPUT_FOLDER = '/t_coffee'
|
||
|
F_INPUT_ALNS = F_INPUT_FOLDER+ '/final.pir_aln'
|
||
|
F_OUTPUT_IDENTITIES = '/identities.out'
|
||
|
F_OUTPUT_IDENTITIES_INF = '/identities_info.out'
|
||
|
F_OUTPUT_IDENTITIES_COV = '/identities_cov.out'
|
|
|
Retrieve the lines from an aln file
|
This function returns the length an alignment in the file 'final.pir_aln'
|
Create a dictionary with the name of the target (i.e 'target') and sequence from the final output from T-Coffee (final.pir_aln).
|
Add information about the name of the template sequences and the sequence that is aligned to the template. Data taken from the T-Coffee alignment (final.pir_aln).
|
Create a dictionary that contains information about all the alignments in the aln_dictionar using pairwise comparisons.
|
Write an sequence identity matrix to file.
|
Writes three files to disk with identity info about the current multiple alignment.
|
Perform sequence comparison.
|
|
F_INPUT_FOLDER
|
F_INPUT_ALNS
|
F_OUTPUT_IDENTITIES
|
F_OUTPUT_IDENTITIES_INF
|
F_OUTPUT_IDENTITIES_COV
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Fri Dec 22 20:11:43 2006 | http://epydoc.sourceforge.net |