alterlab-imaging-data-commons
Installation
SKILL.md
Imaging Data Commons
Overview
Use the idc-index Python package to query and download public cancer imaging data from the National Cancer Institute Imaging Data Commons (IDC). No authentication required for data access.
Current IDC Data Version: v24 (always verify with IDCClient().get_idc_version())
Primary tool: idc-index (GitHub)
Check the installed package version first. Every IDC data release ships as a new idc-index version, so an old install silently queries stale data; and releases up to 0.12.4 pin pandas<=2.2.4, which conflicts with pandas 3 (0.12.5 relaxed this to pandas<4).
from importlib.metadata import version as _v
from packaging.version import Version
REQUIRED_VERSION = "0.12.5" # keep in sync with the compatibility field of this file
installed = _v("idc-index")