JGIModel Class Reference

#include <RNAModel.h>

Inheritance diagram for JGIModel:

mRNAModel RNAModel Noschain Range

List of all members.

Public Member Functions

 JGIModel (const string &exstarts, const string &exends, char strand, int cdsb, int cdse, const string &gi, int ii, const string &si, const string &genomic) throw (InvalidModel)
bool valid ()
string toJGIString (char sep='\t') const
string toSQLString (char sep=',') const
string toString (char sep='\t') const
void growEnd (int icr)
int getId () const
const string & getName () const
ostream & show (ostream &ous) const

Private Attributes

int id
string name
int cdsphase


Detailed Description

special constructor for taking input from JGI database Special function to validate the model. Only in this model we introduced CDS phase (0,1,2) should we put it into mRNA model?

Constructor & Destructor Documentation

JGIModel::JGIModel ( const string &  exstarts,
const string &  exends,
char  strand,
int  cdsb,
int  cdse,
const string &  gi,
int  ii,
const string &  si,
const string &  genomic 
) throw (InvalidModel)


Member Function Documentation

bool JGIModel::valid (  ) 

string JGIModel::toJGIString ( char  sep = '\t'  )  const

string JGIModel::toSQLString ( char  sep = ','  )  const

string JGIModel::toString ( char  sep = '\t'  )  const

void JGIModel::growEnd ( int  icr  ) 

extend the end of the model, both CDS end and the model end will be pushed out. Not well thought, should distinguish between + and - strand.

Reimplemented from Noschain.

References mRNAModel::gcdse, and Noschain::growEnd().

Referenced by valid().

int JGIModel::getId (  )  const [inline]

References id.

Referenced by toJGIString(), toSQLString(), and toString().

const string& JGIModel::getName (  )  const [inline]

References name.

Referenced by toJGIString(), toSQLString(), and toString().

ostream & JGIModel::show ( ostream &  ous  )  const

debug function

Reimplemented from Noschain.

References mRNAModel::gcdsb, mRNAModel::gcdse, RNAModel::gid, name, and Noschain::show().


Member Data Documentation

int JGIModel::id [private]

use the cached result

Referenced by getId().

string JGIModel::name [private]

Referenced by getName(), and show().

int JGIModel::cdsphase [private]

Referenced by toSQLString(), and valid().


The documentation for this class was generated from the following files:

Generated on Wed Oct 14 21:49:23 2009 for Softwares from Orpara by  doxygen 1.5.6