00001 00002 #include "../headers/dpmain.h" 00003 00004 /* 00005 00006 ## -- GENERAL INFORMATION 00007 ## 00008 ## FILE dpmain.c 00009 ## AUTHORS P. Schmidtke and V. Le Guilloux 00010 ## LAST MODIFIED 28-11-08 00011 ## 00012 ## -- SPECIFICATIONS 00013 ## 00014 ## Top function to call dpocket routines. Get programm parameters, 00015 ## call function and free memory. 00016 ## 00017 ## -- MODIFICATIONS HISTORY 00018 ## 00019 ## 28-11-08 (v) Added COPYRIGHT DISCLAMER 00020 ## 01-04-08 (v) Added comments and creation of history 00021 ## 01-01-08 (vp) Created (random date...) 00022 ## 00023 ## -- TODO or SUGGESTIONS 00024 ## 00025 00026 */ 00027 00028 /* 00029 COPYRIGHT DISCLAIMER 00030 00031 Vincent Le Guilloux, Peter Schmidtke and Pierre Tuffery, hereby 00032 disclaim all copyright interest in the program “fpocket” (which 00033 performs protein cavity detection) written by Vincent Le Guilloux and Peter 00034 Schmidtke. 00035 00036 Vincent Le Guilloux 28 November 2008 00037 Peter Schmidtke 28 November 2008 00038 Pierre Tuffery 28 November 2008 00039 00040 GNU GPL 00041 00042 This file is part of the fpocket package. 00043 00044 fpocket is free software: you can redistribute it and/or modify 00045 it under the terms of the GNU General Public License as published by 00046 the Free Software Foundation, either version 3 of the License, or 00047 (at your option) any later version. 00048 00049 fpocket is distributed in the hope that it will be useful, 00050 but WITHOUT ANY WARRANTY; without even the implied warranty of 00051 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00052 GNU General Public License for more details. 00053 00054 You should have received a copy of the GNU General Public License 00055 along with fpocket. If not, see <http://www.gnu.org/licenses/>. 00056 00057 **/ 00058 00059 /** 00060 ## FUNCTION: 00061 int main(int argc, char *argv[]) 00062 00063 ## SPECIFICATION: 00064 Main program for dpocket! 00065 00066 */ 00067 int main(int argc, char *argv[]) 00068 { 00069 s_dparams *par = get_dpocket_args(argc, argv) ; 00070 //print_dparams(par, stdout) ; 00071 00072 dpocket(par) ; 00073 00074 free_dparams(par) ; 00075 free_all() ; 00076 00077 return 0 ; 00078 } 00079