Concept

Transcription

Creating the coding and the template DNA strands :

coding_dna = Seq("ATGAGCCGCTGAAAGGGTGCCCGATAG") template_dna = coding_dna.reverse_complement() print(coding_dna) print(template_dna)

Transcribing the coding strand into the mRNA strand (by replacing T with U) :

messengar_rna = coding_dna.transcribe() print(messengar_rna)

You can also transcribe by starting with the template strand :

print(template_dna.reverse_complement().transcribe())

When printed out, the result will be:

ATGAGCCGCTGAAAGGGTGCCCGATAG CTATCGGGCACCCTTTCAGCGGCTCAT AUGAGCCGCUGAAAGGGUGCCCGAUAG AUGAGCCGCUGAAAGGGUGCCCGAUAG

0

1

Updated 2021-08-03

Tags

Python Programming Language

Data Science

Related