Is there any tool for doing this -- change the order of sequences in a FASTA file according to the order of a list of sequence IDs in another file?
Seaview will reorder sequences based on sequence order in a tree, but that is very specific case. I'd like something more general.
I know I could make a db of the FASTA set and use something like a batch NCBI blastdbcmd to extract the sequences in the order I want, but I'm hoping something less time consuming exists.
Seaview will reorder sequences based on sequence order in a tree, but that is very specific case. I'd like something more general.
I know I could make a db of the FASTA set and use something like a batch NCBI blastdbcmd to extract the sequences in the order I want, but I'm hoping something less time consuming exists.
Comment