#!/bin/bash
#SBATCH --job-name=nanoporeseq
#SBATCH --output=logs/nanopore-%j.out   # %j will be replaced with the job ID
#SBATCH --error=logs/nanopore-%j.err    # Optional: separate error log
#SBATCH --time=48:00:00
#SBATCH --partition=small
#SBATCH --mem=10G

module load nextflow

export NXF_SINGULARITY_CACHEDIR=path/to/cache/ 

nextflow run nf-core/nanoseq -c path/to/20102025_Nanopore/nextflow.config.txt \
--input path/to/20102025_Nanopore/sequences/samplesheet.csv \
--protocol cDNA \
--skip_demultiplexing \
--jaffal_ref_dir path/to/20102025_Nanopore/for_jaffal \
-profile singularity