Fork me on GitHub"

# skbio.sequence.DNA.transcribe

DNA.transcribe()

  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:

    Transcribed sequence.

  Return type:

    RNA

  See also

  `translate`, `translate_six_frames`

  Notes

  DNA sequence’s metadata, positional, and interval 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 definites: True
          GC-content: 25.00%
      --------------------------
      0 TAACGTTA
      >>> dna.transcribe()
      RNA
      --------------------------
      Stats:
          length: 8
          has gaps: False
          has degenerates: False
          has definites: True
          GC-content: 25.00%
      --------------------------
      0 UAACGUUA