View Single Post
Old 09-26-2013, 11:33 PM   #9
Kennels
Senior Member
 
Location: Sydney

Join Date: Feb 2011
Posts: 149
Default

try this

Code:
paste - - < input.fa | awk ' { print $1"_"NR"\n"$2 } ' > output.fa
make sure to have spaces between the hyphens for 'paste'
Kennels is offline   Reply With Quote