Open ilan-gold opened 4 years ago
Related to hubmapconsortium/portal-ui#1334:
NA_summits.bed
, NA_peaks.narrowPeak
) can be visualized as a single, overlaid HiGlass track in Vitessce (if HiGlass doesn't support bed files, we can use Gosling)@mruffalo How can we figure out which genome build was used to process these datasets?
@ngehlenborg What exactly do you mean by "figure out" -- what type of answer do you have in mind? Me answering in a comment to this GitHub issue? (GRCh38 with GENCODE v32 anntoations for all processed ATAC-seq datasets.) Storing a mapping of pipeline versions (commit hashes? tags? both?) to genome and annotation versions in this repository or somewhere else appropriate? Or a programmatic way to obtain the annotations for a derived data set, given the pipeline version that was used to produce that data set?
Something like this could be automated by examining a derived data set, obtaining the pipeline commit that produced that data set, and getting supplementary data from the appropriate Docker image:
$ docker run -it --rm hubmap/sc-atac-seq-grch38:1.2-bulk
root@2ff4069dd1db:/opt# ls -1 supplementary-data/
bwa-index
gencode.v32.annotation.bed
grch38.fasta.fai
hg38.blacklist.bed
hg38.promoters.bed
This would allow accessing the actual genome annotations in BED format -- does something like this seem useful enough to make more convenient?
Sorry, that wasn't very clear. I am wondering how we can figure out which genome build was used programmatically. We should probably have that for each pipeline through an API or a well-defined location in the CWL file?
I am not sure what is best, but I would rather not have to write code that checks file names on disk.
I agree with @ngehlenborg - the way this would work ideally is that it would be somewhere that is eminently parse-able (say some sort of metadata.tsv
or json
file) so that the portal backend can pick it up and throw it in the config for Vitessce, which will then fetch the correct annotation for that genome. I think the CWL file is a good location too - the most important thing will be consistency at least within each assay, if not across assays, that need this sort of thing.
We need to agree on a location for the genome build for a given data set with the IEC and the CMU TC. Added to portal call agenda.
From the 1/21/2022 minutes:
Genome build info communicated in the output directories to be used with the index
- Need to know which reference genome to use and reference genome to display
MR is going to add this feature to the ATAC and RNA pipelines
- Vitessce will utilize the information and a .json file should be sufficient
cc @mruffalo : Please update here if that isn't correct.
Matt posted on hive-developers February 9:
{
"genome": "grch38",
"annotations": {
"source": "GENCODE",
"version": 35
}
}
Nils responded:
Confirmed that this is sufficient. Matt Ruffalo, You can go ahead and get this out.
Ilan says:
This just kind of fell by the wayside. I’ll have a look again, I don’t remember where this was left.
Cell by bin Visualize in higlass Cell by peaks (in BED + snap files) Annotated peaks (genomic intervals) per cell Genome-wide (not necessarily tied to a gene) Our Pipelines:
TMC:
Outstanding Issues:
Notes: We have many visualization options: