This is a repo for the mapping of sequencing libraries to a reference genome, designed for Oxford Nanopore sequencing technology and Pacbio SMRT sequencing.
The pipeline runs the minimap2 algorithm on the sequencing libraries and allows one to determine the number of reads mapped to the reference genome and the mitochondrial genome (specifically).
- Install nextflow
- Install conda - preferably miniconda
- Download reference genome in your preferred location
- --reads: path to the folder containing the sequencing libraries (Note: Both gzip'd FASTA and FASTQ formats may be used as input.)
- --fasta: path to the reference genome to be used
- --type: type of sequencing technology used (Nanopore or PacBio only)
- -w: path to write nextflow work directory (Note: Recommended to direct work directory to an external drive)
foo@bar:~$ nextflow run Main.nf --reads '/mnt/mito/*.fastq.gz' --fasta '/mnt/mito/reference_genome/GRCh38.p13.genome.fa' --type 'Nanopore' -w '/mnt/mito/work/'