Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Queries and downloads public cancer imaging datasets from NCI Imaging Data Commons using idc-index, covering CT, MR, PET and pathology.
36% 100%+64 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 8 of 22 without it.
When writing an SQL query in Imaging Data Commons to connect slide microscopy annotation series in 'ann_index' back to their source image series in 'index', which join key column from 'ann_index' connects to 'index.SeriesInstanceUID'?
Specifies referenced_SeriesInstanceUID as the join column
3 of 3 safety checks passed
-|--------------|
| index_tables_guide.md | Complex JOINs, schema discovery, DataFrame access |
| use_cases.md | End-to-end workflow examples (training datasets, batch downloads) |
| sql_patterns.md | Quick SQL patterns for filter discovery, annotations, size estimation |
| clinical_data_guide.md | Clinical/tabular data, imaging+clinical joins, value mapping |
| cloud_storage_guide.md | Direct S3/GCS access, versioning, UUID mapping |
| dicomweb_guide.md | DICOMweb endpoints, PACS integration |
| digital_pathology_guide.md | Slide microscopy (SM), annotations (ANN), pathology workflows |
| bigquery_guide.md | Full DICOM metadata, private elements (requires GCP) |
| cli_guide.md | Command-line tools (idc download, manifest files) |
IDC adds two grouping levels above the standard DICOM hierarchy (Patient → Study → Series → Instance):
tcga_luad, nlst). A patient belongs to exactly one collection.Use collection_id to find original imaging data, may include annotations deposited along with the images; use analysis_result_id to find AI-generated or expert annotations.
Key identifiers for queries:
| Identifier | Scope | Use for |
|---|---|---|
collection_id | Dataset grouping | Filtering by project/study |
PatientID | Patient | Grouping images by patient |
StudyInstanceUID | DICOM study | Grouping of related series, visualization |
SeriesInstanceUID | DICOM series | Grouping of related series, visualization |
The idc-index package provides multiple metadata index tables, accessible via SQL or as pandas DataFrames.
Complete index table documentation: Use https://idc-index.readthedocs.io/en/latest/indices_reference.html for quick check of available tables and columns without executing any code.
Important: Use client.indices_overview to get current table descriptions and column schemas. This is the authoritative source for available columns and their types — always query it when writing SQL or exploring data structure.
| Table | Row Granularity | Loaded | Description |
|---|
Published skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.