bdb483fc8dba7e3fb318491cc57258e831904ef3 braney Fri Nov 13 10:30:03 2015 -0800 more work on bigChain diff --git src/hg/inc/chainNetDbLoad.h src/hg/inc/chainNetDbLoad.h index 0ba2ac0..fe2eb11 100644 --- src/hg/inc/chainNetDbLoad.h +++ src/hg/inc/chainNetDbLoad.h @@ -26,27 +26,34 @@ * the strings. */ struct chainNet *chainNetLoadResult(struct sqlResult *sr, int rowOffset); /* Given a query result that returns a bunch netAligns, make up * a list of chainNets that has the equivalent information. * Note the net->size field is not filled in. */ struct chainNet *chainNetLoadRange(char *database, char *track, char *chrom, int start, int end, char *extraWhere); /* Load parts of a net track that intersect range. */ struct chainNet *chainNetLoadChrom(char *database, char *track, char *chrom, char *extraWhere); /* Load net on whole chromosome. */ +struct chain *chainLoadIdRangeHub(char *database, char *track, char *chrom, + int start, int end, int id); +/* Load parts of chain of given ID from bigChain file. Note the chain header + * including score, tStart, tEnd, will still reflect the whole chain, + * not just the part in range. However only the blocks of the chain + * overlapping the range will be loaded. */ + struct chain *chainLoadIdRange(char *database, char *track, char *chrom, int start, int end, int id); /* Load parts of chain of given ID from database. Note the chain header * including score, tStart, tEnd, will still reflect the whole chain, * not just the part in range. However only the blocks of the chain * overlapping the range will be loaded. */ struct chain *chainLoadId(char *database, char *track, char *chrom, int id); /* Load chain of given ID from database. */ #endif /* CHAINNETDBLOAD_H */