db98805df7428701b205e398607447fa72acac9b kent Tue Mar 19 18:24:48 2013 -0700 Making gff reader routines work on a wider variety of gffs including those that reuse same gene names on different chromosomes. THis comes up in pseudo-autosomal parts of X and Y in ensembl gene sets. diff --git src/inc/gff.h src/inc/gff.h index f33a52a..199c347 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 this feature is used. */ }; 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. */ };