Author: bugman
Date: Wed Jan 21 15:59:28 2015
New Revision: 27261
URL: http://svn.gna.org/viewcvs/relax?rev=27261&view=rev
Log:
Fix for the Needleman-Wunsch sequence alignment algorithm when the substitution
matrix is absent.
Modified:
trunk/lib/sequence_alignment/needleman_wunsch.py
Modified: trunk/lib/sequence_alignment/needleman_wunsch.py
URL:
http://svn.gna.org/viewcvs/relax/trunk/lib/sequence_alignment/needleman_wunsch.py?rev=27261&r1=27260&r2=27261&view=diff
==============================================================================
--- trunk/lib/sequence_alignment/needleman_wunsch.py (original)
+++ trunk/lib/sequence_alignment/needleman_wunsch.py Wed Jan 21 15:59:28 2015
@@ -28,7 +28,7 @@
# Default scores.
SCORE_MATCH = 1
SCORE_MISMATCH = -1
-SCORE_GAP_PENALTY = -1
+SCORE_GAP_PENALTY = 1
SCORES = zeros(3, int16)
# Indices.
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits