Closed mruffalo closed 1 year ago
The Salmon RNA-seq pipeline has functionality for (optionally) reading HuBMAP metadata files, as in https://github.com/hubmapconsortium/salmon-rnaseq/blob/main/bin/salmon/salmon_wrapper.py#L43 and https://github.com/hubmapconsortium/salmon-rnaseq/blob/main/bin/salmon/salmon_wrapper.py#L66. The regex at https://github.com/hubmapconsortium/salmon-rnaseq/blob/main/bin/salmon/salmon_wrapper.py#L38 probably needs to be loosened a bit, likely to match something like (.*)metadata.tsv$
.
Updated collect_dataset_info.py, collect_output.py, and utils_ome.py to do this
The HuBMAP MIBI metadata spec contains the physical size for pixels, in the fields
resolution_x_value
resolution_x_unit
and similar for dimensiony
.Read these physical sizes from HuBMAP
*metadata.tsv
files, and embed this information in the appropriate OME-XML attributes when writing OME-TIFF output files.