Aligning several sequences with EMBOSS water program
1
0
Entering edit mode
9.9 years ago
dolevrahat ▴ 40

Hello

I am trying to use EMBOSS water program to align several sequences stored in one fasta file to a sequence in another file. I'm NOT taking about multiple sequence alignment, I just want to align each sequence in the first file to the single sequence in the second file.

my first file looks like that:

>cel-let-7-3p MIMAT0015091 Caenorhabditis elegans let-7-3p
CUAUGCAAUUUUCUACCUUACC
>cel-lin-4-5p MIMAT0000002 Caenorhabditis elegans lin-4-5p
UCCCUGAGACCUCAAGUGUGA
>cel-lin-4-3p MIMAT0015092 Caenorhabditis elegans lin-4-3p
ACACCUGGGCUCUCCGGGUACC

Water's documentation states that 'water reads a nucleotide or protein sequence and one or more sequence to be aligned to it. ' So I suppose what I want to do should be possible.

However, when I Insert the sequences to water, only the first sequence is aligned. I tried this with different sequences occupying the first position in the file so I know it's not because there are no alignments for the other sequences. Water just seems to ignore them.

I know this is possibly a stupid question, but I have no idea how to solve this and would appreciate your help

Thanks in advance

Dolev Rahat

alignment emboss • 3.8k views
ADD COMMENT
1
Entering edit mode

do you want to create a number of pairwise alignments or a single multiple sequence alignment?

ADD REPLY
0
Entering edit mode

OP wants to have a bunch of pairwise alignments with each member of the query set {A..Z} being aligned to a single subject.

ADD REPLY
2
Entering edit mode
9.9 years ago
Ram 44k

From the documentation online, it's clear that EMBOSS water aligns two sequences using the Smith Waterman algorithm. Your approach should be:

  1. Save the single sequence that you wanna compare all queries to in a file called "single_seq.fa" in the current working directory
  2. Split each query into a separate file, put them all into a sub-directory "queries" in the current working directory
  3. For each query_file in the directory ./queries, run emboss water aligning the query_file to the single_seq.fa file (you'll need stand-alone EMBOSS, not the web version for this)
ADD COMMENT
0
Entering edit mode

I thought I might be able to avoid running multiple sessions of water. But coming to think of it it's not such a big deal anyways. Thank you for your answer

ADD REPLY
0
Entering edit mode

You're most welcome. Standalone versions of tools exist so they can solve a problem in its atomic form and give you the power to fashion your own solution with the lego blocks they offer. Seldom are solutions we need tailored to our exact requirements :(

ADD REPLY

Login before adding your answer.

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