|
Last change
on this file was
6385,
checked in by westram, 16 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 | |
|---|
| 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 | |
|---|
| 22 | PrimerDesign *PD; |
|---|
| 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); |
|---|
| 34 | PD->run (PrimerDesign::PRINT_PRIMER_PAIRS); |
|---|
| 35 | |
|---|
| 36 | delete PD; |
|---|
| 37 | } |
|---|
| 38 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.