📄 upam.h
字号:
/* Concurrent read version *//* 20-June-1986 universal pam file *//* $Name: fa35_03_06 $ - $Id: upam.h,v 1.23 2008/01/25 13:04:30 wrp Exp $ *//* modified to accomodate both lower and upper case amino acid numbers as a result MAXSQ = 50*/#ifndef UPAM_GBL_DEF#define UPAM_GBL_DEF#define EOSEQ 0#define MAXSQ 52#define MAXUC 25#define MAXLC 50#define MAXHASH 32#define NMAP MAXHASH+1#ifndef XTERNALint pamoff=0;/*extern int gdelval, ggapval;*//* char sqnam[]="aa"; *//* char sqtype[]="protein"; */char aa[MAXSQ+1] = {"\0ARNDCQEGHILKMFPSTWYVBZX*JARNDCQEGHILKMFPSTWYVBZX*J\0"};char aax[MAXSQ+1] = {"\0ARNDCQEGHILKMFPSTWYVBZX*Jarndcqeghilkmfpstwyvbzx*j\0"};char othx[MAXSQ+1] = {"\0OUou\0"};int nothx = 5;int naa = 25; /* this should be calculated from aa[] */int naax = 50;/* haa[] used to map all valid amino acid codes into a hash value; now, there is an additional hash value - not-mapped - NM *//* this has been expanded to accomodate '*' */int haa[MAXSQ+1] = { NMAP,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,3,7,NMAP,NMAP,10, 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,3,7,NMAP,NMAP,10};int haax[MAXSQ+1] = { NMAP, 1,2,3,4,5,6,7,8,9, 10,11,12,13,14,15,16,17,18,19, 20,3,7,NMAP,NMAP,10,NMAP,NMAP,NMAP,NMAP, NMAP,NMAP,NMAP,NMAP,NMAP,NMAP,NMAP,NMAP,NMAP,NMAP, NMAP,NMAP,NMAP,NMAP,NMAP,NMAP,NMAP,NMAP,NMAP,NMAP, NMAP};/* PAM 250 substitution matrix, scale = ln(2)/3 = 0.231049 Expected score = -0.844, Entropy = 0.354 bits Lowest score = -8, Highest score = 17*/int apam250[450] = { 2,-2, 6, 0, 0, 2, 0,-1, 2, 4,-2,-4,-4,-5,12, 0, 1, 1, 2,-5, 4, 0,-1, 1, 3,-5, 2, 4, 1,-3, 0, 1,-3,-1, 0, 5,-1, 2, 2, 1,-3, 3, 1,-2, 6,-1,-2,-2,-2,-2,-2,-2,-3,-2, 5,-2,-3,-3,-4,-6,-2,-3,-4,-2, 2, 6,-1, 3, 1, 0,-5, 1, 0,-2, 0,-2,-3, 5,-1, 0,-2,-3,-5,-1,-2,-3,-2, 2, 4, 0, 6,-4,-4,-4,-6,-4,-5,-5,-5,-2, 1, 2,-5, 0, 9, 1, 0,-1,-1,-3, 0,-1,-1, 0,-2,-3,-1,-2,-5, 6, 1, 0, 1, 0, 0,-1, 0, 1,-1,-1,-3, 0,-2,-3, 1, 2, 1,-1, 0, 0,-2,-1, 0, 0,-1, 0,-2, 0,-1,-3, 0, 1, 3,-6, 2,-4,-7,-8,-5,-7,-7,-3,-5,-2,-3,-4, 0,-6,-2,-5,17,-3,-4,-2,-4, 0,-4,-4,-5, 0,-1,-1,-4,-2, 7,-5,-3,-3, 0,10, 0,-2,-2,-2,-2,-2,-2,-1,-2, 4, 2,-2, 2,-1,-1,-1, 0,-6,-2, 4, 0,-1, 2, 3,-4, 1, 2, 0, 1,-2,-3, 1,-2,-5,-1, 0, 0,-5,-3,-2, 2, 0, 0, 1, 3,-5, 3, 3,-1, 2,-2,-3, 0,-2,-5, 0, 0,-1,-6,-4,-2, 2, 3, 0,-1, 0,-1,-3,-1,-1,-1,-1,-1,-1,-1,-1,-2,-1, 0, 0,-4,-2,-1,-1,-1,-1, 0,-1, 0,-1,-3,-1,-1,-1,-1,-1,-1,-1,-1,-2,-1, 0, 0,-4,-2,-1,-1,-1,-1, 8};/* This matrix was produced by "pam" Version 1.0.6 [28-Jul-93] PAM 120 substitution matrix, scale = ln(2)/2 = 0.346574 Expected score = -1.64, Entropy = 0.979 bits Lowest score = -8, Highest score = 12*/int apam120[450] = { 3, -3, 6, 0,-1, 4, 0,-3, 2, 5, -3,-4,-5,-7, 9, -1, 1, 0, 1,-7, 6, 0,-3, 1, 3,-7, 2, 5, 1,-4, 0, 0,-5,-3,-1, 5, -3, 1, 2, 0,-4, 3,-1,-4, 7, -1,-2,-2,-3,-3,-3,-3,-4,-4, 6, -3,-4,-4,-5,-7,-2,-4,-5,-3, 1, 5, -2, 2, 1,-1,-7, 0,-1,-3,-2,-2,-4, 5, -2,-1,-3,-4,-6,-1,-4,-4,-4, 1, 3, 0, 8, -4,-4,-4,-7,-6,-6,-6,-5,-2, 0, 0,-6,-1, 8, 1,-1,-2,-2,-3, 0,-1,-2,-1,-3,-3,-2,-3,-5, 6, 1,-1, 1, 0,-1,-2,-1, 1,-2,-2,-4,-1,-2,-3, 1, 3, 1,-2, 0,-1,-3,-2,-2,-1,-3, 0,-3,-1,-1,-4,-1, 2, 4, -7, 1,-5,-8,-8,-6,-8,-8,-5,-7,-5,-5,-7,-1,-7,-2,-6, 12, -4,-6,-2,-5,-1,-5,-4,-6,-1,-2,-3,-6,-4, 4,-6,-3,-3,-1, 8, 0,-3,-3,-3,-2,-3,-3,-2,-3, 3, 1,-4, 1,-3,-2,-2, 0,-8,-3, 5, 0,-2, 3, 4,-6, 0, 3, 0, 1,-3,-4, 0,-4,-5,-2, 0, 0,-6,-3,-3, 4, -1,-1, 0, 3,-7, 4, 4,-2, 1,-3,-3,-1,-2,-6,-1,-1,-2,-7,-5,-3, 2, 4, -1,-2,-1,-2,-4,-1,-1,-2,-2,-1,-2,-2,-2,-3,-2,-1,-1,-5,-3,-1,-1,-1,-2, -1,-2,-1,-2,-4,-1,-1,-2,-2,-1,-2,-2,-2,-3,-2,-1,-1,-5,-3,-1,-1,-1,-2, 6};/*# VTML160## This matrix was produced with scripts written by# Tobias Mueller and Sven Rahmann [June-2001]. ## VTML160 substitution matrix, Units = Third-Bits# Expected Score = -1.297840 Third-Bits# Lowest Score = -7, Highest Score = 16## Entropy H = 0.562489 Bits## 30-Jun-2001 */int avt160[450] = { 5, -2, 7, -1, 0, 7, -1,-3, 3, 7, 1,-3,-3,-5,13, -1, 2, 0, 1,-4, 6, -1,-1, 0, 3,-5, 2, 6, 0,-3, 0,-1,-2,-3,-2, 8, -2, 1, 1, 0,-2, 2,-1,-3, 9, -1,-4,-4,-6,-1,-4,-5,-7,-4, 6, -2,-3,-4,-6,-4,-2,-4,-6,-3, 3, 6, -1, 4, 0, 0,-4, 2, 1,-2, 0,-4,-3, 5, -1,-2,-3,-5,-1,-1,-3,-5,-3, 2, 4,-2, 8, -3,-5,-5,-7,-4,-4,-6,-6, 0, 0, 2,-5, 1, 9, 0,-2,-2,-1,-3,-1,-1,-3,-2,-4,-3,-1,-4,-5, 9, 1,-1, 1, 0, 1, 0, 0, 0,-1,-3,-3,-1,-3,-3, 0, 4, 1,-1, 0,-1, 0,-1,-1,-2,-1,-1,-2,-1,-1,-3,-1, 2, 5, -5,-4,-5,-7,-7,-6,-7,-5,-1,-2,-1,-5,-4, 3,-5,-4,-6,16, -3,-3,-2,-5,-1,-4,-3,-5, 3,-2,-1,-3,-2, 6,-6,-2,-3, 4,10, 0,-4,-4,-4, 1,-3,-3,-5,-3, 4, 2,-3, 1,-1,-3,-2, 0,-5,-3, 5, -1,-2, 5, 6,-4, 0, 2,-1, 0,-5,-5, 0,-4,-6,-2, 1, 0,-6,-3,-4, 5, -1, 0, 0, 3,-5, 4, 5,-2, 0,-4,-3, 2,-3,-5,-1, 0,-1,-7,-4,-3, 2, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -7,-7,-7,-7,-7,-7,-7,-7,-7,-7,-7,-7,-7,-7,-7,-7,-7,-7,-7,-7,-7,-7,-7, 6};/* Matrix made by matblas from blosum50.iij BLOSUM Clustered Scoring Matrix in 1/3 Bit Units Blocks Database = /data/blocks_5.0/blocks.dat Cluster Percentage: >= 50 Entropy = 0.4808, Expected = -0.3573*//* A R N D C Q E G H I L K M F P S T W Y V B Z X * */int abl50[450] = { 5, -2, 7, -1,-1, 7, -2,-2, 2, 8, -1,-4,-2,-4,13, -1, 1, 0, 0,-3, 7, -1, 0, 0, 2,-3, 2, 6, 0,-3, 0,-1,-3,-2,-3, 8, -2, 0, 1,-1,-3, 1, 0,-2,10, -1,-4,-3,-4,-2,-3,-4,-4,-4, 5, -2,-3,-4,-4,-2,-2,-3,-4,-3, 2, 5, -1, 3, 0,-1,-3, 2, 1,-2, 0,-3,-3, 6, -1,-2,-2,-4,-2, 0,-2,-3,-1, 2, 3,-2, 7, -3,-3,-4,-5,-2,-4,-3,-4,-1, 0, 1,-4, 0, 8, -1,-3,-2,-1,-4,-1,-1,-2,-2,-3,-4,-1,-3,-4,10, 1,-1, 1, 0,-1, 0,-1, 0,-1,-3,-3, 0,-2,-3,-1, 5, 0,-1, 0,-1,-1,-1,-1,-2,-2,-1,-1,-1,-1,-2,-1, 2, 5, -3,-3,-4,-5,-5,-1,-3,-3,-3,-3,-2,-3,-1, 1,-4,-4,-3,15, -2,-1,-2,-3,-3,-1,-2,-3, 2,-1,-1,-2, 0, 4,-3,-2,-2, 2, 8, 0,-3,-3,-4,-1,-3,-3,-4,-4, 4, 1,-3, 1,-1,-3,-2, 0,-3,-1, 5, -2,-1, 4, 5,-3, 0, 1,-1, 0,-4,-4, 0,-3,-4,-2, 0, 0,-5,-3,-4, 5, -1, 0, 0, 1,-3, 4, 5,-2, 0,-3,-3, 1,-1,-4,-1, 0,-1,-2,-2,-3, 2, 5, -1,-1,-1,-1,-2,-1,-1,-2,-1,-1,-1,-1,-1,-2,-2,-1, 0,-3,-1,-1,-1,-1,-1, -1,-1,-1,-1,-2,-1,-1,-2,-1,-1,-1,-1,-1,-2,-2,-1, 0,-3,-1,-1,-1,-1,-1, 7};/* A R N D C Q E G H I L K M F P S T W Y V B Z X * */int a_md10[450]= { 11, /* A */-12, 12, /* R */-12,-13, 13, /* N */-11,-18, -3, 12, /* D */-13,-10,-14,-20, 17, /* C */-13, -5,-11,-13,-19, 13, /* Q */-10,-15,-12, -2,-22, -5, 12, /* E */ -8, -9,-11, -9,-12,-16, -9, 11, /* G */-16, -5, -5,-10,-12, -3,-15,-16, 16, /* H */-13,-17,-14,-19,-17,-20,-19,-21,-18, 12, /* I */-15,-14,-19,-21,-16,-12,-20,-21,-13, -7, 10, /* L */-14, -2, -6,-15,-21, -6, -8,-15,-13,-17,-18, 12, /* K */-13,-14,-15,-18,-15,-14,-18,-19,-15, -4, -4,-12, 16, /* M */-18,-22,-19,-22,-11,-22,-23,-22,-14,-11, -6,-23,-14, 14, /* F */ -7,-12,-17,-18,-18, -8,-17,-16,-10,-19,-10,-16,-17,-17, 13, /* P */ -5,-10, -4,-12, -7,-13,-15, -7,-11,-14,-13,-13,-15,-11, -6, 11, /* S */ -4,-12, -7,-14,-14,-13,-15,-14,-13, -7,-16,-10, -7,-19, -9, -4, 12, /* T */-21, -9,-21,-21,-10,-17,-21,-13,-21,-21,-13,-21,-17,-13,-21,-15,-18, 18, /* W */-20,-17,-12,-13, -7,-16,-21,-20, -3,-15,-16,-20,-17, -3,-20,-12,-17,-12, 15, /* Y */ -6,-17,-17,-15,-12,-17,-14,-13,-19, -1, -8,-18, -5,-12,-16,-14,-10,-16,-18, 11, /* V */-12,-15, 5, 5,-17,-12, -7,-10, -7,-16,-20,-11,-17,-21,-17, -8,-10,-22,-13,-16, 13, /* B */-16,-18,-17, -8,-32, 1, 9,-17,-17,-29,-26,-11,-24,-34,-21,-21,-21,-29,-29,-22, -9, 13, /* Z */ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 9};int a_md20[450] = { 10,-10, 12, -9,-10, 13, -8,-14, -1, 12,-10, -7,-11,-16, 17,-10, -3, -8, -9,-16, 13, -7,-11, -9, 1,-19, -3, 11, -5, -6, -8, -6, -9,-12, -7, 11,-12, -3, -2, -7, -9, 0,-12,-13, 15,-10,-14,-11,-16,-14,-16,-16,-17,-14, 12,-12,-11,-15,-18,-13, -9,-17,-18,-10, -4, 10,-11, 0, -4,-12,-17, -3, -5,-12, -9,-14,-15, 12, -9,-11,-12,-15,-12,-11,-15,-16,-12, -1, -2, -9, 15,-15,-19,-16,-19, -8,-18,-20,-19,-11, -8, -4,-19,-10, 13, -5, -9,-13,-15,-14, -5,-14,-12, -7,-15, -7,-13,-14,-14, 12, -2, -8, -1, -9, -4,-10,-12, -5, -8,-11,-10,-10,-12, -8, -3, 10, -1, -9, -4,-11,-10,-10,-12,-11,-10, -4,-12, -7, -4,-15, -7, -1, 11,-17, -6,-18,-18, -7,-14,-18,-10,-17,-17,-10,-17,-14,-10,-18,-12,-15, 18,-16,-14, -9,-11, -4,-12,-18,-17, 0,-12,-12,-17,-14, 0,-16, -9,-13, -9, 14, -3,-14,-14,-12, -9,-14,-11,-11,-15, 2, -5,-15, -2, -9,-13,-11, -7,-13,-14, 11, -9,-12, 6, 6,-14, -9, -4, -7, -4,-13,-17, -8,-13,-18,-14, -5, -7,-19,-10,-13, 12,-12,-13,-13, -4,-27, 4, 10,-13,-12,-24,-21, -6,-20,-29,-17,-17,-17,-24,-24,-18, -6, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 9 };int a_md40[450] = { 9, -7, 11, -6, -6, 12, -6,-10, 1, 11, -7, -5, -8,-13, 16, -7, 0, -5, -6,-12, 12, -5, -8, -5, 3,-15, 0, 11, -3, -4, -5, -4, -7, -9, -4, 10,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -