nextflow
& nf-core
on UPPMAX¶
- Official documentation: https://www.nextflow.io/docs/latest/index.html
nextflow
from the module system¶
- latest
nextflow
module load bioinfo-tools
module load Nextflow/latest # this also loads java as reqirement
nextflow -v
nextflow version 24.04.4.5917
- alternative versions
# To check the available versions on Rackham and Bianca
ls /sw/bioinfo/Nextflow/latest/rackham/nxf_home/framework/
20.04.1 20.10.0 21.10.6 22.10.1 22.10.3 22.10.8 23.04.2 23.04.4 23.10.1 24.04.2 24.04.4
20.07.1 21.04.3 22.10.0 22.10.2 22.10.4 23.04.1 23.04.3 23.10.0 24.04.1 24.04.3
nf-core
from the module system¶
nf-core
and and all other required modules are available on thetransit
server as well.
module load bioinfo-tools
module load nf-core # this also load the nextflow and java as requirements
nf-core
pipelines on Bianca¶
- Login to
transit.uppmax.uu.se
- documentation -
Mount the
wharf
of your project. -
Navigate to your
wharf
folder -
Disable Singularity cache
-
Load nf-core software module
-
Run
nf-core
to download the pipeline.nf-core download pixelator ,--./,-. ___ __ __ __ ___ /,-._.--~\ |\ | |__ __ / ` / \ |__) |__ } { | \| | \__, \__/ | \ |___ \`-._,-`-, `._,._,' nf-core/tools version 2.11.1 - https://nf-co.re WARNING Could not find GitHub authentication token. Some API requests may fail. ? Select release / branch: 1.0.2 [release] ? Include the nf-core's default institutional configuration files into the download? Yes In addition to the pipeline code, this tool can download software containers. ? Download software container images: singularity Nextflow and nf-core can use an environment variable called $NXF_SINGULARITY_CACHEDIR that is a path to a directory where remote Singularity images are stored. This allows downloaded images to be cached in a central location. ? Define $NXF_SINGULARITY_CACHEDIR for a shared Singularity image download folder? [y/n]: n If transferring the downloaded files to another system, it can be convenient to have everything compressed in a single file. This is not recommended when downloading Singularity images, as it can take a long time and saves very little space. ? Choose compression type: none INFO Saving 'nf-core/pixelator' Pipeline revision: '1.0.2' Use containers: 'singularity' Container library: 'quay.io' Output directory: 'nf-core-pixelator_1.0.2' Include default institutional configuration: 'True' INFO Downloading centralised configs from GitHub INFO Downloading workflow files from GitHub INFO Processing workflow revision 1.0.2, found 4 container images in total. Downloading singularity images ???????????????????????????????????????????????????????????????????????????????? 100% ? 4/4 completed
-
Running on Bianca
Note: you might need -c configs/conf/uppmax.config
, make sure you have the file (it is an option to download it during the pipeline download process).
https://github.com/nf-core/configs/blob/master/conf/uppmax.config
https://nf-co.re/configs/uppmax
Common problems¶
- Task is running out of resources (memory or time)
Add lines to your configuration that overrides the settings for the problematic task, for example:
process {
withName: 'NFCORE_RNASEQ:RNASEQ:ALIGN_STAR:STAR_ALIGN' {
cpus = 12
memory = '72.GB'
time = '24.h'
}
}
More: https://www.nextflow.io/docs/latest/config.html#process-selectors