Entering edit mode
4.6 years ago
stambukf
▴
10
Hi everyone.
I want to order a fasta file where i have 35000 sequences with different length in nucleotides. But i don't know how to do it.
Examples:
>contig_1
AAATCGAAACTAGACCATAGC
>contig_2
AAAAAACGTACAGAC
>contig_3
TTTTCGACAAACGAAAACGATTAGCCCAGAC
i want to ordering like this (from shorter to larger length):
>contig_1
AAAAAACGTACAGAC
>contig_2
AAATCGAAACTAGACCATAGC
>contig_3
TTTTCGACAAACGAAAACGATTAGCCCAGAC
I already red another post how to rearrange fasta file according to its length and there is a script but i think that is bad because doesn't run when a ran it.
Please help.
You can also use SEDA. The Sort operation (under Choose operation / Reformatting) allows you to order by sequence length.