PrintExons.c geneid v 1.1 source documentation


Description:
Output predicted exons, selecting the proper format according to the setup options and whether the exon is part of a gene (gff/xml/geneid) or not (gff/geneid).
Briefing:
void PrintExon(exonGFF *e, char Name[], char* s, dict* dAA)
Print a exon, previously translated into amino acids, using the proper output format taking into account the positions plus offsets (corrections), if exon is not an annotation.
void PrintExons (exonGFF *e,
                 long ne,
                 int type,
                 char Name[],
                 long l1, long l2,
                 char* Sequence,
                 dict* dAA)
Print a list of exons by using the proper output format.
void PrintGExon(exonGFF *e,
                char Name[],
                char* s,
                dict* dAA,
                long ngen,
                int AA1,
                int AA2,
                int nAA)
Print an exon which is part of a gene (identifer, amino acid positions) in gff/geneid format. For annotations, type field is different.
void PrintXMLExon(exonGFF *e,
                  char Name[],
                  long ngen,
                  long nExon,
                  int type1,
                  int type2,
                  int nExons) 
Print an exon which is part of a gene by using the XML format.




Enrique Blanco Garcia © 2001