{"success":true,"data":{"author":"NCI Imaging Data Commons; QIN-SARCOMA contributors; tables and sample by Scigantic","bucketAccessType":"public","bucketListable":true,"bucketName":"scigantic-idc-open","bucketPrefix":"qin_sarcoma/","category":"Health & Biomedical","cloudProvider":"aws","companionArchiveIds":["270d1e86-d234-4234-9cac-dc846bcad87f"],"createdAt":"2026-11-17T16:33:07.411Z","description":"QIN-SARCOMA on the NCI Imaging Data Commons (IDC v25): 15 patients, 38 studies, 2,168 DICOM series, 10.05 GB. Cancer type: Sarcomas; location: breast, calf, chest, elbow, knee, leg, shoulder, thigh. Modalities: MR 2,168 series. This Scigantic archive is the collection's complete series-, study- and patient-level metadata as parquet (from idc-index, IDC v25), and a real sample of the images: one MR series, complete (7 MB, CC BY 4.0). Every series row carries its public S3 location (s3://idc-open-data/<crdc_series_uuid>/), so any series can be pulled on demand with anonymous boto3; the collection itself is not copied. License: CC BY 4.0 (2,168 series). IDC's description: Longitudinal dynamic contrast-enhanced (DCE) MRI of 15 patients with soft-tissue sarcoma, acquired at Oregon Health & Science University to assess response to preoperative chemoradiation. Patients were imaged at up to three time points: before treatment, after the first cycle of chemotherapy, and after about 8 more weeks of chemoradiation, before surgery. Formerly limited-access, the collection was made public by TCIA in April 2026. Please see the QIN-SARCOMA (https://doi.org/10.7937/k9/tcia.2016.fxl9sess) page to learn more about the images and to obtain any supporting metadata for this collection.","displayTitle":"IDC QIN-SARCOMA: Sarcomas MRI (15 patients)","dockerImageUrl":"531775725781.dkr.ecr.us-east-1.amazonaws.com/scigantic-notebook-pathology:latest","doi":"10.7937/k9/tcia.2016.fxl9sess","fuseMountBrowsable":true,"id":"2073efbe-833a-5965-b4c7-12226122b78d","license":"Per series (series.parquet license_short_name): CC BY 4.0 2,168. Cite the source DOI(s) and the IDC.","referenceUrl":"https://portal.imaging.datacommons.cancer.gov/explore/filters/?collection_id=qin_sarcoma","region":"us-east-1","schemaCard":{"accessHints":[{"language":"python","snippet":"# Task: read this collection's tables from anywhere, no mount and no credentials (pip install scigantic-nci)\nfrom scigantic_nci import idc\nseries = idc.series('qin_sarcoma')      # one row per DICOM series, with its public S3 location\npatients = idc.patients('qin_sarcoma')\nprint(len(patients), 'patients;', series.Modality.value_counts().to_dict())\n# or without the library (needs s3fs): pd.read_parquet('s3://scigantic-idc-open/qin_sarcoma/series.parquet', storage_options={'anon': True})\n# The other snippets read /mnt/archive, the mount path inside a Scigantic notebook; elsewhere use the frames above.\n"},{"language":"python","snippet":"# Task: pull one series from the IDC bucket on demand (anonymous S3)\nimport boto3, pandas as pd, os\nfrom botocore import UNSIGNED\nfrom botocore.config import Config\nseries = pd.read_parquet('/mnt/archive/series.parquet')\nrow = series[series.Modality == 'MR'].sort_values('series_size_MB').iloc[0]\nprint(row.PatientID, row.Modality, row.instanceCount, 'instances', round(row.series_size_MB, 1), 'MB')\ns3 = boto3.client('s3', region_name='us-east-1', config=Config(signature_version=UNSIGNED))\nos.makedirs('/tmp/series', exist_ok=True)\nfor o in s3.list_objects_v2(Bucket=row.aws_bucket, Prefix=row.crdc_series_uuid + '/')['Contents']:\n    s3.download_file(row.aws_bucket, o['Key'], '/tmp/series/' + o['Key'].split('/')[-1])\n"},{"language":"python","snippet":"# Task: stack a radiology series into a volume in acquisition order\nimport glob, numpy as np, pydicom\nds = [pydicom.dcmread(f) for f in glob.glob('/tmp/series/*.dcm')]\nds.sort(key=lambda d: (float(d.ImagePositionPatient[2]) if 'ImagePositionPatient' in d else 0.0, int(d.get('InstanceNumber', 0))))\nvol = np.stack([d.pixel_array for d in ds]).astype(np.float32)\nif ds[0].Modality == 'CT':\n    vol = vol * float(ds[0].get('RescaleSlope', 1)) + float(ds[0].get('RescaleIntercept', 0))  # Hounsfield units\nprint(vol.shape, ds[0].get('PixelSpacing'), ds[0].get('SliceThickness'))\n"},{"language":"python","snippet":"# Task: assemble one level of a DICOM whole-slide image from its tiles (pydicom only)\nimport numpy as np, pydicom\nd = pydicom.dcmread(path_to_level_dcm)\nframes = d.pixel_array\nframes = frames[None] if frames.ndim == 3 else frames\nR, C, r, c = int(d.TotalPixelMatrixRows), int(d.TotalPixelMatrixColumns), int(d.Rows), int(d.Columns)\nncol = -(-C // c)\ncanvas = np.zeros((-(-R // r) * r, ncol * c, 3), dtype=frames.dtype)\nfor i, f in enumerate(frames):\n    y, x = (i // ncol) * r, (i % ncol) * c\n    canvas[y:y + r, x:x + c] = f\nimage = canvas[:R, :C]  # or: from wsidicom import WsiDicom; WsiDicom.open(folder).read_region(...)\n"}],"caveats":["Layout: series.parquet (2,168 rows, one per DICOM series), studies.parquet, patients.parquet, samples.parquet (one row per mirrored sample with its license), sample/<Modality>_<SeriesInstanceUID>/*.dcm, README.md, BUILD_REPORT.json. The full collection (10.05 GB) is NOT on this mount; only the sample folders hold pixels.","Fetching a series: s3://idc-open-data/<crdc_series_uuid>/ holds one <instance_uuid>.dcm per SOP instance; the buckets are public and anonymous (botocore.UNSIGNED) reads work. Take crdc_series_uuid, aws_bucket and series_size_MB from series.parquet and check the size before pulling into a pod with a few GB of disk. s5cmd and `pip install idc-index` are the bulk tools.","PatientID in IDC is the TCIA/collection patient id (e.g. QIN-SARCOMA-01-0001). StudyInstanceUID and SeriesInstanceUID are the DICOM UIDs used by every viewer and by the IDC portal (see get_viewer_URL in idc-index).","Radiology series are one .dcm per slice; sort by ImagePositionPatient[2] (fall back to InstanceNumber) before stacking. CT pixel values need RescaleSlope/RescaleIntercept to become Hounsfield units; window for the organ you are looking at (soft tissue about -160 to 240 HU). PET needs SUV scaling from the RadiopharmaceuticalInformationSequence and patient weight.","Licenses are per series (CC BY 4.0: 2,168); series.parquet license_short_name is authoritative. Cite the DOI of the series you use (series.parquet source_DOI). The collection's own DOI is 10.7937/k9/tcia.2016.fxl9sess. Also cite the IDC (Fedorov et al., Cancer Research 2021, doi:10.1158/0008-5472.CAN-21-0950; Fedorov et al., RadioGraphics 2023, doi:10.1148/rg.230180).","PatientAge is a DICOM age string (e.g. 062Y) on 2,168 series; PatientSex is set on 15 of 15 patients (M 11, F 4). Manufacturers: SIEMENS (2168)."],"columns":[{"name":"collection_id","type":"str"},{"name":"PatientID","type":"str"},{"name":"SeriesInstanceUID","type":"str"},{"name":"StudyInstanceUID","type":"str"},{"name":"source_DOI","type":"str"},{"name":"PatientAge","type":"str"},{"name":"PatientSex","type":"str"},{"name":"StudyDate","type":"str"},{"name":"BodyPartExamined","type":"str"},{"name":"Modality","type":"str"},{"name":"Manufacturer","type":"str"},{"name":"SeriesDescription","type":"str"},{"name":"instanceCount","type":"Int64"},{"name":"license_short_name","type":"str"},{"name":"aws_bucket","type":"str"},{"name":"crdc_series_uuid","type":"str"},{"name":"series_aws_url","type":"str"},{"name":"series_size_MB","type":"float64"}],"format":"v2-hybrid","generatedAt":"2026-11-17T18:36:15.115Z","layout":{"example":"series.parquet row: PatientID QIN-SARCOMA-01-0001, Modality MR, 16 instances, 3.3 MB, s3://idc-open-data/ee5f127d-0078-4b92-b889-379ec823d42b/*","pattern":"patients.parquet  15 x 7\nsamples.parquet  1 x 13\nseries.parquet  2,168 x 31\nstudies.parquet  38 x 9\nsample/MR_1.3.6.1.4.1.14519.5.2.1.2103.7008.148748890262413575891881694575/  36 .dcm (6.6 MB, CC BY 4.0)"},"mountPath":"/mnt/archive","rowCount":"15 patients, 38 studies, 2,168 series; 10.05 GB in IDC","sampleObjects":["README.md: IDC description, modality table, licenses, DOIs, how to fetch","series.parquet: the index; one row per series with its S3 location","sample/MR_1.3.6.1.4.1.14519.5.2.1.2103.7008.148748890262413575891881694575/: MR sample (CC BY 4.0)"],"starterCell":"# QIN-SARCOMA: what is in the collection, and one real MR series from the sample folder\nimport os, glob, pandas as pd, numpy as np\nM = os.environ.get('SCIGANTIC_MOUNT_PATH', '/mnt/archive')\nseries = pd.read_parquet(f'{M}/series.parquet')\nprint(series.groupby('Modality').agg(series=('SeriesInstanceUID', 'count'), patients=('PatientID', 'nunique'), GB=('series_size_MB', lambda s: round(s.sum() / 1024, 1))))\nimport pydicom\nfiles = sorted(glob.glob(f'{M}/sample/MR_1.3.6.1.4.1.14519.5.2.1.2103.7008.148748890262413575891881694575/*.dcm'))\nds = pydicom.dcmread(files[0])\nprint(len(files), 'files;', ds.Modality, ds.get('Rows'), 'x', ds.get('Columns'), ds.get('ImageType'))\n","totalObjects":"4 parquet tables plus 36 sample DICOM files (7 MB)"},"summary":"QIN-SARCOMA on the NCI Imaging Data Commons (IDC v25): 15 patients, 38 studies, 2,168 DICOM series, 10.05 GB.","title":"IDC QIN-SARCOMA: Sarcomas MRI (15 patients)","updatedAt":"2026-11-17T18:37:39.691Z","visibility":"public","websiteUrl":"https://imaging.datacommons.cancer.gov/"}}