Author: bugman
Date: Thu Jan 22 16:01:39 2015
New Revision: 27266

URL: http://svn.gna.org/viewcvs/relax?rev=27266&view=rev
Log:
Added a DNA similarity matrix to lib.sequence_alignment.substitution_matrices.


Modified:
    trunk/lib/sequence_alignment/substitution_matrices.py

Modified: trunk/lib/sequence_alignment/substitution_matrices.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/lib/sequence_alignment/substitution_matrices.py?rev=27266&r1=27265&r2=27266&view=diff
==============================================================================
--- trunk/lib/sequence_alignment/substitution_matrices.py       (original)
+++ trunk/lib/sequence_alignment/substitution_matrices.py       Thu Jan 22 
16:01:39 2015
@@ -25,6 +25,14 @@
 # Python module imports.
 from numpy import array, int16
 
+
+SIMILARITY_DNA_SEQ = 'AGCT'
+SIMILARITY_DNA = array([
+    [ 1, -1, -1, -1],
+    [-1,  1, -1, -1],
+    [-1, -1,  1, -1],
+    [-1, -1, -1,  1]
+], int16)
 
 BLOSUM62_SEQ = 'ARNDCQEGHILKMFPSTWYVBZX*'
 BLOSUM62 = array([


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
relax-commits@gna.org

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

Reply via email to