Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
21 | 2 | 0 | 1.000 | file_input_element_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 20 | 218 | Bio/SeqUtils/__init__.py |
2 | 21 | 24 | Scripts/xbbtools/nextorf.py |
| ||||
class ProteinX(Alphabet.ProteinAlphabet): letters = IUPACData.extended_protein_letters+"X" proteinX = ProteinX( ) class MissingTable: def __init__(self,table): self._table = table def get(self,codon,stop_symbol): try : return self._table.get(codon,stop_symbol) except CodonTable.TranslationError: return "X" def makeTableX(table): assert table.protein_alphabet==IUPAC.extended_protein return CodonTable.CodonTable(table.nucleotide_alphabet,proteinX,MissingTable(table.forward_table),table.back_table,table.start_codons,table.stop_codons) # end of hacks |
| ||||
class ProteinX(Alphabet.ProteinAlphabet): letters = IUPACData.extended_protein_letters+"X" proteinX = ProteinX( ) class MissingTable: def __init__(self,table): self._table = table def get(self,codon,stop_symbol): try : return self._table.get(codon,stop_symbol) except CodonTable.TranslationError: return "X" # Make the codon table given an existing table def makeTableX(table): assert table.protein_alphabet==IUPAC.extended_protein return CodonTable.CodonTable(table.nucleotide_alphabet,proteinX,MissingTable(table.forward_table),table.back_table,table.start_codons,table.stop_codons) |
| |||
class ProteinX(Alphabet.ProteinAlphabet): letters = IUPACData.extended_protein_letters+"X" proteinX = ProteinX( ) class MissingTable: def __init__(self,table): self._table = table def get(self,codon,stop_symbol): try : return self._table.get(codon,stop_symbol) except CodonTable.TranslationError: return "X" # Make the codon table given an existing table def makeTableX(table): assert table.protein_alphabet==IUPAC.extended_protein return CodonTable.CodonTable(table.nucleotide_alphabet,proteinX,MissingTable(table.forward_table),table.back_table,table.start_codons,table.stop_codons) # end of hacks |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |