Java for MSA to compare two sequences from different files
1
0
Entering edit mode
8.5 years ago

Hi everybody

I have two MSA files 1 and 2. Each file contains 10 sequences from 1 to 10.

I'd like to compare sequence 1 (file 1) with sequence 1 (file 2), sequence 1 (file 1) with sequence 2 (file 2), sequence 1 (file 1) with sequence 3 (file 2)..........., sequence 1 (file 1) with sequence 10 (file 2).

then, the same for sequence 2 (file 1),.................., sequence 10 (file 1).

The same for sequences of the file 2.

Is there any java package that can do that job?

Thanks

sequence • 1.8k views
ADD COMMENT
0
Entering edit mode

What do you mean by "compare"?

And are these amino acids or nucleotides?

ADD REPLY
0
Entering edit mode

These are nucleotide sequences and I want to compare them but as matrix

ADD REPLY
0
Entering edit mode

pair alignment

ADD REPLY
0
Entering edit mode

nucleic acid sorry

ADD REPLY
1
Entering edit mode
8.5 years ago

The BBMap package has a program called "idmatrix" that will generate the all-to-all identity values for a single fasta file:

idmatrix.txt in=file.fasta out=matrix.txt

The input has to be a normal fasta file, though, not a msa file with gaps ("-") mixed in with the bases.

ADD COMMENT
0
Entering edit mode

Thank you very much

ADD REPLY

Login before adding your answer.

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