-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCTranscript.h
More file actions
43 lines (34 loc) · 1.19 KB
/
CTranscript.h
File metadata and controls
43 lines (34 loc) · 1.19 KB
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
38
39
40
41
42
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: CTranscript.h
* Author: mwittig
*
* Created on August 7, 2019, 3:01 PM
*/
#ifndef CTRANSCRIPT_H
#define CTRANSCRIPT_H
class CTranscript {
public:
CTranscript(const std::string& chrom, const std::string& strand, const std::string& txStart, const std::string& txEnd, const std::string& exonStarts, const std::string& exonEnds);
CTranscript(const CTranscript& orig);
virtual ~CTranscript();
int exonCount()const{return m_exonStarts.size();}
std::vector<int> exonStarts()const{return m_exonStarts;}
std::vector<int> exonEnds()const{return m_exonEnds;}
int exonStart(int idx)const{return m_exonStarts[idx];}
int exonEnd(int idx)const{return m_exonEnds[idx];}
std::string getChrom()const{return m_chrom;}
std::string getStrand()const{return m_strand;}
private:
std::string m_txStart;
std::string m_txEnd;
std::string m_chrom;
std::string m_strand;
std::vector<int> m_exonStarts;
std::vector<int> m_exonEnds;
};
#endif /* CTRANSCRIPT_H */