ea3c06ec82f3f1df48c529c77d2667ead355edf3 hiram Tue Sep 22 11:51:11 2020 -0700 adding chrom.sizes as download file for hgTracks sequences in assembly hubs refs #24396 diff --git src/hg/inc/trackHub.h src/hg/inc/trackHub.h index 871aa91..889ef2d 100644 --- src/hg/inc/trackHub.h +++ src/hg/inc/trackHub.h @@ -117,32 +117,39 @@ boolean trackHubDatabase(char *database); /* Is this an assembly from an Assembly Data hub? */ char *trackHubDefaultChrom(char *database); /* Return the default chromosome for this track hub assembly. */ char *trackHubAssemblyField(char *database, char *field); /* Get data field from a assembly data hub. */ int trackHubChromCount(char *database); /* Return number of chromosomes in a assembly data hub. */ struct slName *trackHubAllChromNames(char *database); /* Return a list of all the chrom names in this assembly hub database. */ +char *trackHubChromSizes(char *database); +/* see if this assembly hub has a chrom.sizes file, return url if present + * returns NULL when not present + */ + char *trackHubAliasFile(char *database); -/* see if this assembly hub has an alias file, return url if present */ +/* see if this assembly hub has an alias file, return url if present + * returns NULL when not present + */ struct hash *trackHubAllChromAlias(char *database); /* Return a hash of chroms with alias names from alias file if present */ struct chromInfo *trackHubAllChromInfo(char *database); /* Return a chromInfo structure for all the chroms in this database. */ struct chromInfo *trackHubMaybeChromInfo(char *database, char *chrom); /* Return a chromInfo structure for just this chrom in this database. * Return NULL if chrom doesn't exist. */ struct chromInfo *trackHubChromInfo(char *database, char *chrom); /* Return a chromInfo structure for just this chrom in this database. * errAbort if chrom doesn't exist. */