source: tags/ms_r16q2/PRIMER_DESIGN/PRD_main.cxx

Last change on this file was 6385, checked in by westram, 14 years ago
  • removed trailing whitespace
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
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
14using namespace std;
15
16const char *test_seq1 = "...AUU---CUGG--U-UGAU-C-C-U-G........................";
17
18const char *test_seq2 = "";
19const char *test_seq3 = "";
20const char *test_seq4 = "";
21
22PrimerDesign *PD;
23
24int 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);
34    PD->run (PrimerDesign::PRINT_PRIMER_PAIRS);
35
36    delete PD;
37}
38
Note: See TracBrowser for help on using the repository browser.