Skip to content

Execution Flow by Request

This page provides an overview of the rule execution flow tailored to different request specified in the job configuration file of NovaScope.

Each request option triggers a specific set of rules. Thus, below provides a rulegraph for each request option to outline the triggered rules and their interdependencies, detailing distinct processing paths.

Info

The visual guides below are constructed from a baseline scenario where only the initial input 1st-seq and 2nd-seq FASTQ files are present, with no prior processing or intermediate files generated.

Request "sbcd-per-flowcell"

  • Description: The "sbcd-per-flowcell" option initiates the generation of a spatial barcode map specific to a flow cell. Consequently, it triggers the execution of Rule fastq2sbcd.

  • Rule Graph:

rg_sbcdperfc

Request "sbcd-per-chip"

  • Description: The "sbcd-per-chip" option requests a spatial barcode map specific to a given section chip and a plot of the distribution of spatial barcodes, triggering the execution of Rule sbcd2chip and its prerequisite rule: fastq2sbcd.

  • Rule Graph:

rg_sbcdperfc

Request "smatch-per-chip"

  • Description: For each pair of input 2nd-seq FASTQ files associated with a given chip, the "smatch-per-chip" option demands two files, including a file of spatial barcodes matched to the 2nd-seq reads alongside its summary metrics, and an image depicting the spatial distribution of those matched barcodes. This request prompts the execution of Rule smatch and its prerequisite rules: sbcd2chip and fastq2sbcd.

  • Rule Graph:

rg_smatch

Request "align-per-run"

  • Description: The "align-per-run" option request a Binary Alignment Map (BAM) from the alignment as well as the digital gene expression matrices (DGEs) for Gene, GeneFull, splice junctions (SJ), and Velocyto. It provokes the execution of Rule align and its prerequisite rules including smatch, sbcd2chip, and fastq2sbcd.

  • Rule Graph:

rg_align

Request "sge-per-run"

  • Description: The "sge-per-run" option inquires: 1) a spatial digital gene expression matrix (SGE) encompassing all genomic features with two plots visualizing the distribution of the aligned spatial barcodes; 2) visualization for genes of interest provided in the job configuration file. It requests the execution of Rule dge2sdge and gene_visual, alongside the prerequisite rules: align, smatch, sbcd2chip, and fastq2sbcd.

  • Rule Graph:

rg_sge

Request "transcript-per-unit"

rg_sge

Request "segment-per-unit"

rg_sge