c4cea1c78550bad81a6dfd43b54fd3ed796aa8dd kent Wed Mar 27 01:45:26 2013 -0700 Small conservative change to gff/gtf reader, just to count # of each feature in file. diff --git src/inc/gff.h src/inc/gff.h index f33a52a..15f7c3d 100644 --- src/inc/gff.h +++ src/inc/gff.h @@ -46,30 +46,31 @@ }; struct gffSource /* A list of sources. */ { struct gffSource *next; /* Next in list. */ char *name; /* Name, not allocated here. */ unsigned int id; /* Database ID (or just 0) */ }; struct gffFeature /* A list of types in GFF file. */ { struct gffFeature *next; /* Next in list. */ char *name; /* Name, not allocated here. */ + int count; /* Number of times feature is seen */ }; struct gffSeqName /* A list of sequence. */ { struct gffSeqName *next; /* Next in list. */ char *name; /* Name, not allocated here. */ }; struct gffGeneId /* A list of genes. */ { struct gffGeneId *next; /* Next in list. */ char *name; /* Name, not allocated here. */ };