Hello,
I am trying to run nf-core rnaseq pipeline and encounter the following error:
WARN: Nextflow self-contained distribution allows only core plugins -- User config plugins will be ignored: nf-schema@2.3.0
ERROR ~ Cannot find version for nf-schema plugin -- plugin versions MUST be specified in offline mode
I am running the pipeline in offline mode, hence included the following plugin in the config file after downloading it
plugins {
id 'nf-schema@2.3.0'
}
command used to download
nextflow plugin install nf-schema
Both nextflow binary and plug in directory are available in the offline mode. Here is the script I use to invoke the pipeline:
#!/bin/bash
#SBATCH --job-name=rna_mouse
#SBATCH --account=def-tperkins
#SBATCH --cpus-per-task=1
#SBATCH --time=15:00:00
#SBATCH --mem=30G
#SBATCH -o ../logs/rnaseq.%j.out
#SBATCH -e ../logs/rnaseq.%j.err
#
module load StdEnv/2023
module load java/21.0.1
module load apptainer/1.2.4
export SLURM_ACCOUNT=def-tperkins
export SALLOC_ACCOUNT=$SLURM_ACCOUNT
export SBATCH_ACCOUNT=$SLURM_ACCOUNT
export TMPDIR=/scratch/asmab/tmp
export NXF_OFFLINE='true'
export NXF_PLUGINS_DIR=/home/asmab/.nextflow/plugins
export PATH=$PATH:/home/asmab/.local/bin
nextflow run /scratch/asmab/nf-core/nf-core-rnaseq_3.18.0/3_18_0 \
--input ../raw_data/file/samplesheet.csv \
--outdir ../analysis/rnaseq_out \
-c obcf-graham.cfg \
--gtf ../resources/gencode.vM36.primary_assembly.basic.annotation.gtf \
--fasta ../resources/GRCm39.primary_assembly.genome.fa \
-w /scratch/asmab/work \
-plugins nf-schema@2.3.0