Esempio n. 1
0
static void gff3Tester(char *gff3InFile, char *gff3OutFile)
/* tester for GFF3 objects */
{
struct gff3File *g3f = gff3FileOpen(gff3InFile, -1, NULL);
gff3FileWrite(g3f, gff3OutFile);
gff3FileFree(&g3f);
}
Esempio n. 2
0
static struct gff3File *loadGff3(char *inGff3File)
/* load GFF3 into memory */
{
    struct gff3File *gff3File = gff3FileOpen(inGff3File, maxParseErrs, NULL);
    if (gff3File->errCnt > 0)
        errAbort("%d errors parsing GFF3 file: %s", gff3File->errCnt, inGff3File);
    return gff3File;
}