Alphabetizing fasta sequence
Hi everyone,
Can someone suggest a method to sort a fasta file by alphabetical order of the sequence (not the defline)?
Any advice will be appreciated.
• 3,997 views
•
link
3 answers
Using the BBMap package:
shuffle.sh in=file.fasta out=sorted.fasta sequence
• 0 views
•
link
seqkit sort --quiet -s -i <fasta file>
i is ignore case s is sort by sequence
• 0 views
•
link
Log in to answer this question.
Do you have a multi-line or single line fasta?
Thank you all!
Stacy
it it answer your question, please choose a green mark on the left to close this thead.