8ccceea1c52492b6a869af8de3190a387d4b6550 braney Tue Mar 12 13:41:09 2024 -0700 added exportedDataHubs dialog and code to deal with quickLifted hubs diff --git src/hg/inc/quickLift.h src/hg/inc/quickLift.h new file mode 100644 index 0000000..20e75de --- /dev/null +++ src/hg/inc/quickLift.h @@ -0,0 +1,19 @@ +/* quickLift genome annotations on the fly between assemblies using chain files */ + +/* Copyright (C) 2023 The Regents of the University of California + * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ + +#ifndef QUICKLIFT_H +#define QUICKLIFT_H + +struct bigBedInterval *quickLiftIntervals(char *instaPortFile, struct bbiFile *bbi, char *chrom, int start, int end, struct hash **pChainHash); +/* Return intervals from "other" species that will map to the current window. + * These intervals are NOT YET MAPPED to the current assembly. + */ + +struct bed *quickLiftBed(struct bbiFile *bbi, struct hash *chainHash, struct bigBedInterval *bb); +/* Using chains stored in chainHash, port a bigBedInterval from another assembly to a bed + * on the reference. + */ + +#endif