Augustus 3.4.0
Loading...
Searching...
No Matches
compgenepred.hh
1/*
2 * compgenepred.hh
3 *
4 * License: Artistic License, see file LICENSE.TXT or
5 * https://opensource.org/licenses/artistic-license-1.0
6 */
7
8#ifndef _COMPGENEPRED_HH
9#define _COMPGENEPRED_HH
10
11// project includes
12#include "extrinsicinfo.hh"
13#include "randseqaccess.hh"
14#include "phylotree.hh"
15#include "geneMSA.hh"
16#include "genomicMSA.hh"
17#include "namgene.hh"
18
19
20
21#include <stack>
22
23
24// added for interval merging of gene ranges belonging to the same species
25#ifdef TESTING
26void mergeInterval(list<tuple<string,int,int> >& interval);
27void mergeIntervals(vector<string>& speciesNames, vector<list<tuple<string,int,int> > >& intervals);
28bool sortInterval(const tuple<string,int,int>& a, const tuple<string,int,int>& b);
29void writeIntervals(string dirname, vector<string>& speciesNames, vector<list<tuple<string,int,int> > >& intervals);
30bool shiftGFF(string filename);
31#endif
32
41public:
43 ~CompGenePred() { delete rsa;}
44
45 void start();
46 void runPredictionOrTest();
47
48#ifdef TESTING
49 // helpers for testing
50 void postprocTest();
51 bool readInterval(string filename, list<tuple<string,int,int> >& grlist);
52#endif
53
54 RandSeqAccess *rsa;
55 PhyloTree tree;
56 void test_2(double ctree_scaling_factor);
57};
58
59#endif // _COMPGENEPRED_HH
60
61
comparative gene prediction on multiple species
Definition compgenepred.hh:40
Definition phylotree.hh:104
abstract class for quick access to an arbitrary sequence segment in genomes needed for comparative ge...
Definition randseqaccess.hh:62