Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
17 | 2 | 2 | 0.976 | compound_stmt |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 1032 | Bio/Seq.py |
2 | 17 | 1050 | Bio/Seq.py |
| ||||
def transcribe(self): """Returns unknown RNA sequence from an unknown DNA sequence. >>> my_dna = UnknownSeq(10, character="N") >>> my_dna UnknownSeq(10, alphabet = Alphabet(), character = 'N') >>> print my_dna NNNNNNNNNN >>> my_rna = my_dna.transcribe() >>> my_rna UnknownSeq(10, alphabet = RNAAlphabet(), character = 'N') >>> print my_rna NNNNNNNNNN """ #Offload the alphabet stuff s = Seq(self._character,self.alphabet) .transcribe( ) return UnknownSeq(self._length,s.alphabet,self._character) |
| ||||
def back_transcribe(self): """Returns unknown DNA sequence from an unknown RNA sequence. >>> my_rna = UnknownSeq(20, character="N") >>> my_rna UnknownSeq(20, alphabet = Alphabet(), character = 'N') >>> print my_rna NNNNNNNNNNNNNNNNNNNN >>> my_dna = my_rna.back_transcribe() >>> my_dna UnknownSeq(20, alphabet = DNAAlphabet(), character = 'N') >>> print my_dna NNNNNNNNNNNNNNNNNNNN """ #Offload the alphabet stuff s = Seq(self._character,self.alphabet) .back_transcribe( ) return UnknownSeq(self._length,s.alphabet,self._character) |
| |||
def [[#variable5044c7c0]](self): [[#variable5044c880]] #Offload the alphabet stuff s = Seq(self._character,self.alphabet). [[#variable5044c7c0]]( ) return UnknownSeq(self._length,s.alphabet,self._character) |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5044c7c0]] | back_transcribe |
1 | 2 | [[#5044c7c0]] | transcribe |
2 | 1 | [[#5044c880]] | """Returns unknown DNA sequence from an unknown RNA sequence. >>> my_rna = UnknownSeq(20, character="N") >>> my_rna UnknownSeq(20, alphabet = Alphabet(), character = 'N') >>> print my_rna NNNNNNNNNNNNNNNNNNNN >>> my_dna = my_rna.back_transcribe() >>> my_dna UnknownSeq(20, alphabet = DNAAlphabet(), character = 'N') >>> print my_dna NNNNNNNNNNNNNNNNNNNN """ |
2 | 2 | [[#5044c880]] | """Returns unknown RNA sequence from an unknown DNA sequence. >>> my_dna = UnknownSeq(10, character="N") >>> my_dna UnknownSeq(10, alphabet = Alphabet(), character = 'N') >>> print my_dna NNNNNNNNNN >>> my_rna = my_dna.transcribe() >>> my_rna UnknownSeq(10, alphabet = RNAAlphabet(), character = 'N') >>> print my_rna NNNNNNNNNN """ |