Map fasta headers based on sequence match
0
0
Entering edit mode
6.9 years ago

Hello,

I am looking for a tool to do the following: I have two fasta files with same sequence content, but the headers have been named differently by different sources.

File1:

>head1

examplesequence

>head2

anothersequence

File2: >seq1

examplesequence

>seq2

anothersequence

I need to match the sequence and map the header names. Is there a way other than BLAST ?

Thanks,

AP

fasta sequence • 1.2k views
ADD COMMENT
0
Entering edit mode

If the strings are exactly the same as you say, you can do it with simple string matching.

ADD REPLY
0
Entering edit mode

is it the very same sequence ? if so, similar questions have been asked a gazillion of times on biostars.org

ADD REPLY

Login before adding your answer.

Traffic: 2989 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