ARB
PRD_main.cxx
Go to the documentation of this file.
1 // =============================================================== //
2 // //
3 // File : PRD_main.cxx //
4 // Purpose : //
5 // //
6 // Coded by Wolfram Foerster in February 2001 //
7 // Institute of Microbiology (Technical University Munich) //
8 // http://www.arb-home.de/ //
9 // //
10 // =============================================================== //
11 
12 #include "PRD_Design.hxx"
13 
14 using namespace std;
15 
16 const char *test_seq1 = "...AUU---CUGG--U-UGAU-C-C-U-G........................";
17 
18 const char *test_seq2 = "";
19 const char *test_seq3 = "";
20 const char *test_seq4 = "";
21 
23 
24 int main() {
25  printf("before new PD enter to continue\n");
26  getchar();
27 
28  PD = new PrimerDesign(test_seq4);
29  if (!PD->setPositionalParameters(Range(1000, 1300), Range(4800, 5000), Range(10, 20), Range(-1, -1))) {
30  printf("invalid positional parameters\n");
31  return 1;
32  }
33  PD->setConditionalParameters(Range(20, 40), Range(10, 80), -1, true, 20, 0.5, 0.5);
35 
36  delete PD;
37 }
38 
const char * test_seq2
Definition: PRD_main.cxx:18
const char * test_seq1
Definition: PRD_main.cxx:16
int main()
Definition: PRD_main.cxx:24
STL namespace.
const char * test_seq3
Definition: PRD_main.cxx:19
void setPositionalParameters(Range pos1_, Range pos2_, Range length_, Range distance_)
Definition: PRD_Design.cxx:83
const char * test_seq4
Definition: PRD_main.cxx:20
void setConditionalParameters(Range ratio_, Range temperature_, int min_dist_to_next_, bool expand_IUPAC_Codes_, int max_count_primerpairs_, double GC_factor_, double temp_factor_)
Definition: PRD_Design.cxx:126
PrimerDesign * PD
Definition: PRD_main.cxx:22
static const int PRINT_PRIMER_PAIRS
Definition: PRD_Design.hxx:155