include/seg.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void seg_segSequence (char *sequence)


Function Documentation

void seg_segSequence ( char *  sequence  ) 

Definition at line 47 of file seg.c.

References downset, entropy_init(), FALSE, freesegs(), genwininit(), hionly, loonly, mergesegs(), prettyseq, prettytree, segseq(), Sequence::seq, singleseq, singreport(), TRUE, upset, and window.

Referenced by main().

00048 {
00049     struct Sequence *seq;
00050     struct Segment *segs;
00051 
00052    seq = (struct Sequence *) malloc(sizeof(struct Sequence));
00053     seq->seq = sequence;
00054     seq->length = strlen(sequence);
00055    seq->db = NULL;
00056    seq->parent = (struct Sequence *) NULL;
00057    seq->root = (struct Sequence *) NULL;
00058    seq->children = (struct Sequence **) NULL;
00059    seq->rubberwin = FALSE;
00060    seq->floatwin = FALSE;
00061 
00062    seq->punctuation = FALSE;
00063    seq->entropy = -2.;
00064    seq->state = (int *) NULL;
00065    seq->composition = (int *) NULL;
00066    seq->classvec = (char *) NULL;
00067    seq->scorevec = (double *) NULL;
00068 
00069    genwininit();
00070 
00071    downset = (window+1)/2 - 1;
00072    upset = window - downset;
00073 
00074     singleseq = TRUE;
00075     prettyseq = FALSE;
00076     prettytree = FALSE;
00077     hionly = TRUE;
00078     loonly = FALSE;
00079 
00080    entropy_init(window);
00081 
00082     segs = (struct Segment *) NULL;
00083     segseq(seq, &segs, 0);
00084     mergesegs(seq, segs);
00085 
00086     singreport(seq, segs);
00087 
00088     freesegs(segs);
00089 }

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Wed Dec 19 20:52:00 2007 for fsa-blast by  doxygen 1.5.2