#include <alnrange.h>

Public Member Functions | |
| rangePair () | |
| rangePair (const rangePair &r) | |
| rangePair (int b, int e, double s, double ng, double c, const string &tpi, double tc, int tmi, const string &tgi, char tst, int ts, int te) | |
| double | getTcov () const |
| string | getTprtid () const |
| string | asTabedString () const |
| string | asDelimitedString (char sep[]=",") const |
| string | genomicInfo (char sep[]="\t") const |
| string | getGenomic () const |
| char | getStrand () const |
| string | essentialInfo () const |
| ~rangePair () | |
| bool | sameGene (const rangePair &r) const |
Static Public Member Functions | |
| static string | fields () |
| static void | setIntronLimit (int length) |
Private Attributes | |
| string | tprtid |
| double | tcov |
| int | tmodelid |
| string | tgenomicid |
| char | tstrand |
| int | tstart |
| int | tend |
Static Private Attributes | |
| static float | ngdiff_cut = 0.25 |
| static int | distance_cut = 2000 |
This simply a match two ranges. Could be implemented better.
| rangePair::rangePair | ( | ) | [inline] |
| rangePair::rangePair | ( | const rangePair & | r | ) |
| rangePair::rangePair | ( | int | b, | |
| int | e, | |||
| double | s, | |||
| double | ng, | |||
| double | c, | |||
| const string & | tpi, | |||
| double | tc, | |||
| int | tmi, | |||
| const string & | tgi, | |||
| char | tst, | |||
| int | ts, | |||
| int | te | |||
| ) | [inline] |
tpi: target proteinid tc: target coverage tmi: target model id tgi: target genomic id tst: target strand ts: target start, te: target end
| rangePair::~rangePair | ( | ) | [inline] |
| double rangePair::getTcov | ( | ) | const [inline] |
References tcov.
| string rangePair::getTprtid | ( | ) | const [inline] |
References tprtid.
| string rangePair::asTabedString | ( | ) | const [virtual] |
| string rangePair::asDelimitedString | ( | char | sep[] = "," |
) | const [virtual] |
| string rangePair::genomicInfo | ( | char | sep[] = "\t" |
) | const [inline] |
References sep, tgenomicid, and tstrand.
| string rangePair::getGenomic | ( | ) | const [inline] |
References tgenomicid.
| char rangePair::getStrand | ( | ) | const [inline] |
References tstrand.
| string rangePair::fields | ( | ) | [static] |
| string rangePair::essentialInfo | ( | ) | const [virtual] |
| bool rangePair::sameGene | ( | const rangePair & | r | ) | const |
References distance_cut, ngdiff_cut, alnrange::ngidentity, tend, tgenomicid, tstart, and tstrand.
| static void rangePair::setIntronLimit | ( | int | length | ) | [inline, static] |
return a list of all fields. useful for generating database tables not very useful, itoa not implemented, too much trouble to implement this function
References distance_cut.
string rangePair::tprtid [private] |
Referenced by asDelimitedString(), asTabedString(), essentialInfo(), getTprtid(), and rangePair().
double rangePair::tcov [private] |
Referenced by asDelimitedString(), asTabedString(), getTcov(), and rangePair().
int rangePair::tmodelid [private] |
Referenced by asDelimitedString(), asTabedString(), essentialInfo(), and rangePair().
string rangePair::tgenomicid [private] |
Referenced by genomicInfo(), getGenomic(), rangePair(), and sameGene().
char rangePair::tstrand [private] |
Referenced by genomicInfo(), getStrand(), rangePair(), and sameGene().
int rangePair::tstart [private] |
Referenced by asDelimitedString(), asTabedString(), essentialInfo(), rangePair(), and sameGene().
int rangePair::tend [private] |
Referenced by asDelimitedString(), asTabedString(), essentialInfo(), rangePair(), and sameGene().
float rangePair::ngdiff_cut = 0.25 [static, private] |
Referenced by sameGene().
int rangePair::distance_cut = 2000 [static, private] |
This parameter is related to the mean / stddev of the intron size from this particular organism
Referenced by sameGene(), and setIntronLimit().
1.5.6