BuildInitialExons.c geneid v 1.2 source documentation


Description:
Initial (first) exon construction: first exons are DNA regions beginning in a start codon (ATG) and finishing in a donor site (GT), not including any stop codon in frame with the translation start.
Briefing:
long BuildInitialExons(site *Start, long nStarts, 
                       site *Donor, long nDonors,
                       site *Stop, long nStops,
                       int MaxDonors,
                       char* Sequence,
                       exonGFF *Exon) 
Every list of signals is sorted by position due to the signal prediction process. For every Start codon, donors between the Start and the first Stop in frame are candidates to be First exons. However, there is a limited maximum amount of exons to build, (parameter MaxDonors), being allocated during the processing in a local array. If there is no room for more exons beginning by this Start, the worst donor will be rejected. The output list of exons is sorted by Start position. According to the nucleotides at the end of the exon, some information is computed to detect possible Stop codons when assembling with other exons.




Enrique Blanco Garcia © 2003