| 7 | #include "myFunc.h" |
| 8 | |
| 9 | class SNPposition |
| 10 | { |
| 11 | public: |
| 12 | SNPposition(int position, char* letters, const char* strand, const char* ref); //from TXT |
| 13 | SNPposition(int position, char* alt); //for VCF |
| 14 | virtual ~SNPposition(); |
| 15 | int getPosition(); |
| 16 | char getNucleotide(); |
| 17 | float getValue(); |
| 18 | float getStatus(); |
| 19 | void setFrequency(float freq); |
| 20 | void setStatus(float status); |
| 21 | void setBin(int i); |
| 22 | int getBin(); |
| 23 | protected: |
| 24 | private: |
| 25 | unsigned int position_; |
| 26 | char nucleotide_; |
| 27 | float freq_; |
| 28 | float status_; //0 - AA/BB, 0.5 - AB |
| 29 | int bin_; //bin in the copy number array |
| 30 | }; |
| 31 | |
| 32 | #endif // SNPPOSITION_H |