|
| 1 | +# OpenPipeline QC |
| 2 | + |
| 3 | +OpenPipeline QC contains an extensible workflow for the generation of a stand-alone, interactive ingestion QC report for single-cell and spatial omics data. It is part of the [OpenPipeline](https://github.com/openpipelines-bio/openpipeline/) ecosystem and extends it with specialized functionality for ingestion quality control. |
| 4 | + |
| 5 | +[](https://www.viash-hub.com/packages/openpipeline_qc) |
| 6 | +[](https://github.com/openpipelines-bio/openpipeline_qc) |
| 7 | +[](https://github.com/openpipelines-bio/openpipeline_qc/blob/main/LICENSE) |
| 8 | +[](https://github.com/openpipelines-bio/openpipeline_qc/issues) |
| 9 | +[](https://viash.io) |
| 10 | + |
| 11 | +## Functionality |
| 12 | + |
| 13 | +### 1. QC Metrics Calculation |
| 14 | + |
| 15 | +The workflow calculates extensive ingestion QC metrics at both the observation and feature levels. **Observation-level metrics** include total counts per cell, gene detection rates, mitochondrial and ribosomal gene percentages, and expression concentration in top genes. **Feature-level metrics** cover gene expression summaries such as total counts per gene, detection rates across cells, mean expression levels, and dropout percentages. |
| 16 | + |
| 17 | +**Spatial data metrics:** |
| 18 | +For spatial data, the workflow also surfaces segmentation metrics. |
| 19 | + |
| 20 | +### 2. Interactive Report Generation |
| 21 | + |
| 22 | +After calculating QC metrics, the workflow generates a standalone interactive report using the [siqc](https://github.com/openpipelines-bio/siqc) package (standalone, interactive QC reporting engine). |
| 23 | + |
| 24 | +**siqc features:** |
| 25 | +- 🚀 **Progressive Loading**: Large datasets (millions of cells) load incrementally without blocking the UI |
| 26 | +- 📊 **Interactive Visualizations**: Histograms, scatter plots, heatmaps, and spatial plots with Plotly.js |
| 27 | +- 🗜️ **Efficient Compression**: Binary data format with gzip compression for optimal file sizes |
| 28 | +- 📄 **Standalone Reports**: Single HTML file with no external dependencies |
| 29 | +- 🎯 **Spatial Analysis**: Advanced spatial plotting with faceting and optimization |
| 30 | +- ⚡ **Performance Optimized**: Web Workers, typed arrays, and multi-scale rendering |
| 31 | + |
| 32 | +### 3. Quality Assessment for Downstream Processing |
| 33 | + |
| 34 | +The generated report can be used to set thresholds for QC-based filtering, which can then be applied for further processing of the data using the core [OpenPipeline](https://github.com/openpipelines-bio/openpipeline/) of [OpenPipeline Spatial](https://github.com/openpipelines-bio/openpipeline_spatial/) packages. |
| 35 | + |
| 36 | +**Supported platforms:** |
| 37 | +- 10x Genomics single-cell multi-omics (Cellranger Multi output) |
| 38 | +- 10x Genomics Xenium spatial transcriptomics |
| 39 | + |
| 40 | +## Execution via CLI or Seqera Cloud |
| 41 | + |
| 42 | +The openpipeline_qc package is available via [Viash Hub](https://www.viash-hub.com/packages/openpipeline_qc/latest/), where you can receive instructions on how to run the end-to-end workflow as well as individual subworkflows or components. |
| 43 | + |
| 44 | +It's possible to run the workflow directly from Seqera Cloud. The necessary Nextflow schema files have been [built and provided with the workflows](https://packages.viash-hub.com/vsh/openpipeline_qc/-/tree/build/main/target/nextflow/workflows/generate_qc_report) in order to use the form-based input. However, Seqera Cloud can not deal with multiple-value parameters for batch processing of multiple samples. Therefore, it's better to use Viash Hub also here for launching the workflow on Seqera Cloud. |
| 45 | + |
| 46 | +* Navigate to the [Viash Hub package page](https://www.viash-hub.com/packages/openpipeline_qc/latest/), select the workflow you want to launch and click the `launch` button. |
| 47 | +* Select the execution environment of choice (e.g. `Seqera Cloud`, `Nextflow` or `Executable`) |
| 48 | +* Fill in the form with the required parameters and launch the workflow. |
| 49 | + |
| 50 | +## Support |
| 51 | + |
| 52 | +For issues specific to quality control analysis, please use the [GitHub issues tracker](https://github.com/openpipelines-bio/openpipeline_qc/issues). For general OpenPipeline questions, refer to the main [OpenPipeline documentation](https://openpipelines.bio/). |
0 commit comments