SetRatios.c geneid v 1.1 source documentation


Description:
Estimate the amount of predicted signals and exons in a subsequence of length min(L,LENGTHSi), from the defined values (RSITES, REXONS) in the include file. Whether L is longer than LENGTHSi or not, space to backup some inter-fragments information would be required as well because the sequence will be divided and processed into (L / LENGTHSi) splits.
Briefing:
void SetRatios(long* NUMSITES,
               long* NUMEXONS,
               long* MAXBACKUPSITES,
               long* MAXBACKUPEXONS,
               long L)
From the defined values (geneid.h) RSITES, REXONS, RBSITES, RBEXONS, and length of the input sequence, an estimation for the amount of signals and exons of (every type) is computed, in order to ask for enough memory to allocate them, producing the values NUMSITES, NUMEXONS, MAXBACKUPSITES, MAXBACKUPEXONS. (Note: NUMEXONS will be modified before asking the memory, by using the ratios RSINGL, RFIRST, RINTER, RTERMI and RORF according to the type of exon because some types are more likely to find than others)




Enrique Blanco Garcia © 2001