Last change
on this file was
5390,
checked in by westram, 17 years ago
|
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.2 KB
|
Line | |
---|
1 | #ifndef PRD_ITEM_HXX |
---|
2 | #define PRD_ITEM_HXX |
---|
3 | |
---|
4 | #include <cstdio> |
---|
5 | #ifndef PRD_GLOBALS_HXX |
---|
6 | #include "PRD_Globals.hxx" |
---|
7 | #endif |
---|
8 | |
---|
9 | class Item { |
---|
10 | |
---|
11 | public: |
---|
12 | |
---|
13 | PRD_Sequence_Pos end_pos; |
---|
14 | PRD_Sequence_Pos start_pos; // index in sequence (or -1 if not yet calcutaled) |
---|
15 | PRD_Sequence_Pos offset; // index of base in sequence : left = index of first base of primer, right = index of last base of primer |
---|
16 | int length; // count of bases in primer |
---|
17 | |
---|
18 | int GC_ratio; // GC-ratio of primer |
---|
19 | int temperature; // temperature of primer |
---|
20 | |
---|
21 | Item *next; |
---|
22 | |
---|
23 | Item ( PRD_Sequence_Pos pos_, PRD_Sequence_Pos offset_, int length_, int ratio_, int temperature_, Item *next_ ); |
---|
24 | Item (); |
---|
25 | ~Item () {}; |
---|
26 | |
---|
27 | void print ( const char *prefix_, const char *suffix_ ); // print Items's values |
---|
28 | int sprint ( char *buf, const char *prefix_, const char *suffix_ , int max_primer_length, int max_position_length, int max_length_length ); |
---|
29 | char* getPrimerSequence ( const char *sequence_ ); // return the string the Item describes |
---|
30 | }; |
---|
31 | |
---|
32 | #else |
---|
33 | #error PRD_Item.hxx included twice |
---|
34 | #endif // PRD_ITEM_HXX |
---|
Note: See
TracBrowser
for help on using the repository browser.