sm_blosum45.c
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:5k
- /*
- * ===========================================================================
- * PRODUCTION $Log: sm_blosum45.c,v $
- * PRODUCTION Revision 1000.0 2003/10/29 16:03:59 gouriano
- * PRODUCTION PRODUCTION: IMPORTED [ORIGINAL] Dev-tree R1.1
- * PRODUCTION
- * ===========================================================================
- */
- /* $Id: sm_blosum45.c,v 1000.0 2003/10/29 16:03:59 gouriano Exp $
- * ===========================================================================
- *
- * PUBLIC DOMAIN NOTICE
- * National Center for Biotechnology Information
- *
- * This software/database is a "United States Government Work" under the
- * terms of the United States Copyright Act. It was written as part of
- * the author's official duties as a United States Government employee and
- * thus cannot be copyrighted. This software/database is freely available
- * to the public for use. The National Library of Medicine and the U.S.
- * Government have not placed any restriction on its use or reproduction.
- *
- * Although all reasonable efforts have been taken to ensure the accuracy
- * and reliability of the software and data, the NLM and the U.S.
- * Government do not and cannot warrant the performance or results that
- * may be obtained by using this software or data. The NLM and the U.S.
- * Government disclaim all warranties, express or implied, including
- * warranties of performance, merchantability or fitness for any particular
- * purpose.
- *
- * Please cite the author in any work or product based on this material.
- *
- * ===========================================================================
- *
- * Author: Aaron Ucko (via ./convert_scoremat.pl)
- *
- * File Description:
- * Protein alignment score matrices; shared between the two toolkits.
- *
- * ===========================================================================
- */
- #include <util/tables/raw_scoremat.h>
- /* Matrix made by matblas from blosum45.iij */
- /* * column uses minimum score */
- /* BLOSUM Clustered Scoring Matrix in 1/3 Bit Units */
- /* Blocks Database = /data/blocks_5.0/blocks.dat */
- /* Cluster Percentage: >= 45 */
- /* Entropy = 0.3795, Expected = -0.2789 */
- static const TNCBIScore s_Blosum45PSM[24][24] = {
- /* A, R, N, D, C, Q, E, G, H, I, L, K,
- M, F, P, S, T, W, Y, V, B, Z, X, * */
- /*A*/ { 5, -2, -1, -2, -1, -1, -1, 0, -2, -1, -1, -1,
- -1, -2, -1, 1, 0, -2, -2, 0, -1, -1, 0, -5 },
- /*R*/ { -2, 7, 0, -1, -3, 1, 0, -2, 0, -3, -2, 3,
- -1, -2, -2, -1, -1, -2, -1, -2, -1, 0, -1, -5 },
- /*N*/ { -1, 0, 6, 2, -2, 0, 0, 0, 1, -2, -3, 0,
- -2, -2, -2, 1, 0, -4, -2, -3, 4, 0, -1, -5 },
- /*D*/ { -2, -1, 2, 7, -3, 0, 2, -1, 0, -4, -3, 0,
- -3, -4, -1, 0, -1, -4, -2, -3, 5, 1, -1, -5 },
- /*C*/ { -1, -3, -2, -3, 12, -3, -3, -3, -3, -3, -2, -3,
- -2, -2, -4, -1, -1, -5, -3, -1, -2, -3, -2, -5 },
- /*Q*/ { -1, 1, 0, 0, -3, 6, 2, -2, 1, -2, -2, 1,
- 0, -4, -1, 0, -1, -2, -1, -3, 0, 4, -1, -5 },
- /*E*/ { -1, 0, 0, 2, -3, 2, 6, -2, 0, -3, -2, 1,
- -2, -3, 0, 0, -1, -3, -2, -3, 1, 4, -1, -5 },
- /*G*/ { 0, -2, 0, -1, -3, -2, -2, 7, -2, -4, -3, -2,
- -2, -3, -2, 0, -2, -2, -3, -3, -1, -2, -1, -5 },
- /*H*/ { -2, 0, 1, 0, -3, 1, 0, -2, 10, -3, -2, -1,
- 0, -2, -2, -1, -2, -3, 2, -3, 0, 0, -1, -5 },
- /*I*/ { -1, -3, -2, -4, -3, -2, -3, -4, -3, 5, 2, -3,
- 2, 0, -2, -2, -1, -2, 0, 3, -3, -3, -1, -5 },
- /*L*/ { -1, -2, -3, -3, -2, -2, -2, -3, -2, 2, 5, -3,
- 2, 1, -3, -3, -1, -2, 0, 1, -3, -2, -1, -5 },
- /*K*/ { -1, 3, 0, 0, -3, 1, 1, -2, -1, -3, -3, 5,
- -1, -3, -1, -1, -1, -2, -1, -2, 0, 1, -1, -5 },
- /*M*/ { -1, -1, -2, -3, -2, 0, -2, -2, 0, 2, 2, -1,
- 6, 0, -2, -2, -1, -2, 0, 1, -2, -1, -1, -5 },
- /*F*/ { -2, -2, -2, -4, -2, -4, -3, -3, -2, 0, 1, -3,
- 0, 8, -3, -2, -1, 1, 3, 0, -3, -3, -1, -5 },
- /*P*/ { -1, -2, -2, -1, -4, -1, 0, -2, -2, -2, -3, -1,
- -2, -3, 9, -1, -1, -3, -3, -3, -2, -1, -1, -5 },
- /*S*/ { 1, -1, 1, 0, -1, 0, 0, 0, -1, -2, -3, -1,
- -2, -2, -1, 4, 2, -4, -2, -1, 0, 0, 0, -5 },
- /*T*/ { 0, -1, 0, -1, -1, -1, -1, -2, -2, -1, -1, -1,
- -1, -1, -1, 2, 5, -3, -1, 0, 0, -1, 0, -5 },
- /*W*/ { -2, -2, -4, -4, -5, -2, -3, -2, -3, -2, -2, -2,
- -2, 1, -3, -4, -3, 15, 3, -3, -4, -2, -2, -5 },
- /*Y*/ { -2, -1, -2, -2, -3, -1, -2, -3, 2, 0, 0, -1,
- 0, 3, -3, -2, -1, 3, 8, -1, -2, -2, -1, -5 },
- /*V*/ { 0, -2, -3, -3, -1, -3, -3, -3, -3, 3, 1, -2,
- 1, 0, -3, -1, 0, -3, -1, 5, -3, -3, -1, -5 },
- /*B*/ { -1, -1, 4, 5, -2, 0, 1, -1, 0, -3, -3, 0,
- -2, -3, -2, 0, 0, -4, -2, -3, 4, 2, -1, -5 },
- /*Z*/ { -1, 0, 0, 1, -3, 4, 4, -2, 0, -3, -2, 1,
- -1, -3, -1, 0, -1, -2, -2, -3, 2, 4, -1, -5 },
- /*X*/ { 0, -1, -1, -1, -2, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 0, 0, -2, -1, -1, -1, -1, -1, -5 },
- /***/ { -5, -5, -5, -5, -5, -5, -5, -5, -5, -5, -5, -5,
- -5, -5, -5, -5, -5, -5, -5, -5, -5, -5, -5, 1 }
- };
- const SNCBIPackedScoreMatrix NCBISM_Blosum45 = {
- "ARNDCQEGHILKMFPSTWYVBZX*",
- s_Blosum45PSM[0],
- -5
- };