Commit faa6f2d0 by Chloe Dequeker

adding citation option

parent 72616a07
...@@ -33,6 +33,7 @@ void print_usage() { ...@@ -33,6 +33,7 @@ void print_usage() {
"<--force/-f>.......Will force the computation of the pause even in case of\n" "<--force/-f>.......Will force the computation of the pause even in case of\n"
" huge number of clashes (threshold defined in struct.h)\n" " huge number of clashes (threshold defined in struct.h)\n"
"<-distTH>%%.........Distance for contact\n" "<-distTH>%%.........Distance for contact\n"
"<-cite>.............Prints the bibtex citation for this tool.\n"
"--\n" "--\n"
"Leaving this option blank means that the default format for the docking file\n" "Leaving this option blank means that the default format for the docking file\n"
"will be used.\n" "will be used.\n"
...@@ -155,6 +156,19 @@ struct argLine* parseLineOfArgument(int argc, char** argv){ ...@@ -155,6 +156,19 @@ struct argLine* parseLineOfArgument(int argc, char** argv){
fprintf(stderr,"The threshold distance has to be above 0.\n"); fprintf(stderr,"The threshold distance has to be above 0.\n");
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
}else if(strcmp(argv[i],"-cite") == 0){
printf("@article{Dequeker2017Nov,"
"author = {Dequeker, Chlo'e and Laine, Elodie and Carbone, Alessandra},\n"
"title = {{INTerface Builder: A Fast Protein-Protein Interface Reconstruction Tool}},\n"
"journal = {J. Chem. Inf. Model.},\n"
"volume = {57},\n"
"number = {11},\n"
"pages = {2613--2617},\n"
"year = {2017},\n"
"month = {Nov},\n"
"issn = {1549-960X},\n"
"publisher = {American Chemical Society},\n"
"doi = {10.1021/acs.jcim.7b00360}\n}");
}else if(strcmp(argv[i],"-HCMD2") == 0){ }else if(strcmp(argv[i],"-HCMD2") == 0){
HCMD2 = 1; HCMD2 = 1;
}else if(strcmp(argv[i],"-MAXDo") == 0){ }else if(strcmp(argv[i],"-MAXDo") == 0){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment