I want to add a special character "/1" to eacf of fasta header (at the end of fasta header) in a 8.5 GB fasta file. I used following command;
perl -p -e 's/^(>.*)$/$1-New_Header_info/g' input.fasta > output.fasta
This code is ok when we put any character in place of "New_Header_info", unfortunately when I typing "/1", i could not get the result.
Is there any solution for this ?
Thanks for all reply,