Emma Strand
09/04/2024, 1:36 PMQuitting from lines 358-363 [unnamed-chunk-14] (template.Rmd)
`Error in `knitr::include_graphics()`:`
! Cannot find the file(s): "FW_preprocessed_qual_stats.svg"; "RV_preprocessed_qual_stats.svg"
Backtrace:
1. knitr::include_graphics(c(params$dada_pp_qc_f_path, params$dada_pp_qc_r_path))
Execution halted Work dir:
/work/gmgi/Fisheries/eDNA/NY/scripts/work/b9/6d929f5af591fd5f62c7608e4c6691
`Tip: view the complete command output by changing to the process work dir and entering the command `cat .command.out``
-- Check '.nextflow.log' file for details
ERROR ~ Pipeline failed. Please refer to troubleshooting docs: <https://nf-co.re/docs/usage/troubleshooting>
-- Check '.nextflow.log' file for detailsEmma Strand
09/04/2024, 1:37 PM#!/bin/bash
#SBATCH --error=output_messages/"%x_error.%j" #if your job fails, the error report will be put in this file
#SBATCH --output=output_messages/"%x_output.%j" #once your job is completed, any final job report comments will be put in this file
#SBATCH --partition=short
#SBATCH --nodes=1
#SBATCH --time=20:00:00
#SBATCH --job-name=ampliseq
#SBATCH --mem=70GB
#SBATCH --ntasks=24
#SBATCH --cpus-per-task=2
## LOAD CONDA ENV
source ~/../../work/gmgi/miniconda3/bin/activate
conda activate nextflow
# SET PATHS
metadata="/work/gmgi/Fisheries/eDNA/NY/metadata"
output_dir="/work/gmgi/Fisheries/eDNA/NY/results"
nextflow run nf-core/ampliseq \
-profile singularity \
--input ${metadata}/samplesheet.csv \
--FW_primer "GTCGGTAAAACTCGTGCCAGC" \
--RV_primer "CATAGTGGGGTATCTAATCCCAGTTTG" \
--outdir ${output_dir} \
--trunclenf 20 \
--trunclenr 20 \
--trunc_qmin 25 \
--max_len 200 \
--max_ee 2 \
--sample_inference pseudo \
--skip_taxonomy \
--ignore_failed_filtering \
--ignore_failed_trimmingDaniel Lundin
09/04/2024, 4:02 PM--trunc_qmin doesn't do anything (AFAIK) when the lengths are set.Daniel Lundin
09/04/2024, 4:02 PMDaniel Lundin
09/04/2024, 4:07 PM-profile slurm,singularity to let Nextflow take care of job submission. This is more effective as it can utilize more than one compute node.Emma Strand
09/04/2024, 6:46 PMEmma Strand
09/04/2024, 6:46 PMDaniel Lundin
09/04/2024, 6:46 PM