This repository contains a configuration file and parameters template for
running Nextflow pipelines on Sasquatch. If you are using an nf-core pipeline,
you should not use the instructions in this repository, but should instead use
-profile seattlechildrens.
(See nf-core_vetted_pipelines
for some specific information on individual pipelines that we have tested on
Sasquatch.) Otherwise, if you are building your own pipeline or using one that
you found on GitHub, you can use the files from this repository to get it
running on Sasquatch.
-
Copy
conf/sasquatch.configto theconffolder in your workflow. You might consider modifying theworkDirorcacheDirdirectories if you want to have pipeline-specific directories. -
Edit
nextflow.configto add the lineincludeConfig "./conf/sasquatch.config" -
If using a params file to pass in parameters (highly recommended so you don't have to further edit
nextflow.config) you can useparams/params.ymlas a starting point. Alternatively you can define theassocparameter in your own params or config file. -
The code below can be modified for running your pipeline.
mamba activate nextflow
DATE=$(date +%F)
PREFIX="pipelinereport_${DATE}"
nextflow -log "reports/${PREFIX}_nextflow.log" \
-c nextflow.config \
run main.nf \
-profile sasquatch \
-params-file params/<PARAMS.yml> \
-work-dir <WORKDIR> \
-resume