gravatar for SheelS

3 hours ago by

Asia

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?



Source link