-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathACEplus.H
62 lines (58 loc) · 2.15 KB
/
ACEplus.H
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/****************************************************************
ACEplus.H
Copyright (C)2017 William H. Majoros ([email protected]).
This is OPEN SOURCE SOFTWARE governed by the Gnu General Public
License (GPL) version 3, as described at www.opensource.org.
****************************************************************/
#ifndef INCL_ACEplus_H
#define INCL_ACEplus_H
#include "BOOM/Interval.H"
#include "ACE.H"
#include "ContentSensors.H"
#include "Model.H"
#include "TranscriptPaths.H"
using namespace std;
using namespace BOOM;
class ACEplus : public ACE {
public:
ACEplus();
virtual ~ACEplus() {}
virtual int main(int argc,char *argv[]);
int analyzeExonDefinition(int argc,char *argv[]);
protected:
ContentSensors contentSensors;
Model model;
virtual void parseCommandLine(const CommandLine &);
virtual void processConfig(const String &filename);
virtual ContentSensor *loadContentSensor(const String &label,
ConfigFile &);
virtual void buildPSAs(ContentSensors &contentSensors,int seqLen,
Sequence &seq,String &str);
virtual void buildPSA(ContentType type,ContentSensors &contentSensors,
int seqLen,Sequence &seq,String &str);
void checkProjection(const String &outGff,
bool &mapped,
const Labeling &refLab,
const Labeling &projectedLab,
ostream &osACE);
virtual void enumerateAlts(TranscriptPaths &,
Essex::CompositeNode *altTransEssex,
TranscriptSignals *signals,
GffTranscript *altTrans,
ostream &osACE,
const Labeling &refLab,
const Labeling &projectedLab);
void processAltStructure(TranscriptPath &,
Essex::CompositeNode *altStructNode,
const Labeling &projectedLab,
int whichStructure,
TranscriptSignals &);
virtual Essex::CompositeNode * processAltStructure(AlternativeStructure &,
Essex::CompositeNode *altStructNode,
const Labeling &projectedLab);
void refineStartCodon(int start,GffTranscript &,Essex::CompositeNode *&msg);
double getRefLikelihood(const Labeling &refLab,GffTranscript *altTrans);
void exonDefIntervalsBelow(const Interval &exon,float below,
Vector<Interval> &into);
};
#endif