Protein sequence to Nucleotide sequence

Protein sequence to Nucleotide sequence

2

Hello All,

I have file1 with protein sequence and another file with its respective decoded nucl codon sequence, is there any one liner which looks for aa single letter in file2 – change the protein sequence to the nucleotide sequence and save it as a file 3.

For eg:

File1.fasta

MFLILLISLPTAFAVIGDLKCTTVSINDVDTGVPSIST…………………

File2.txt (tab file)

M ATG

F TTT

.. …

Expected output

file3.fasta

ATGTTTTGATACTTT………………..


linux


awk


codon


sed


perl

• 36 views

Read more here: Source link