src/testTests.cpp File Reference

#include "gn/gnSequence.h"
#include "gn/gnGBKSource.h"
#include "gn/gnFASSource.h"
#include <algorithm>

Include dependency graph for testTests.cpp:

Include dependency graph

Go to the source code of this file.

Functions

void ComplementLocation (vector< gnLocation > &l_list)
void DeleteRepeats (list< gnLocation > &loc_list)
boolean LocationEndLessthan (const gnLocation &a, const gnLocation &b)
boolean LocationLessthan (const gnLocation &a, const gnLocation &b)
boolean LocationSizeLessthan (const gnLocation &a, const gnLocation &b)
int main (int argc, char *argv[])
void print_usage (char *pname)
void WriteData (gnSequence &file_sequence, list< gnLocation > &loc_list, string &filename)
void WriteList (list< gnLocation > &loc_list, string &filename)


Function Documentation

void ComplementLocation vector< gnLocation > &  l_list  ) 
 

Definition at line 26 of file testTests.cpp.

References LocationLessthan(), gnLocation::SetEnd(), gnLocation::SetStart(), and uint32.

Referenced by main().

void DeleteRepeats list< gnLocation > &  loc_list  ) 
 

Definition at line 52 of file testTests.cpp.

References LocationEndLessthan(), and LocationLessthan().

Referenced by main().

boolean LocationEndLessthan const gnLocation a,
const gnLocation b
[static]
 

Definition at line 14 of file testTests.cpp.

References gnLocation::GetEnd(), and gnLocation::GetStart().

Referenced by DeleteRepeats().

boolean LocationLessthan const gnLocation a,
const gnLocation b
[static]
 

Definition at line 8 of file testTests.cpp.

References gnLocation::GetStart().

Referenced by ComplementLocation(), and DeleteRepeats().

boolean LocationSizeLessthan const gnLocation a,
const gnLocation b
[static]
 

Definition at line 20 of file testTests.cpp.

References gnLocation::GetEnd(), and gnLocation::GetStart().

int main int  argc,
char *  argv[]
 

Definition at line 104 of file testTests.cpp.

References ComplementLocation(), DeleteRepeats(), gnSequence::getFeature(), gnSequence::getFeatureListLength(), gnBaseFeature::GetLocation(), gnBaseFeature::GetLocationListLength(), gnBaseFeature::GetName(), gnSequence::length(), gnSequence::LoadSource(), print_usage(), uint32, WriteData(), and WriteList().

void print_usage char *  pname  ) 
 

Definition at line 100 of file testTests.cpp.

Referenced by main().

void WriteData gnSequence file_sequence,
list< gnLocation > &  loc_list,
string &  filename
 

Definition at line 73 of file testTests.cpp.

References gnSequence::ToString(), uint32, and gnFASSource::Write().

Referenced by main().

void WriteList list< gnLocation > &  loc_list,
string &  filename
 

Definition at line 91 of file testTests.cpp.

Referenced by main().


Generated on Mon Feb 14 19:29:43 2005 for libGenome by doxygen 1.3.8