-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGffPathFromParseGraph.H
43 lines (37 loc) · 1.28 KB
/
GffPathFromParseGraph.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
/****************************************************************
GffPathFromParseGraph.H
Copyright (C)2013 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_GffPathFromParseGraph_H
#define INCL_GffPathFromParseGraph_H
#include "BOOM/Vector.H"
#include "BOOM/GffTranscript.H"
#include "BOOM/String.H"
#include "BOOM/Sequence.H"
#include "Signal.H"
#include "genezilla.H"
#ifdef EXPLICIT_GRAPHS
// This is required by the standards committee screwed up vector<bool>...
typedef char BOOL;
class GeneZilla;
class GffPathFromParseGraph
{
GeneZilla &genezilla;
void exonCoordsToSigPos(ContentType,int begin,int end,int &pos1,
int &pos2);
SignalPtr getSignal(SignalType signalType,int pos,const Sequence &seq,
const BOOM::String &seqStr,BOOL &found);
public:
GffPathFromParseGraph(GeneZilla &);
BOOM::Vector<SignalPtr> *getPathFromGff(
BOOM::Vector<BOOM::GffTranscript*> &,
const Sequence &,
const BOOM::String &seqStr,
BOOM::Vector<BOOL> &found);
BOOM::Vector<int> *getSignalCoordinates(
BOOM::Vector<BOOM::GffTranscript*> &);
};
#endif
#endif