Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

coordMapper.cpp File Reference

#include "gn/gnSequence.h"
#include <iostream>
#include <fstream>
#include <algorithm>

Go to the source code of this file.

Compounds

struct  ExMem

Functions

boolean LocationLessthan (const gnLocation &a, const gnLocation &b)
boolean LocationEndLessthan (const gnLocation &a, const gnLocation &b)
boolean LocationSizeLessthan (const gnLocation &a, const gnLocation &b)
boolean ExMemLessthan (const ExMem &a, const ExMem &b)
void print_usage (char *pname)
void load_map_file (string &filename, vector< gnLocation > &loc_list)
void map_coordinates (vector< gnLocation > &loc_list, vector< gnLocation > &map_list)
void map_list_coordinates (list< gnLocation > &loc_list, list< gnLocation > &map_list)
void print_feature (ostream &os, gnBaseFeature *cur_feat)
uint32 loc_binary_search (vector< gnLocation > &loc_list, uint32 startI, uint32 endI, gnLocation &query_loc)
int main (int argc, char *argv[])


Function Documentation

boolean ExMemLessthan ( const ExMem & a,
const ExMem & b ) [static]
 

Definition at line 31 of file coordMapper.cpp.

boolean LocationEndLessthan ( const gnLocation & a,
const gnLocation & b ) [static]
 

Definition at line 21 of file coordMapper.cpp.

boolean LocationLessthan ( const gnLocation & a,
const gnLocation & b ) [static]
 

Definition at line 15 of file coordMapper.cpp.

boolean LocationSizeLessthan ( const gnLocation & a,
const gnLocation & b ) [static]
 

Definition at line 27 of file coordMapper.cpp.

void load_map_file ( string & filename,
vector< gnLocation > & loc_list )
 

Definition at line 45 of file coordMapper.cpp.

Referenced by main().

uint32 loc_binary_search ( vector< gnLocation > & loc_list,
uint32 startI,
uint32 endI,
gnLocation & query_loc )
 

Definition at line 93 of file coordMapper.cpp.

Referenced by main().

int main ( int argc,
char * argv[] )
 

Definition at line 106 of file coordMapper.cpp.

void map_coordinates ( vector< gnLocation > & loc_list,
vector< gnLocation > & map_list )
 

Definition at line 64 of file coordMapper.cpp.

Referenced by main().

void map_list_coordinates ( list< gnLocation > & loc_list,
list< gnLocation > & map_list )
 

Definition at line 74 of file coordMapper.cpp.

void print_feature ( ostream & os,
gnBaseFeature * cur_feat )
 

Definition at line 85 of file coordMapper.cpp.

Referenced by main().

void print_usage ( char * pname )
 

Definition at line 41 of file coordMapper.cpp.


Generated at Thu Apr 4 01:52:03 2002 for libGenome by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001