|
def | successful_ambiguous_failed_split (self, translations_dict) |
| Splits a mixed translations dict into successful translations dict, ambiguous translations dict, and a list with the identifiers for which translation failed. More...
|
|
|
def | summary (self) |
| Prints a summary of the translation results. More...
|
|
|
def | __str__ (self) |
| Returns a string representing the contents of the translation object. More...
|
|
Class containing the translations resulting from use of SBL::SBL_Genetrank_gene_to_protein::Genetrank_GeneProteinTranslator Class containing the translations resulting from use of SBL::SBL_Genetrank_gene_to_protein::Genetrank_GeneProteinTranslator as dictionaries with source identifiers as keys and translations as items, split in successful translations, ambiguous translations, and failed translations.
◆ __init__()
def __init__ |
( |
|
self, |
|
|
|
translations_dict |
|
) |
| |
◆ __str__()
Returns a string representing the contents of the translation object.
◆ get_successful()
def get_successful |
( |
|
self | ) |
|
Returns the successful translations.
◆ successful_ambiguous_failed_split()
def successful_ambiguous_failed_split |
( |
|
self, |
|
|
|
translations_dict |
|
) |
| |
Splits a mixed translations dict into successful translations dict, ambiguous translations dict, and a list with the identifiers for which translation failed.
◆ summary()
Prints a summary of the translation results.