[Biojava-l] Global Sequence Alignment

"Andreas Dräger" duze at gmx.de
Tue Aug 30 10:56:02 EDT 2005


Hello,

I just implemented the Needleman-Wunsch-Algorithm and an object for handling
substitution matrices like BLOSSUM, PAM, GONNET and so on. It parses a
matrix file and provides a method to get the costs for changing Symbol A to
Symbol B. This is realized by two hashes and a private int[][] matrix.
If NeedlemanWunsch gets equal weights for gap opening and gap extension it
won't consider affine gap penalties, whereas otherwise it will, which needs
three times more memory. 
It would also be good to have a kind of interface to create multiple
different implementations of pairwise sequence alignment algorithms which
could be used easily then. I also attached an Interface for that purpose.
The NeedlemanWunsch already implements. The HMM algorithm from the cookbook
also implements this interface with only little effort of changes.

Andreas Dräger 


-- 
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NeedlemanWunsch.java
Type: text/x-java
Size: 14813 bytes
Desc: not available
Url : http://portal.open-bio.org/pipermail/biojava-l/attachments/20050830/a950dbc4/NeedlemanWunsch-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SubstitutionMatrix.java
Type: text/x-java
Size: 12573 bytes
Desc: not available
Url : http://portal.open-bio.org/pipermail/biojava-l/attachments/20050830/a950dbc4/SubstitutionMatrix-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SequenceAlignment.java
Type: text/x-java
Size: 2289 bytes
Desc: not available
Url : http://portal.open-bio.org/pipermail/biojava-l/attachments/20050830/a950dbc4/SequenceAlignment-0001.bin


More information about the Biojava-l mailing list