亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? clmode.cc

?? c++編寫的并行拉馬克遺傳算法的程序。實現分析對接程序
?? CC
字號:
/* clmode.cc */#ifdef sgi    #include <stdio.h>    #include <stdlib.h>    #include <string.h>    #include <ctype.h>    #include <time.h>    #include <sys/types.h>    #include <sys/times.h>    #include "clmode.h"#else    extern "C"    {        #include <stdio.h>        #include <stdlib.h>        #include <string.h>        #include <ctype.h>        #include <time.h>        #include <sys/types.h>        #include <sys/times.h>        #include "clmode.h"    }#endifextern FILE *logFile;extern char *programname;void  clmode( char  atm_typ_str[ATOM_MAPS],              int   num_atm_maps,              float clus_rms_tol,              char  hostnm[MAX_CHARS],              Clock jobStart,              struct tms tms_jobStart,              Boole B_write_all_clusmem,              char  clusFN[MAX_CHARS],              float crdpdb[MAX_ATOMS][SPACE],              float sml_center[SPACE],              Boole B_symmetry_flag,              char  rms_ref_crds[MAX_CHARS] ){    FILE *clusFile;    register int XYZ = 0;    int   anum = 0;    char  atomstuff[MAX_ATOMS][MAX_CHARS];    float crdSave[MAX_RUNS][MAX_ATOMS][SPACE];    float econf[MAX_RUNS];    float eSave[2];    Boole B_haveAtoms = FALSE;    Boole B_haveTypes = FALSE;    int   ii = 0;    int   lastanum = -1;    char  line[LINE_LEN];    int   nat = 0;    int   natom = 0;    int   natom_1 = -1;    int   nconf = 0;    int   ntype[MAX_ATOMS];    char  pdbaname[MAX_ATOMS][5];    float q = 0.;    char  rec5[5];    int   ss = 0;    char  anumStr[5];    int   type[MAX_ATOMS];    float clu_rms[MAX_RUNS][MAX_RUNS];    int   cluster[MAX_RUNS][MAX_RUNS];    register int i = 0;    register int j = 0;    int   irunmax = -1;    int   isort[MAX_RUNS];    int   ncluster = 0;    int   num_in_clu[MAX_RUNS];    float ref_crds[MAX_ATOMS][SPACE];    int   ref_natoms = -1;    float ref_rms[MAX_RUNS];    for (j = 0; j < MAX_RUNS; j++) {        num_in_clu[j] = 0;        isort[j] = j;        econf[j] = 0.;    }/***  Open file containing coordinates to be clustered...*/    if ( openFile( clusFN , "r", &clusFile, jobStart, tms_jobStart, TRUE ) ) {        pr( logFile, "Conformations to be clustered are in this file: \"%s\"\n\n", clusFN );    }/*    Read in the conformations    All we need are the xyz's of each conformation,    and their Energies, plus the Run number/parent dlg file.*/    while ( fgets( line, LINE_LEN, clusFile) != NULL ) {        pr( logFile, "INPUT-PDBQ: %s", line);        for (ii = 0; ii < 4; ii++) {             rec5[ii] = tolower( (int)line[ii] );        }        if (( strindex( line, "USER    Total Interaction Energy of Complex") >= 0 )         || ( strindex( line, "REMARK  Total Interaction Energy of Complex") >= 0 )) {/*            Read in the energy of this conformation*/            if ( B_haveAtoms ) {                econf[nconf] = 0.;                sscanf( line, "%*s %*s %*s %*s %*s %*s %*s %f", &econf[nconf]);            } else {                eSave[ss]=0.;                sscanf( line, "%*s %*s %*s %*s %*s %*s %*s %f", &eSave[ss] );                ++ss;            }        } else if (( strindex( line, "USER    Docked Energy") >= 0 )                 || ( strindex( line, "REMARK  Docked Energy") >= 0 )) {/*            Read in the energy of this conformation*/            if ( B_haveAtoms ) {                econf[nconf] = 0.;                sscanf( line, "%*s %*s %*s %*s %f", &econf[nconf]);            } else {                eSave[ss]=0.;                sscanf( line, "%*s %*s %*s %*s %f", &eSave[ss] );                ++ss;            }        } else if (equal( rec5,"atom", 4) || equal( rec5,"heta", 4)) {            readPDBQLine( line, crdSave[nconf][nat], &q );            if ( ! B_haveAtoms ) {                sscanf( &line[6], "%s", anumStr );                if ( ( anum = atoi( anumStr )) < lastanum ) {/*                    Start of next conformation,*/                    B_haveAtoms = TRUE;                    B_haveTypes = TRUE;                    ++nconf;                    for (XYZ = 0;  XYZ < SPACE;  XYZ++) {                        crdSave[nconf][0][XYZ] = crdSave[nconf-1][nat][XYZ];                     }                    econf[0] = eSave[0];                    econf[1] = eSave[1];                    natom = nat;                    natom_1 = natom-1;                    nat = 0;                } else {                    strncpy( atomstuff[nat], line, (size_t)30 );                    atomstuff[nat][30] = '\0';                    if ( ! B_haveTypes ) {                        type[nat] = -1;                        sscanf( &line[12], "%s", pdbaname[nat] );                        type[nat] = get_atom_type( pdbaname[nat], atm_typ_str );                        if ( type[nat] == -1 ) {                            pr( logFile, "\nNOTE: Atom number %d, using default atom type 1...\n\n", nat+1);                            type[nat] = 1;                        } else {                            pr( logFile, "\nAtom number %d, recognized atom type = %d...\n\n", nat+1, type[nat]+1);                        }                        ++ntype[ type[nat] ];                    }                }                lastanum = anum;            } else if ( nat == natom_1 ) {/*                Increment total number of conformations,*/                ++nconf;                nat = -1; /*  Pre-zero out the "nat" counter... */            }            ++nat;        }     } /* end while */    irunmax = nconf;    pr( logFile, "\nNumber of conformations found = %d\n", nconf );    pr( logFile, "\nNumber of atoms per conformation = %d\n\n", natom );    for (i=0; i<num_atm_maps; i++) {        pr( logFile, "Number of atoms with type %d = %d\n", i+1, ntype[i]);    }    if (strncmp(rms_ref_crds,"unspecified filename",20) != 0) {/*        Read in reference structure, specified by the "rmsref" command...*/        if ((ref_natoms = getpdbcrds( rms_ref_crds, ref_crds)) == -1) {                 fprintf( logFile, "%s: Problems while reading \"%s\".\n", programname, rms_ref_crds);            fprintf( logFile, "Will attempt to use the input PDBQ file coordinates as reference.\n");             } else if (ref_natoms != natom) {                 pr( logFile, "%s: ERROR!  Wrong number of atoms in reference structure.\n", programname);            pr( logFile, "Input PDBQ structure has %d atoms, but reference structure has %d atoms.\n\n", natom, ref_natoms);            ref_natoms = -1;             }    }    if (nconf <= 1) {        pr( logFile, "\nSorry!  Unable to perform cluster analysis, because not enough structures were read in.\n");    } else {#ifdef DEBUG     for (i = 0;  i < nconf;  i++) {         pr( logFile, "i=%-3d\tisort[i]=%-3d\teconf[isort[i]]=%+7.2f\n",                       i, isort[i], econf[isort[i]] );    }#endif /* DEBUG */        pr( logFile, "\nSorting %d conformations by their energy.\n", irunmax);        flushLog;        sort_enrg( econf, isort, nconf );#ifdef DEBUG     for (i = 0;  i < nconf;  i++) { pr( logFile, "i=%-3d\tisort[i]=%-3d\teconf[isort[i]]=%+7.2f\n", i, isort[i], econf[isort[i]] ); }#endif /* DEBUG */        pr( logFile, "\nPerforming cluster analysis, using a cluster RMS tolerance of %.1f\n", clus_rms_tol );        flushLog;        ncluster = cluster_analysis( clus_rms_tol, cluster, num_in_clu, isort,                                      nconf, natom, type, crdSave, crdpdb,                                      sml_center, clu_rms, B_symmetry_flag,                                     ref_crds, ref_natoms, ref_rms);        pr( logFile, "\nOutputting structurally similar clusters, ranked in order of increasing energy.\n" );        flushLog;        prClusterHist( ncluster, irunmax, clus_rms_tol, num_in_clu,                        cluster, econf, clu_rms, ref_rms);        bestpdb( ncluster, num_in_clu, cluster, econf, crdSave,                  atomstuff, natom, B_write_all_clusmem, ref_rms);    }/*if we have more than 1 conformation... *//***  End cluster_mode and END PROGRAM...*/    success( hostnm, jobStart, tms_jobStart );    exit((int)0);}/* EOF */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧洲一区二区三区免费视频| 国产成人午夜精品影院观看视频 | 丁香啪啪综合成人亚洲小说| 天天综合色天天综合色h| 亚洲手机成人高清视频| 亚洲日本欧美天堂| 亚洲精品免费一二三区| 亚洲欧美在线观看| 中文字幕中文乱码欧美一区二区| 国产天堂亚洲国产碰碰| 久久精品无码一区二区三区| 久久免费国产精品| 国产午夜精品一区二区三区嫩草| 久久久久9999亚洲精品| 国产偷国产偷精品高清尤物 | 国产成人av福利| 国产最新精品精品你懂的| 精品一二三四区| 国产成人亚洲综合a∨猫咪| 成人av片在线观看| 在线亚洲一区二区| 欧美一区二区三区视频在线 | 国产精品视频yy9299一区| 国产欧美一区二区精品性色 | 日韩激情中文字幕| 九九精品视频在线看| 国产美女一区二区| 99re66热这里只有精品3直播| 91精彩视频在线观看| 精品视频一区二区三区免费| 日韩欧美二区三区| 综合中文字幕亚洲| 美女尤物国产一区| 波多野结衣亚洲| 欧美久久免费观看| 欧美国产一区二区| 午夜一区二区三区视频| 久久99久久久久| 91伊人久久大香线蕉| 日韩亚洲欧美高清| 亚洲欧洲另类国产综合| 日韩在线播放一区二区| www.亚洲免费av| 日韩美女视频在线| 亚洲一区二区三区四区的 | 国产久卡久卡久卡久卡视频精品| 色综合欧美在线| 欧美大片国产精品| 亚洲欧美偷拍另类a∨色屁股| 男男视频亚洲欧美| 色猫猫国产区一区二在线视频| 欧美r级在线观看| 亚洲国产日韩一区二区| 国产成人综合网站| 欧美一区二区二区| 一区二区三区中文字幕在线观看| 国产二区国产一区在线观看| 制服丝袜激情欧洲亚洲| 一区二区在线观看视频在线观看| 国产老肥熟一区二区三区| 欧美日韩另类一区| 亚洲一区在线看| 成人精品国产免费网站| 久久亚洲精精品中文字幕早川悠里 | 青青草国产精品亚洲专区无| 91福利资源站| 18成人在线观看| 成人91在线观看| 亚洲精品一区二区三区蜜桃下载 | 亚洲午夜电影网| 不卡一区二区中文字幕| 久久婷婷成人综合色| 青青草国产成人99久久| 欧美肥大bbwbbw高潮| 一区二区三区丝袜| 972aa.com艺术欧美| 日韩一区欧美小说| 91在线一区二区| 亚洲美女偷拍久久| 欧洲av一区二区嗯嗯嗯啊| 亚洲美女视频在线| 91污片在线观看| 一区二区免费看| 欧美日韩不卡视频| 免费精品视频在线| 精品久久一区二区| 国内精品国产成人国产三级粉色 | 天堂久久一区二区三区| 在线成人午夜影院| 日韩av网站免费在线| 欧美电影免费观看高清完整版在 | 欧美电影免费观看高清完整版在线| 日本中文字幕一区二区视频| 91精品国产综合久久福利| 蜜桃av一区二区| 久久精品一区二区三区av| 成人国产视频在线观看| 一区二区在线观看不卡| 欧美高清你懂得| 国产精品一二一区| 亚洲精品成人在线| 91精品久久久久久久久99蜜臂| 蜜臀av在线播放一区二区三区| 久久综合久久99| av不卡免费电影| 日本亚洲天堂网| 中文字幕国产一区二区| 日本道色综合久久| 六月婷婷色综合| 亚洲私人黄色宅男| 日韩欧美国产午夜精品| 91丨九色丨黑人外教| 日韩成人午夜精品| 136国产福利精品导航| 337p亚洲精品色噜噜| 高清成人在线观看| 日韩高清在线一区| 亚洲欧洲精品一区二区精品久久久| 777亚洲妇女| 99riav一区二区三区| 欧美a级理论片| 一区二区三区在线视频观看| 日韩精品在线一区二区| 欧美丝袜自拍制服另类| 成人丝袜高跟foot| 久久成人免费日本黄色| 亚洲最大成人网4388xx| 中文字幕第一区第二区| 欧美精品久久久久久久久老牛影院| 国产99久久久国产精品潘金 | 国产成人免费在线观看不卡| 亚洲成人精品一区二区| 综合久久久久久| 国产三级一区二区| 欧美mv和日韩mv的网站| 欧美日韩精品一区二区天天拍小说| 不卡电影免费在线播放一区| 精品影院一区二区久久久| 日韩精品乱码免费| 亚洲国产精品久久人人爱 | 日本在线观看不卡视频| 亚洲另类一区二区| 中文字幕中文在线不卡住| 久久九九久精品国产免费直播| 日韩免费高清av| 欧美一区二区黄| 日韩欧美亚洲一区二区| 欧美亚洲图片小说| 色婷婷综合在线| 91片在线免费观看| av中文字幕在线不卡| www.一区二区| 91麻豆成人久久精品二区三区| 不卡的看片网站| av一区二区久久| 色综合咪咪久久| 欧美日韩亚洲综合在线| 色菇凉天天综合网| 欧美性大战久久久久久久 | 五月天丁香久久| 日韩高清一区在线| 极品美女销魂一区二区三区| 激情图区综合网| 成人一级视频在线观看| 不卡的av中国片| 在线欧美日韩精品| 在线电影一区二区三区| 欧美哺乳videos| 中文字幕不卡在线播放| 亚洲精品欧美在线| 视频一区欧美精品| 国产一区二区中文字幕| 91色|porny| 日韩一级大片在线观看| 国产亚洲综合在线| 亚洲老司机在线| 另类小说欧美激情| 波多野结衣在线一区| 欧美日韩精品电影| 久久婷婷国产综合精品青草| 亚洲天堂精品在线观看| 日本亚洲免费观看| 成人在线视频首页| 欧美日韩免费高清一区色橹橹 | 欧美最新大片在线看| 日韩亚洲欧美一区| 国产精品白丝在线| 日本一道高清亚洲日美韩| 国产成人免费视频一区| 欧美午夜精品免费| 久久久青草青青国产亚洲免观| 亚洲欧美日本韩国| 久久精品国产澳门| 色爱区综合激月婷婷| 精品久久一区二区三区| 亚洲欧美另类久久久精品| 精品一区二区免费在线观看| 色悠悠亚洲一区二区| 精品国产百合女同互慰| 亚洲国产一区视频|