Appearance
Pipeline Page
The Pipeline Page is where data is uploaded into Pantograph and where you follow the pipelines that run in the background, such as uploads, clustering, region exports, genotyping and BLAST searches. Open it with the Pipeline Page button in the top bar.
The page has one tab per task:
- Status
- Metadata Management
- Gene Alias Management
- VCF Management
- Upload QTLs
- Upload Expression
- Graph Genotyping
- Graph Setup
- BLAST Management
INFO
Uploading and deleting data needs the expert role. Ask your administrator or project manager if you need access.
TIP
- Pipeline names must be unique within a project and must not contain
/or\(or be.or..). - Most pipeline forms have a Notify me switch that sends you an e-mail when the pipeline finishes.
- Press Ctrl+Enter (⌘+Enter on Mac) while in a form to start its pipeline.
Upload Data
The following data can be added to a project or updated on the Pipeline Page. Follow the links for the file requirements and step-by-step instructions.
| Data | Input format | Existing data | Instructions |
|---|---|---|---|
| Metadata of the tracks | CSV/TSV table with a genome_name column | added as a new group; categories are merged | Upload Metadata |
| Variant tracks | VCF files listed in a samplesheet | samples are added to their group; re-uploaded samples are replaced | Upload Variant Tracks |
| Variant tracks from sequencing reads | FASTQ files listed in a sample sheet | resulting VCFs are uploaded like variant tracks | Graph Genotyping |
| QTL regions | BED file (7 columns) | replaced | Upload QTLs |
| Gene expression | gene count matrix and BioSample metadata in the bucket | replaced | Upload Expression |
| Gene aliases | CSV/TSV table with gene_id,alt_gene_id | added as a new group | Upload Gene Aliases |
| New pangenome graphs | genome FASTA files and annotations listed in a sample sheet | creates a new pangenome | Graph Setup |
The progress of every upload is shown in the Status tab. Custom trees for the tree view cannot be uploaded by users; contact Computomics to add them.
Status
The Pipeline Status table gives an overview of all running and finished pipelines of the project, with the columns Name, Pipeline, Start Date, Status and User. Use the Search field to filter the list and to refresh it.
The button of a row opens its actions:
- Browse results: list the result files of a finished clustering, region export, graph genotyping or BLAST pipeline (see Browse Results)
- Show tree: open the dendrogram of a finished clustering
- Resume pipeline: restart a failed or stopped pipeline
- Show pipeline log: view the log of the pipeline, e.g. to find out why it failed
- Delete pipeline: remove the pipeline from the list
Delete a Pipeline
Deleting a pipeline removes it from the list; a pipeline that is still running is stopped first. Only the user who started a pipeline (or a superuser) can delete it. Depending on the pipeline type, the confirmation dialog explains which result files are deleted along with it; for example, deleting a BLAST pipeline also deletes all its BLAST hits and alignments. For VCF upload and graph genotyping pipelines, the switch Delete input data on s3 as well additionally removes the input files.
WARNING
Deleting the pipeline of a VCF, expression or genotyping upload does not remove the uploaded data from Pantograph. VCF groups are deleted in VCF Management.
Browse Results
Browse results opens a list of the pipeline's result files with their type, size and date. Click a file to download it.
- Files larger than the download limit of your installation are marked Too large and cannot be downloaded through the browser. Click the row to get its S3 path instead. If the file is not on S3 yet, click Copy to S3 first; the copy can take several minutes and its progress is shown.
- For a finished Graph Genotyping pipeline, each generated VCF file (PanGenie, vg, Reference-based or Varigraph) can be uploaded into Pantograph directly: click the VCF Upload row and confirm with Start pipeline.
Metadata Management
The Metadata Management tab is used to upload and delete metadata groups.
Upload Metadata
To add or update metadata, click Upload Metadata, enter a Group name, select a CSV/TSV file, and click Upload.
Requirements
The metadata file must have a header line naming the metadata categories that will be displayed in Pantograph, and one column must be named genome_name. Each further row holds the metadata of one track, in the order of the categories in the header; see the example metadata file below.
- The file must be a
.csvor.tsvfile in UTF-8 encoding. - Besides
genome_name, it needs at least one metadata column and at least one data row. - Genome names must not contain the project's track name separator or the symbol
'. - The Group name must be unique in the project and must not contain spaces,
/or\(and must not be.or..). An upload with a group name that already exists is refused.
INFO
Both categorical and numerical metadata values are supported and will be automatically identified.
IMPORTANT
When a new file is uploaded, its metadata is added to the existing metadata in Pantograph. Each upload is stored under its group name, so that all metadata of a specific group/file can be deleted later on. A metadata category is one column for the whole project: uploading a category that already exists does not duplicate it. Its values are merged per genome, and where several groups give a value for the same genome, the most recent non-empty value is shown.
Example Metadata CSV File
csv
genome_name,cultivation,yield_random
pathA,cultivated,0.146957
pathB,landrace,0.326076
vcfTrack1,cultivated,0.461396
vcfTrack2,,0.473928INFO
Missing data is represented by an empty entry in the respective metadata column (e.g., cultivation for vcfTrack2 in the example above).
After the upload, the new data will be available in Pantograph after a reload of the Pantograph website.
TIP
Only one metadata upload can run at a time per project.
Delete Metadata
The Metadata Management table lists all metadata groups with their columns. Click Delete next to a group to remove all metadata uploaded with it. The deletion takes effect immediately and is not possible while a metadata upload is running. A category with no values left after the deletion disappears.
Gene Alias Management
Gene aliases link alternative gene names to the gene IDs of the graph, so that genes can also be found by their aliases. The table lists each upload group with its Number of genes, Number of aliases and Date.
Upload Gene Aliases
Click Upload Gene Aliases, enter a unique Group name, select the file and click Upload.
- The file is a CSV or TSV file with the header line
gene_id,alt_gene_id. gene_idis the gene ID as it appears in the graph,alt_gene_idthe alias.- A gene can have several aliases, but each alias must be unique.
Each upload is stored as its own group. Click Delete next to a group to remove all aliases uploaded with it. Only one gene alias upload or deletion can run at a time.
VCF Management
The VCF Management tab lists all VCF groups of the project with their Group name, number of Samples and Variants, Size, Upload date and Files.
- Upload VCF opens the upload dialog; see Upload Variant Tracks.
- Download in the Files column lists the files stored for the group: the merged group VCF (all uploads) with its index, and the original files of each upload, newest upload first.
- Delete removes the whole group. Deleting a VCF group is reserved for expert users and takes effect immediately. It is not possible while a VCF upload, or a clustering or region export that reads variant tracks, is running.
WARNING
Deleting a VCF group removes every variant it holds, together with the group's merged VCF and every original VCF file uploaded into it. Deleted variants cannot be recovered from Pantograph, so download the files you may need first. A group re-created under the same name starts from the newly uploaded samples alone.
Upload Variant Tracks
New variant tracks are uploaded using input data in VCF format (Variant Call Format).
Variant tracks are organized into groups, which can be selected together within Pantograph. Typically, the tracks belonging to a group are stored in a single multi-sample VCF file, but several VCF files can be uploaded into the same group, as long as they are all called against the same reference genome.
Your VCF files must be uploaded to an object storage service (e.g., S3 or MinIO) to avoid large browser uploads. If Pantograph runs on Computomics' premises, you need a 'Keycloak' account to securely access the data storage platform.
Step-by-Step Instructions
- Get a Keycloak account (for Pantograph installations on Computomics' premises)
- Request a 'Keycloak' account from your Computomics representative or from support.
- Upload the VCF Files
- Please follow these instructions how to upload your VCF files to the data storage system at Computomics with your Keycloak account.
- Copy the path of each VCF file you placed into the bucket.
- Create a Samplesheet
- Format the samplesheet as a CSV file (comma-separated).
- The header line must be exactly:
group,reference,vcf - For each VCF file, add a new line with:
- Group: A user-defined name for the VCF track group (e.g., vcf_group_1). This name will appear in the track selection menu.
- Reference: The reference genome name (as used in the graph; omit any chromosome or sequence suffix, e.g., use genomeA instead of genomeA_Chr01).
- VCF Path: The path to the uncompressed
.vcfor bgzip-compressed.vcf.gzfile. This can be ans3://path in the project's bucket, an absolute path on the server (starting with/), or a path relative to the project folder. The file must exist when the upload starts.
- Open the Upload Dialog
- In the VCF Management tab, click Upload VCF.
- Enter a Pipeline name and select the samplesheet created in step 3.
- Start the Upload
- Optionally, switch on Notify me to get an e-mail when the pipeline finishes.
- Click Start upload to begin processing.
- The software will convert and integrate the VCF files into the required format. This process may take several hours. Its progress is shown in the Status tab.
- Individual variant tracks for each sample and a summary track of all variants are always generated.
Notes
- Variant track names are extracted from the
SAMPLEcolumns in the VCF file header. - Sample names must be unique within each variant group, but can be reused across groups and may optionally match graph track names.
- Group and reference names must not contain spaces,
/or\. They must not contain.vs., a group name must not end with.vs, and a reference name must not contain.vcf. - All lines of a group must name the same reference. A samplesheet that gives one group two references is refused, as is an upload into a group that already exists with a different reference.
- Uploading to an existing group adds new samples or updates existing ones. Re-uploading a sample replaces its calls, while all other samples remain unchanged.
- A VCF upload cannot start while another VCF upload, or a clustering or region export that reads variant tracks, is running (and vice versa).
After the upload completes, the new variant track groups will be available in the Tracks tab of the Data Management Menu after refreshing the software interface.
Upload QTLs
QTL regions are uploaded in the Upload QTLs tab. Enter a Pipeline name and provide the QTL data in one of three ways: Paste content, Upload file (.bed or .bed.gz), or Path to the file in the bucket. Then click Start pipeline.
WARNING
The uploaded QTL file replaces all existing QTL data. Always keep a single, complete QTL file and upload the updated version.
Pantograph accepts QTL data in a custom, tab-delimited BED format with the columns chrom, chromStart, chromEnd, name, score, strand, info:
- Column 1, chrom: chromosome or scaffold identifier, as defined in the graph
- Columns 2 and 3, chromStart and chromEnd: start and end of the region (0-based); a single position is given as a 1 bp interval (end = start + 1)
- Column 4, name: group label, e.g. the trait description (may contain commas)
- Column 5, score: integer between 0 and 1000, or
./empty - Column 6, strand:
+or-, or./empty - Column 7, info: optional semicolon-separated
key=valuepairs that are shown in the QTL Card
The first four columns are mandatory, and the columns must always be in this order. Lines starting with # and columns beyond the 7th are ignored. Only one QTL upload can run at a time. The new QTLs are available in the Genome View when the pipeline has finished.
Upload Expression
Gene expression data is uploaded in the Upload Expression tab. The files are not uploaded through the browser but read from the project's bucket folder that is shown in the Requirements panel of the tab:
- Gene count matrix (genes x BioSamples) in the subfolder
gene_count_data/: genes in rows, one column per BioSample with its ID in the header line. The gene ID column is namedgene_idorGeneand holds the gene IDs as in the graph. - BioSample metadata in the subfolder
metadata/: a header line withBioSampleand any columns to group the samples by, such as tissue, treatment, genotype or time point. Each BioSample must appear in exactly one row.
Both table types support CSV and TSV formats and can be split across multiple files. Each subfolder must contain at least one .csv or .tsv file directly. Missing values may be left empty or marked as NA. Count columns with BioSamples absent from the metadata are ignored.
Enter a Pipeline name and click Start upload. All files in the folder are uploaded, and the tables built from them replace the project's expression data. The new data is available in the Gene Passport when the pipeline has finished.
Graph Genotyping
Graph Genotyping aligns sequencing reads (FASTQ) against the pangenome and calls variation. This pipeline can take many days. It needs the expert role.
- Enter a Pipeline name.
- Select a Sample sheet in CSV format with the header line
group,sample,fastq_1,fastq_2:- group: name of the variant group; it is shown as the group of samples in the track menu
- sample: name of the genotyped line; it is shown as the variant track name
- fastq_1, fastq_2: paths to the two read files on the bucket, ending in
.fq,.fastq,.fq.gzor.fastq.gz
- Choose the Name of the genome against which variants are reported (must be contained in the graph).
- Choose which genotyping methods to run:
- Single reference mapping based genotyping (GATK): aligns reads to the reference genome
- Graph mapping based genotyping (vg): aligns reads to the pangenome graph
- Graph k-mer based genotyping (PanGenie): compares read k-mer counts with the graph haplotypes (alignment-free)
- Graph k-mer based genotyping (Varigraph): compares read k-mer counts with the pangenome k-mers (alignment-free). Varigraph has extra options: Homozygous or Heterozygous genome, Ploidy (2 to 8, default 2), Structural variation only and Use sequencing depth.
- Click Start pipeline.
When the pipeline has finished, upload the new variant tracks via Browse results of this pipeline in the Status tab.
Graph Setup
Graph Setup generates new pangenome graphs and a genomic data hub from genome FASTA files, annotations and further inputs given in a sample sheet. It is meant for administrators and expert users and takes many hours. When it has finished, the new pangenome can be opened from the project selection.
BLAST Management
The BLAST Management tab lists all BLAST pipelines of the project with their Pipeline name, number of Queries, Targets and Hits, and Date.
- New BLAST Pipeline starts a new BLAST search; see Run a BLAST Pipeline.
- Delete removes a BLAST pipeline together with its hits, which then no longer appear in the Genome View.