Thanks, Scrutinizer.
Might to know how to correct Syntax error issue again?
If I run it as a long awk command at terminal.
It will return Syntax error etc.
If I copy and paste the whole command to a file called "run.sh" and execute it as "sh run.sh".
It will still return some Syntax error
Sorry and thanks for your guide and advice.
---------- Post updated at 06:28 AM ---------- Previous update was at 06:25 AM ----------
Hi Scrutinizer,
File 1 is a one line long record Fasta file (Include a first line of header description and second line is its corresponding nucleotide sequence).
File 2 is a file got 3 column (Tab-delimited).
First column is the header description (without ">") of File 1;
Second column is the word to replace in File 1;
Third column is position of word to replace in File 1;
Basically it is still same as my original question.
Just I forget to mention that my file 2 is a tab-delimited file
Sorry for confusing.
I just edited my thread to clarify it.
---------- Post updated at 06:29 AM ---------- Previous update was at 06:28 AM ----------
My main objective is hope to replace all specific word in File 1 based on the record provided in File 2 (specific position and replace with new word based on File 2).