DNA.
transcribe
()[source]¶Transcribe DNA into RNA.
State: Stable as of 0.4.0.
DNA sequence is assumed to be the coding strand. Thymine (T) is replaced with uracil (U) in the transcribed sequence.
Returns: | RNA
|
---|
See also
Notes
DNA sequence’s metadata and positional metadata are included in the transcribed RNA sequence.
Examples
Transcribe DNA into RNA:
>>> from skbio import DNA
>>> dna = DNA('TAACGTTA')
>>> dna
DNA
-----------------------------
Stats:
length: 8
has gaps: False
has degenerates: False
has non-degenerates: True
GC-content: 25.00%
-----------------------------
0 TAACGTTA
>>> dna.transcribe()
RNA
-----------------------------
Stats:
length: 8
has gaps: False
has degenerates: False
has non-degenerates: True
GC-content: 25.00%
-----------------------------
0 UAACGUUA