Custom Pipeline Configuration
Custom Pipeline Configuration
The custom pipeline option is designed to make Connected Insights understand the structure of the secondary analysis output files produced by a pipeline that is not yet compatible with the software. This option also requires the creation of a workflow schema file that describes the content and location of the secondary analysis output files. For an example of a how to configure a custom pipeline for TSO 500 Analysis Module v2.2, refer to Custom Pipeline Configuration Example.
In Connected Insights v5.5 and later, the same YAML file also registers the pipeline and its QC thresholds when uploaded from Configuration > General > Pipeline & QC Configuration. For pipeline registration (pipeline:), QC thresholds (threshold:), and uploading the file, refer to Pipeline and QC Configuration and Pipeline and QC Configuration YAML. The sections below document the file-layout portions of the YAML (sampleSheet, jointFiles, sampleFiles).
Select Custom Pipeline
Input secondary analysis output folder to be monitored.
In Configuration Settings, select the radio button next to Configure custom pipeline.
If necessary, create a workflow schema file by selecting Download the template file. For more information on setting up the template file, refer to Create a Workflow Schema File
Select Choose File to upload your template file.
For Custom Pipeline Name, enter a name for the pipeline.
For Test Definition, select the applicable definition.
[Optional] Input the location of the folder where case metadata data is available.
Select Save.
Create a Workflow Schema File
To set up data upload for secondary analysis output data that is not yet compatible with Connected Insights, create a workflow schema file (.yaml format). This file specifies the files in the secondary analysis output data that Connected Insights analyzes. This file is only used when configuring a custom pipeline through Data Upload > From Local Storage.
Download a workflow schema file template from Connected Insights as follows.
On the top toolbar, select Configuration.
Select the General tab.
Select Data Upload.
Select From Local Storage.
For Define and Monitor Data Uploads, select Add Path.
For Configuration Settings, select the radio button next to Configure custom pipeline.
Select Download a template file to download the workflow schema template file. If you do not want to create a pipeline, select Cancel. When prompted, select Yes, clear.
Edit the file as needed to reflect the files for upload. Refer to the following topics that pertain to the workflow schema template file sections:
Pipeline and QC Configuration YAML —
pipeline:registration andthreshold:QC metrics (required when uploading from Pipeline & QC Configuration)
After the workflow schema file is edited, create a pipeline. Then, select Configure manually under Configuration Settings.
Select Choose File and upload the edited workflow schema file.
Complete the remaining fields and save the pipeline.
Pipeline Registration and QC Thresholds
The pipeline: block (display name, version, Platform Core ids, marker files) and the threshold: QC section are documented in Pipeline and QC Configuration YAML. For uploading a complete configuration file from Configuration > General > Pipeline & QC Configuration, refer to Pipeline and QC Configuration.
File Layout Overview
These three sections tell Connected Insights where each analysis output file lives; they are what populate the Results, Visualize, and Lab QC tabs. The jointFiles section is required in practice — it declares the variant files, and an analysis imported without it brings in no variants and may fail; sampleSheet and sampleFiles are optional. Every file slot takes an ordered list of candidate glob patterns (first match wins), and each pattern may carry the trailing , Optional marker.
Sample Sheet
Locates the sample sheet and maps its columns to Connected Insights expected fields.
filePath
Path to the sample sheet CSV.
columnAliases
Maps the sample-sheet column names to Connected Insights fields (see below).
dataHeaderRowMarker
The marker row(s) that appear immediately above the column headers (e.g. [Data], [Sample_Data]).
columnAliases — each is set to the corresponding column name in the lab's sample sheet:
sampleId
Sample ID (becomes the Case ID)
sampleType
DNA / RNA sample-type column
pairId
Pair ID used to group DNA + RNA (or tumor + normal)
caseId
Case grouping id
sex
Patient sex
specimenType
Specimen type
subjectId
Subject id
disease.id
Disease SNOMED CT code
disease.name
Disease SNOMED CT name
For disease aliases, if the disease name or ID is not provided, then the Status column on the Cases page displays Missing Required Data. This message displays until the disease name or ID is added. You can add a disease by uploading disease information as custom case data. You can also open the case in Connected Insights and enter the disease for an individual case. For more information on key genes, refer to Overview Tab.
Joint Files
Per-case variant, biomarker, and QC files. Each key is one logical file type; all are lists of candidate patterns. At least one variant file type (typically snvFiles) must be declared for an analysis to import any variants.
File names can include symbolic references to the files that depend on the Sample ID or Pair ID:
{sampleId.DNA}: Corresponds to the Sample_ID column when Sample_Type is DNA.{sampleId.RNA}: Corresponds to the Sample_ID column when Sample_Type is RNA.{sampleId.tumor.DNA}: Corresponds to the Sample_ID column when Sample_Type is DNA and Sample_Classification is TUMOR.{sampleId.tumor.RNA}: Corresponds to the Sample_ID column when Sample_Type is RNA and Sample_Classification is TUMOR.{sampleId.normal.DNA}: Corresponds to the Sample_ID column when Sample_Type is DNA and Sample_Classification is NORMAL.{pairId}: Corresponds to the Pair_ID column, used for Case Display ID; the samples with same Pair_ID will group together as one case.{prefix}: Corresponds to the Output_file_prefix column.
When using the workflow schema file template downloaded from the Configuration page, lines for files that are not uploaded can be deleted. The , Optional designation can be removed unless the file is an optional file for the pipeline.
snvFiles
VCF
Small variants (SNV / MNV / indel)
cnvFiles
VCF
Copy-number variants
svFiles
VCF
Structural variants
rnaSpliceFiles
VCF
RNA splice variants
rnaFusionFiles
VCF
RNA fusions
rnaGeneExpressionFiles
.quant.genes.sf
RNA gene expression (TPM)
tmbFile
JSON / CSV
Tumor mutational burden
msiFile
JSON
Microsatellite instability
gisFile
JSON
Genomic instability score
hrdFile
CSV
Homologous-recombination deficiency
mrdFile
JSON
Minimal residual disease
hlaFile
TSV
HLA genotyping
purityPloidyFiles
VCF / TSV
Purity and ploidy
metricsQCFile
CSV / TSV
QC metrics — the source for the threshold: section
Sample Files
Per-sample alignment and visualization files that drive IGV and the coverage plots. They are grouped by tumorPairId and normalPairId. For more information on IGV, refer to IGV Visualizations.
alignmentFiles—dnaBamFile,dnaBaiFile,rnaBamFile,rnaBaiFile(and genericbamFile/baiFile) drive the Visualize tab's IGV / BAM track. CRAM/CRAI may be supplied in place of BAM/BAI — listing both as candidates, as above, lets Connected Insights ingest whichever is present.visualizationFiles—coverageFiles,coverageBedFiles, andballelesFilesfeed the gene-coverage and B-allele-frequency plots.
Custom Pipeline Configuration Example
The following example shows the custom pipeline configuration process using Local Run Manager TruSight Oncology 500 Analysis Module v2.2. For details on this process, refer to Custom Pipeline Configuration.
Uploaded Data
Uploaded data is organized as cases that provide details about the sample. A case is a secondary analysis result that has been imported and annotated.These files include VCF files for genetic variants (or CSV files for TruSight Oncology 500 RNA Fusion variants). The cases page lists all cases for your account or workgroup. The following files can be uploaded, but are not required:
BAM files
JSON, TSV, and CSV files for TMB, MSI, and HRD biomarkers or for QC metrics
Example Sample Sheet
Make sure that the sample sheet is included in the secondary analysis results folder. The following example shows the structure of the [Data] section of the sample sheet:
Using this example, Connected Insights creates the following cases:
Case ID
Workflow Type
Disease
Sample ID
Sample Type
Control-Case
DNA and RNA
Malignant tumor of unknown origin (SNOMEDCT ID255052006)
DNA_Control RNA_Control
DNA RNA
Lung_001
DNA and RNA
Non-small cell lung cancer (SNOMEDCT ID 254637007)
Lung_DNA_001 Lung_RNA_001
DNA RNA
Breast_002
DNA
Malignant tumor of breast (SNOMEDCT ID 254837009)
Breast_DNA_002
DNA
Example Analysis Results
Open the secondary analysis results folder and find the files that must be identified in the workflow schema file. The following example shows the secondary analysis results folder structure:

Example Workflow Schema File
For more information, refer to Create a Workflow Schema File in Custom Pipeline Configuration.
The following example shows the workflow schema file structure:
Last updated
Was this helpful?

