python: translate DNA sequences to protien sequences
1
0
Entering edit mode
8.2 years ago
Am.A ▴ 20

Hi

Is there a python script that translate a multi-fasta file that contains DNA sequences to amino acid sequences and save the results in a file.

sequencing • 9.5k views
ADD COMMENT
1
Entering edit mode

Did you try to write something?

ADD REPLY
0
Entering edit mode

They are plenty of examples online:

Python Script To Translate Rna Sequences To Protein Sequences

They could be used with a little bit of work on the format of the input.

ADD REPLY
0
Entering edit mode

Whatever script you choose, be sure you use the correct codon table

https://www.ncbi.nlm.nih.gov/Taxonomy/Utils/wprintgc.cgi

ADD REPLY
1
Entering edit mode
8.2 years ago
luzswrld ▴ 10

Maybe in the Biopython tutorial you can find an answer in Chapter 3.9 Translation: http://biopython.org/DIST/docs/tutorial/Tutorial.html#htoc25

ADD COMMENT

Login before adding your answer.

Traffic: 2499 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6