This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Simply Translation DNA to protein without ORF prediction

Several translation tools are available to convert DNA to protein with ORF prediction, and from -1, -2, -3 to 1, 2, 3 frame.

But my question is, are there any command-line-based tools (e.g. shell script or python) to make translate DNA to protein, simply starting from first nucleotide to the last nucleotide with nothing to predict?

For example,

$ python3 translation.tool.py -i input.fasta -o out.fasta  
$ cat input.fasta
>seq1 
CTG GCC TTA CTT 
>seq2 
CAA CGG
$ cat output.fasta
>seq1 
LALL
>seq2 
QR

Any good tools to share, please?

translation

You can do this quite easily with e.g. biopython, but you'll need to be able to specify a translation table.

0 answers

No answers yet.

Log in to answer this question.