Question about seqkit sort function
0
0
Entering edit mode
4 weeks ago
FJCF • 0

Hi everyone, I need to use seqkit sort option to sort a multifasta file by its sequences name. I've been using seqkit sort -N multifasta.fa. However, I've noticed that this command adds a separator between the sequences (--). Anyone knows why is this happening and how to avoid it?

Thanks in advance!

fasta multifasta seqkit • 306 views
ADD COMMENT
1
Entering edit mode

I just tested this but I don't see the separator being added. In fact if I add separators manually they are appended to the end of the sequence they follow, like so

GTTTTGGAGGAAAAAAAATACAAGTAGCATTTACAACAGCTCTTTGCTCTTTAAATTTCT
TACCATTCAATAAAGTGATCCAGTCACTCACATTTGAACTGA------------------
-------------
ADD REPLY
0
Entering edit mode

-- between sequences should be there before using seqkit sort, which just changes the order rather than the content.

You can check it by searching sequences with -.

seqkit grep -s -r -p -- multifasta.fasta
ADD REPLY

Login before adding your answer.

Traffic: 1846 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6