# Integrating QC tools to work with IDC

**URL:** <https://discourse.canceridc.dev/t/integrating-qc-tools-to-work-with-idc/113>\
**Category:** Feedback and features\
**Created:** [October 25, 2020, 4:27pm UTC](https://discourse.canceridc.dev/t/integrating-qc-tools-to-work-with-idc/113 "2020-10-25T16:27:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![satishev](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.canceridc.dev/satishev/32/46_2.png) [@satishev](https://discourse.canceridc.dev/u/satishev)\
**Post date:** [October 25, 2020, 4:27pm UTC](https://discourse.canceridc.dev/t/integrating-qc-tools-to-work-with-idc/113/1 "2020-10-25T16:27:55Z")

</div>

I was not sure where else to post this, and figured this would be a good place to start the conversation. As some of you may be aware, we have been developing quality control tools for imaging and pathology data

- [GitHub - ccipd/MRQy: MRQy is a quality assurance and checking tool for quantitative assessment of magnetic resonance imaging (MRI) data.](https://github.com/ccipd/MRQy)
- [GitHub - choosehappy/HistoQC: HistoQC is an open-source quality control tool for digital pathology slides](https://github.com/choosehappy/HistoQC)

I saw a recent post about image variability within a sequence (clearly a use-case for QC), and I suspect it would be super useful to folks to be able to use QC tools when they are working with data from IDC. I wanted to start a discussion on this. This may be something the CCDH (@melissa?) is working on, but I wanted to reach out for any collaborative opportunities in this space.

---

<div class="post-metadata">

**Author:** ![pieper](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.canceridc.dev/pieper/32/10_2.png) [@pieper](https://discourse.canceridc.dev/u/pieper)\
**Post date:** [October 25, 2020, 4:46pm UTC](https://discourse.canceridc.dev/t/integrating-qc-tools-to-work-with-idc/113/2 "2020-10-25T16:46:30Z")

</div>

Sounds very good to me 👍 . Probably setting up MRQy against IDC is feasible now.

---

<div class="post-metadata">

**Author:** ![fedorov](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.canceridc.dev/fedorov/32/3_2.png) [@fedorov](https://discourse.canceridc.dev/u/fedorov)\
**Post date:** [October 25, 2020, 5:08pm UTC](https://discourse.canceridc.dev/t/integrating-qc-tools-to-work-with-idc/113/3 "2020-10-25T17:08:29Z")

</div>

@satishev I do not think what you are suggesting is something that CCDH is working on, or something that is in their scope of interests.

But I agree overall it would be interesting to apply those tools against the data in IDC. Probably the easiest would be to make a colab notebook integrating with the metadata from IDC BigQuery tables, and fetching individual DICOM instances from the buckets. I think it should be straightforward for the most part, and the main chunk of work will be to adapt the ingestion part of your pipeline. Let us know if you want to work on this and have questions!

---

<div class="post-metadata">

**Author:** ![pihltd](https://avatars.discourse-cdn.com/v4/letter/p/48db29/32.png) [@pihltd](https://discourse.canceridc.dev/u/pihltd)\
**Post date:** [October 26, 2020, 11:40am UTC](https://discourse.canceridc.dev/t/integrating-qc-tools-to-work-with-idc/113/4 "2020-10-26T11:40:23Z")

</div>

@satishev, I just wanted to confirm what @fedorov was saying about CCDH, image quality is outside of their scope. Instead, CCDH is primarily focused on integrating the various data models used within CRDC and mapping across the various semantic ontologies. IDC will benefit in that it will be easier to search across CRDC and integrate images with the data from other CRDC data repositories.

---

<div class="post-metadata">

**Author:** ![satishev](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.canceridc.dev/satishev/32/46_2.png) [@satishev](https://discourse.canceridc.dev/u/satishev)\
**Post date:** [October 26, 2020, 5:10pm UTC](https://discourse.canceridc.dev/t/integrating-qc-tools-to-work-with-idc/113/5 "2020-10-26T17:10:48Z")

</div>

I think I understand. Are there any specific notebook examples or resources we should look at to start working on this?

Setting this up to be as useful or usable from the outset would ensure that folks actually use the tools, especially given the IDC will have multiple types of data available.

---

<div class="post-metadata">

**Author:** ![fedorov](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.canceridc.dev/fedorov/32/3_2.png) [@fedorov](https://discourse.canceridc.dev/u/fedorov)\
**Post date:** [October 26, 2020, 6:41pm UTC](https://discourse.canceridc.dev/t/integrating-qc-tools-to-work-with-idc/113/6 "2020-10-26T18:41:37Z")

</div>

Yes! I think these are the relevant pointers:

- [Organization of data - IDC User Guide](https://learn.canceridc.dev/data/organization-of-data) - you can learn here how the DICOM files and metadata tables are organized
- [Colab Notebooks - IDC User Guide](https://learn.canceridc.dev/cookbook/notebooks) - sample Colab notebooks

Please let us know when you have questions!
