View Single Post
Old 09-26-2013, 10:06 PM   #3
Jeremy
Senior Member
 
Location: Pathum Thani, Thailand

Join Date: Nov 2009
Posts: 190
Default

Heres another way: R

Code:
library(seqinr)
read.fasta("fastafile.fa")->fa
write.fasta(fa,names=paste(getName(fa),1:5,sep="_"),file.out="fa_new_name.fa")
where you swap '1:5' with '1:n', n being the number of sequences you have.
Jeremy is offline   Reply With Quote