Description
Takes H5MU files that have been ingested by CellRanger, Xenium or CosMx and processed by the QC workflow, and generates:
A JSON file that contains the combined data for the QC report
A JSON file that defines the layout and structure of the QC report
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
modality: [ "rna" ]
obs_sample_id: [ "sample_id" ]
obs_total_counts: [ "total_counts" ]
obs_num_nonzero_vars: [ "num_nonzero_vars" ]
obs_fraction_mitochondrial: [ "fraction_mitochondrial" ]
obs_fraction_ribosomal: [ "fraction_ribosomal" ]
output: "$id.$key.output.json"
output_reporting_json: "$id.$key.output_reporting_json.json"
min_total_counts: [ 10 ]
min_num_nonzero_vars: [ 10 ]
obs_cellbender:
[
"cellbender_background_fraction",
"cellbender_cell_probability",
"cellbender_cell_size",
"cellbender_droplet_efficiency"
]
uns_cellranger_metrics: [ "metrics_cellranger" ]
obs_nucleus_area: [ "nucleus_area" ]
obs_cell_area: [ "cell_area" ]
obs_x_coord: [ "x_coord" ]
obs_y_coord: [ "y_coord" ]
obs_control_probe_counts: [ "control_probe_counts" ]
obs_control_codeword_counts: [ "control_codeword_counts" ]
id: "run"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/openpipeline_qc.git \
-revision v0.1.0 \
-main-script target/nextflow/ingestion_qc/h5mu_to_qc_json/main.nf \
-params-file params.yaml Name | Type & Properties |
|---|---|
--input | file required multiple |
--modality | string |
--ingestion_method | string required |
--obs_sample_id | string |
--obs_total_counts | string |
--obs_num_nonzero_vars | string |
--obs_fraction_mitochondrial | string |
--obs_fraction_ribosomal | string |
Name | Type & Properties |
|---|---|
--output | file required output |
--output_reporting_json | file required output |
Name | Type & Properties |
|---|---|
--min_total_counts | integer |
--min_num_nonzero_vars | integer |
--obs_metadata | string multiple |
Name | Type & Properties |
|---|---|
--obs_cellbender | string multiple |
--uns_cellranger_metrics | string |
Name | Type & Properties |
|---|---|
--obs_nucleus_area | string |
--obs_cell_area | string |
--obs_x_coord | string |
--obs_y_coord | string |
--obs_control_probe_counts | string |
--obs_control_codeword_counts | string |