Thankyou very-3 much @Alex Reynolds !!!
with your code, i tried to mix both command, and guess what ... it worked !!!
awk -vfPRIMER="forwardprimer" -vrPRIMER="reverseprimer" '{if ($0~/^>/) { print $0; } else { print fPRIMER$0rPRIMER; }}' in.fasta > out.fasta
• 0 views
•
link
This is a follow-up question for: A: Fasta file edition
Tagging: Alex Reynolds
yes... i tried to post on there... but may be,,because it was solved... it didnot catch attention.... ... thus i had to post as a new post