The Nanopore is used to analyze long reads produced by the Oxford Nanopore Technologies (ONT) sequencers. Currently, the pipeline uses Minimap2 to align reads to the reference genome. Additionally, it produces a QC report that includes an interactive dashboard for each readset with data from the basecalling summary file as well as the alignment. A step aligning random reads to the NCBI nucleotide database and reporting the species of the highest hits is also done as QC.
Once the QC and alignments have been produced, Picard is used to merge readsets coming from the same sample. Finally, SVIM is used to detect Structural Variants (SV) including deletions, insertions and translocations. For a full summary of the types of SVs detected, please consult the following site.
The SV calls produced by SVIM are saved as VCFs for each sample, which can then be used in downstream analyses. No filtering is performed on the SV calls.
This pipeline currently does not perform base calling and requires both FASTQ and a sequencing_summary file produced by a ONT supported basecaller (we recommend Guppy). Additionally, the testing and development of the pipeline were focused on genomics applications, and functionality has not been tested for transcriptomic or epigenomic datasets. Beyond the QC dashboards for each readset, there is currently no implemented reporting step in this pipeline.
Replace beluga.ini file name in the command above with the appropriate clustername.ini file located in the $MUGQIC_PIPELINES_HOME/pipelines/common_ini folder, depending upon the cluster where you are executing the pipeline. For e.g., narval.ini, cedar.ini, graham.ini or narval.ini.
Warning
While issuing the pipeline run command, use `-gGENPIPES_FILE` option (see example above) instead of using the `>GENPIPES_FILE` option supported by GenPipes so far, as shown below:
`>scriptfile`should be considered deprecated and`-gscriptfile`option is recommended instead.
Please note that redirecting commands to a script `>genpipe_script.sh` is still supported for now. But going forward, this mechanism might be dropped in a future GenPipes release.
Note
Nanopore Readset Format
Use the following readset file format for Nanopore, Nanopore CoV-Seq pipelines:
Sample: must contain letters A-Z, numbers 0-9, hyphens (-) or underscores (_) only; mandatory;
Readset: a unique readset name with the same allowed characters as above; mandatory;
Run: a unique ONT run name, usually has a structure similar to PAE0000_a1b2c3d;
Flowcell: code of the type of Flowcell used, for example: the code for PromethION Flow Cell (R9.4) is FLO-PRO002;
Library: code of the type of library preparation kit used, for example: the code for the Ligation Sequencing Kit is SQK-LSK109;
Summary: path to the sequencing_summary.txt file outputted by the ONT basecaller; mandatory;
FASTQ: mandatory, path to the fastq_pass directory, that is usually created by the basecaller
FAST5: path to the directory containing the raw fast5 files, before basecalling
Example:
Sample
Readset
Run
Flowcell
Library
Summary
FASTQ
FAST5
sampleA
readset1
PAE00001_abcd123
FLO-PRO002
SQK-LSK109
path/to/readset1_sequencing_summary.txt
path/to/readset1/fastq_pass
path/to/readset1/fast5_pass
sampleA
readset2
PAE00002_abcd456
FLO-PRO002
SQK-LSK109
path/to/readset2_sequencing_summary.txt
path/to/readset2/fastq_pass
path/to/readset2/fast5_pass
sampleA
readset3
PAE00003_abcd789
FLO-PRO002
SQK-LSK109
path/to/readset3_sequencing_summary.txt
path/to/readset3/fastq_pass
path/to/readset3/fast5_pass
sampleA
readset4
PAE00004_abcd246
FLO-PRO002
SQK-LSK109
path/to/readset4_sequencing_summary.txt
path/to/readset4/fastq_pass
path/to/readset4/fast5_pass
Test Dataset
You can download the test dataset for this pipeline here.
--sanity-check run the pipeline in `sanity check mode` to verify
all the input files needed for the pipeline to run
are available on the system (default: false)
Following are the various steps that are part of GenPipes Nanopore genomic analysis pipeline:
BlastQC
In this step, Blast-QC utility is used for sequence alignment and identification. It performs a basic QC test by aligning 1000bp of randomly selected reads to the NCBI Nucleotide Database in order to detect potential contamination.
Minimap2 Align
Minimap2 Align Program is a fast, general purpose sequencing alignment program that maps DNA and long mRNA sequences against a large reference database. It can be used for Nanopore sequencing for mapping 1kb genomic reads at an error rate of 15% (e.g., PacBio or Oxford Nanopore genomic reads), among other uses.
In this step, minimap2 to align the Fastq reads that passed the minimum QC threshold to the provided reference genome. By default, it aligns to the human genome reference (GRCh38) with Minimap2.
pycoQC
In this step, pycoQC Software is used produce an interactive quality report based on the summary file and alignment outputs. PycoQC relies on the sequencing_summary.txt file generated by Guppy. If needed, it can also generate a summary file from basecalled FAST5 files. PycoQC computes metrics and generates interactive QC plots for Oxford Nanopore technologies sequencing data.
Picard Merge SAM Files
BAM readset files are merged into one file per sample in this step. Using aligned and sorted BAM output files from Minimap2 Align step, it performs the merge using Picard.
Structural Variant Identification using Mapped Long Reads
In this step, Structural Variant Identification using Mapped Long Reads (SVIM methodology), is used to perform structural variant (SV) analysis on each sample.
Structural Variations (SV) are genomic alterations including insertions, deletions, duplications, inversions, and translocation. They account for approximately 1% of the differences among human genomes and play a significant role in phenotypic variation and disease susceptibility.
Nanopore sequencing technology can generate long sequence reads and provides more accurate SV identification in terms of both sequencing and data analysis. For SV analysis, several new aligners and SV callers have been developed to leverage the long-read sequencing data. Assembly based approaches can also be used for SV identification. Minimap2 aligner offers high speed and relatively balanced performance for calling both insertions as well as deletions.