dyaln Class Reference

#include <mlocalS_str.h>

List of all members.

Public Member Functions

 dyaln ()
 ~dyaln ()
void freeTrace ()
int align (const char s1n[], const char s1str[], const char s2n[], const char s2str[])
void setup ()
void outputTab (ostream &os)
void outputTabPos (ostream &os)
void outputAln (FILE *ou=stdout)
void setMatrix (char m[])
void setGapCost (int alpha, int beta)
void setcsub (int cs)
void setNaligns (int n)
bool isSimple (float &ms) const

Private Member Functions

void allocateMem ()
void initParameter ()

Private Attributes

struct SEQALN_SEQUENCEseq1
struct SEQALN_SEQUENCEseq2
struct SEQALN_CONSTANTSscoring
struct SEQALN_RESULTSresults
struct SEQALN_IOio
char distrib_file1 [51]
char distrib_file2 [51]
pair< float, char > sortedFreq1 [20]
pair< float, char > sortedFreq2 [20]


Constructor & Destructor Documentation

dyaln::dyaln (  ) 

dyaln::~dyaln (  ) 

References io, memfree(), results, scoring, seq1, and seq2.


Member Function Documentation

void dyaln::allocateMem (  )  [private]

References io, newmem(), results, scoring, seq1, and seq2.

Referenced by dyaln().

void dyaln::initParameter (  )  [private]

void dyaln::freeTrace (  )  [inline]

References freeTraceList(), and results.

Referenced by main().

int dyaln::align ( const char  s1n[],
const char  s1str[],
const char  s2n[],
const char  s2str[] 
)

void dyaln::setup (  ) 

void dyaln::outputTab ( ostream &  os  ) 

void dyaln::outputTabPos ( ostream &  os  ) 

For relational database. Out put positional information instead of the coverage info; coverage can be derived easily from alignment position and the length of the sequences, Output fields: seq1Name, seq1Len, seq2Name, seq2Len, seq1begin, seq1end, seq2begin, seq2end, overall_match_len, nogap_match_len, identical_count, similar_count, score, is_simple, maxsimple

References SEQALN_RESULTS::align1, SEQALN_RESULTS::align2, SEQALN_RESULTS::align_len, SEQALN_RESULTS::bestS, SEQALN_RESULTS::end1, SEQALN_RESULTS::end2, SEQALN_SEQUENCE::fstart, SEQALN_LSTRUCT::i, SEQALN_RESULTS::iden_count, isSimple(), SEQALN_LSTRUCT::j, SEQALN_SEQUENCE::len, LINEAR, SEQALN_RESULTS::match_freq1, SEQALN_RESULTS::match_freq2, SEQALN_CONSTANTS::memuse, SEQALN_SEQUENCE::name, SEQALN_RESULTS::nogap_len, results, scoring, seq1, seq2, SEQALN_RESULTS::siml_count, sortedFreq1, sortedFreq2, SEQALN_RESULTS::start1, SEQALN_RESULTS::start2, and SEQALN_RESULTS::trace.

Referenced by main().

void dyaln::outputAln ( FILE *  ou = stdout  ) 

void dyaln::setMatrix ( char  m[]  )  [inline]

References io, load_mat(), and scoring.

Referenced by main().

void dyaln::setGapCost ( int  alpha,
int  beta 
)

void dyaln::setcsub ( int  cs  )  [inline]

References SEQALN_CONSTANTS::csub, and scoring.

void dyaln::setNaligns ( int  n  )  [inline]

References SEQALN_CONSTANTS::naligns, and scoring.

Referenced by main().

bool dyaln::isSimple ( float &  ms  )  const


Member Data Documentation

struct SEQALN_SEQUENCE* dyaln::seq1 [read, private]

struct SEQALN_SEQUENCE * dyaln::seq2 [read, private]

struct SEQALN_CONSTANTS* dyaln::scoring [read, private]

struct SEQALN_RESULTS* dyaln::results [read, private]

struct SEQALN_IO* dyaln::io [read, private]

char dyaln::distrib_file1[51] [private]

Referenced by initParameter(), and setup().

char dyaln::distrib_file2[51] [private]

Referenced by initParameter(), and setup().

pair<float, char> dyaln::sortedFreq1[20] [private]

Referenced by isSimple(), outputTab(), and outputTabPos().

pair<float, char> dyaln::sortedFreq2[20] [private]

Referenced by isSimple(), outputTab(), and outputTabPos().


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

Generated on Wed Aug 10 11:57:09 2011 for Softwares from Orpara by  doxygen 1.5.6