Maximum Acyclic Subgraph - Multiple Sequence Alignment
MaximumAcyclicSubgraph
Public Member Functions | List of all members
Graph Class Reference

Public Member Functions

vector< Node > & getNodes ()
 get vector of nodes with matches in other sequences
 
unsigned int getNumberOfSequences ()
 return the number of sequences for an ascending sorted nodes with respect to the rows
 
unsigned int getNumberOfNodes (unsigned int sequence)
 get number of nodes for a sequence More...
 
vector< Edge > & getEdges ()
 get vector of edges for all sequences
 
void readFastaFiles (string nameFile, unsigned int k)
 read a fasta file More...
 
void resetGraph ()
 reset the Graph clears nodes and edges and sets k to zero
 

Member Function Documentation

unsigned int Graph::getNumberOfNodes ( unsigned int  sequence)

get number of nodes for a sequence

Parameters
sequenceindex for sequence
void Graph::readFastaFiles ( string  nameFile,
unsigned int  k 
)

read a fasta file

Parameters
nameFilename of the fasta file
klength of any node (kmer)

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