File: tagAlignment.h

package info (click to toggle)
bitseq 0.7.5+dfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 676 kB
  • sloc: cpp: 7,043; python: 562; makefile: 150; sh: 52
file content (37 lines) | stat: -rw-r--r-- 819 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef TAGALIGNMENT_H
#define TAGALIGNMENT_H



class TagAlignment{
   protected:
      long trId;
//      bool strand; // true = forward; false = reverse
      long double prob;
   public:
      TagAlignment(long t=0,long double p = 0){
         trId=t;
//         strand=s;
         prob=p;
      }
      long getTrId()const {return trId;}
      double getProb()const {return prob;}
      void setProb(double p){prob=p;}
}; 

class TagAlignment2: public TagAlignment {
   private:
      long double lowProb;
   public:
      //TagAlignment(long t=0,bool s=true,long double p = 0,long double lp = 0){
      TagAlignment2(long t=0,long double p = 0,long double lp = 0){
         trId=t;
//         strand=s;
         prob=p;
         lowProb = lp;
      }
      double getLowProb()const {return lowProb;}
}; 


#endif