NCBI C++ ToolKit
sm_blosum50.c
Go to the documentation of this file.

Go to the SVN repository for this file.

1 /* $Id: sm_blosum50.c 30269 2006-09-25 19:31:51Z madden $
2 * ===========================================================================
3 *
4 * PUBLIC DOMAIN NOTICE
5 * National Center for Biotechnology Information
6 *
7 * This software/database is a "United States Government Work" under the
8 * terms of the United States Copyright Act. It was written as part of
9 * the author's official duties as a United States Government employee and
10 * thus cannot be copyrighted. This software/database is freely available
11 * to the public for use. The National Library of Medicine and the U.S.
12 * Government have not placed any restriction on its use or reproduction.
13 *
14 * Although all reasonable efforts have been taken to ensure the accuracy
15 * and reliability of the software and data, the NLM and the U.S.
16 * Government do not and cannot warrant the performance or results that
17 * may be obtained by using this software or data. The NLM and the U.S.
18 * Government disclaim all warranties, express or implied, including
19 * warranties of performance, merchantability or fitness for any particular
20 * purpose.
21 *
22 * Please cite the author in any work or product based on this material.
23 *
24 * ===========================================================================
25 *
26 * Author: Aaron Ucko, Mike Gertz
27 *
28 * File Description:
29 * Protein alignment score matrices; shared between the two toolkits.
30 *
31 * ===========================================================================
32 */
33 
35 
36 /** Entries for the BLOSUM50 matrix at a scale of ln(2)/3.0. */
37 
38 static const TNCBIScore s_Blosum50PSM[25 * 25] = {
39  /* A, R, N, D, C, Q, E, G, H, I, L, K, M,
40  F, P, S, T, W, Y, V, B, J, Z, X, * */
41  /*A*/ 5, -2, -1, -2, -1, -1, -1, 0, -2, -1, -2, -1, -1,
42  -3, -1, 1, 0, -3, -2, 0, -2, -2, -1, -1, -5,
43  /*R*/ -2, 7, -1, -2, -4, 1, 0, -3, 0, -4, -3, 3, -2,
44  -3, -3, -1, -1, -3, -1, -3, -1, -3, 0, -1, -5,
45  /*N*/ -1, -1, 7, 2, -2, 0, 0, 0, 1, -3, -4, 0, -2,
46  -4, -2, 1, 0, -4, -2, -3, 5, -4, 0, -1, -5,
47  /*D*/ -2, -2, 2, 8, -4, 0, 2, -1, -1, -4, -4, -1, -4,
48  -5, -1, 0, -1, -5, -3, -4, 6, -4, 1, -1, -5,
49  /*C*/ -1, -4, -2, -4, 13, -3, -3, -3, -3, -2, -2, -3, -2,
50  -2, -4, -1, -1, -5, -3, -1, -3, -2, -3, -1, -5,
51  /*Q*/ -1, 1, 0, 0, -3, 7, 2, -2, 1, -3, -2, 2, 0,
52  -4, -1, 0, -1, -1, -1, -3, 0, -3, 4, -1, -5,
53  /*E*/ -1, 0, 0, 2, -3, 2, 6, -3, 0, -4, -3, 1, -2,
54  -3, -1, -1, -1, -3, -2, -3, 1, -3, 5, -1, -5,
55  /*G*/ 0, -3, 0, -1, -3, -2, -3, 8, -2, -4, -4, -2, -3,
56  -4, -2, 0, -2, -3, -3, -4, -1, -4, -2, -1, -5,
57  /*H*/ -2, 0, 1, -1, -3, 1, 0, -2, 10, -4, -3, 0, -1,
58  -1, -2, -1, -2, -3, 2, -4, 0, -3, 0, -1, -5,
59  /*I*/ -1, -4, -3, -4, -2, -3, -4, -4, -4, 5, 2, -3, 2,
60  0, -3, -3, -1, -3, -1, 4, -4, 4, -3, -1, -5,
61  /*L*/ -2, -3, -4, -4, -2, -2, -3, -4, -3, 2, 5, -3, 3,
62  1, -4, -3, -1, -2, -1, 1, -4, 4, -3, -1, -5,
63  /*K*/ -1, 3, 0, -1, -3, 2, 1, -2, 0, -3, -3, 6, -2,
64  -4, -1, 0, -1, -3, -2, -3, 0, -3, 1, -1, -5,
65  /*M*/ -1, -2, -2, -4, -2, 0, -2, -3, -1, 2, 3, -2, 7,
66  0, -3, -2, -1, -1, 0, 1, -3, 2, -1, -1, -5,
67  /*F*/ -3, -3, -4, -5, -2, -4, -3, -4, -1, 0, 1, -4, 0,
68  8, -4, -3, -2, 1, 4, -1, -4, 1, -4, -1, -5,
69  /*P*/ -1, -3, -2, -1, -4, -1, -1, -2, -2, -3, -4, -1, -3,
70  -4, 10, -1, -1, -4, -3, -3, -2, -3, -1, -1, -5,
71  /*S*/ 1, -1, 1, 0, -1, 0, -1, 0, -1, -3, -3, 0, -2,
72  -3, -1, 5, 2, -4, -2, -2, 0, -3, 0, -1, -5,
73  /*T*/ 0, -1, 0, -1, -1, -1, -1, -2, -2, -1, -1, -1, -1,
74  -2, -1, 2, 5, -3, -2, 0, 0, -1, -1, -1, -5,
75  /*W*/ -3, -3, -4, -5, -5, -1, -3, -3, -3, -3, -2, -3, -1,
76  1, -4, -4, -3, 15, 2, -3, -5, -2, -2, -1, -5,
77  /*Y*/ -2, -1, -2, -3, -3, -1, -2, -3, 2, -1, -1, -2, 0,
78  4, -3, -2, -2, 2, 8, -1, -3, -1, -2, -1, -5,
79  /*V*/ 0, -3, -3, -4, -1, -3, -3, -4, -4, 4, 1, -3, 1,
80  -1, -3, -2, 0, -3, -1, 5, -3, 2, -3, -1, -5,
81  /*B*/ -2, -1, 5, 6, -3, 0, 1, -1, 0, -4, -4, 0, -3,
82  -4, -2, 0, 0, -5, -3, -3, 6, -4, 1, -1, -5,
83  /*J*/ -2, -3, -4, -4, -2, -3, -3, -4, -3, 4, 4, -3, 2,
84  1, -3, -3, -1, -2, -1, 2, -4, 4, -3, -1, -5,
85  /*Z*/ -1, 0, 0, 1, -3, 4, 5, -2, 0, -3, -3, 1, -1,
86  -4, -1, 0, -1, -2, -2, -3, 1, -3, 5, -1, -5,
87  /*X*/ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
88  -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -5,
89  /***/ -5, -5, -5, -5, -5, -5, -5, -5, -5, -5, -5, -5, -5,
90  -5, -5, -5, -5, -5, -5, -5, -5, -5, -5, -5, 1
91 };
93  "ARNDCQEGHILKMFPSTWYVBJZX*",
95  -5
96 };
97 
int TNCBIScore
data types
Definition: raw_scoremat.h:45
const SNCBIPackedScoreMatrix NCBISM_Blosum50
Definition: sm_blosum50.c:92
static const TNCBIScore s_Blosum50PSM[25 *25]
Entries for the BLOSUM50 matrix at a scale of ln(2)/3.0.
Definition: sm_blosum50.c:38
Modified on Tue May 21 11:00:17 2024 by modify_doxy.py rev. 669887