Entering edit mode
2.1 years ago
ninideaninidea
•
0
I am learning how to use python and I need to get the RNA sequence from the DNA sequences of a Multi-Fasta file, but when I try to do it I get the same error.
Here is my code:
from Bio import SeqIO
for seq_record in SeqIO.parse("gene.fna", "fasta"):
print(seq_record.transcribe())
The error:
AttributeError: 'SeqRecord' object has no attribute 'transcribe'
Any help would be greatly appreciated.
Thanks a lot, it worked