CloneSet400


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
17220.976compound_stmt
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1171032
Bio/Seq.py
2171050
Bio/Seq.py
Clone Instance
1
Line Count
17
Source Line
1032
Source File
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) 


Clone Instance
2
Line Count
17
Source Line
1050
Source File
Bio/Seq.py

    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) 


Clone AbstractionParameter Count: 2Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5044c7c0]]
back_transcribe 
12[[#5044c7c0]]
transcribe 
21[[#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
        """ 
22[[#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
        """