1 #include "genewisehsp.h"
2 
3 
4 
main(int argc,char ** argv)5 int main(int argc,char **argv)
6 {
7   Sequence * a;
8   Sequence * b;
9   DPEnvelope * dpenv;
10   GeneWiseRunPara * p;
11   CompMat * mat;
12   CodonTable * ct;
13 
14 
15   a = read_fasta_file_Sequence(argv[1]);
16   b = read_fasta_file_Sequence(argv[2]);
17 
18   p = GeneWiseRunPara_alloc();
19 
20   mat = read_Blast_file_CompMat("blosum62.bla");
21   ct = read_CodonTable_file("codon.table");
22 
23   dpenv = DPEnvelope_from_protein_gen(a,b,mat,ct,p);
24 
25   show_DPEnvelope(dpenv,stdout);
26 
27 }
28