1.6 KiB
1.6 KiB
Seqera Executor plugin for Nextflow
Summary
The Seqera Executor plugin provides integration with Seqera Cloud for executing Nextflow tasks using Seqera's managed compute infrastructure.
Get Started
To use this plugin, add it to your nextflow.config:
plugins {
id 'nf-seqera'
}
Configure the Seqera executor:
process {
executor = 'seqera'
}
seqera {
executor {
region = 'eu-west-1'
autoLabels = true
}
}
tower {
accessToken = '<SEQERA ACCESS TOKEN>'
}
Alternatively, set the access token via environment variable:
export TOWER_ACCESS_TOKEN='<YOUR ACCESS TOKEN>'
Examples
Running a workflow with the Seqera executor
nextflow.config:
plugins {
id 'nf-seqera'
}
process {
executor = 'seqera'
}
tower {
accessToken = '<SEQERA ACCESS TOKEN>'
}
seqera {
executor {
region = 'eu-west-1'
}
}
main.nf:
process HELLO {
output:
path 'hello.txt'
script:
'''
echo "Hello from Seqera Cloud" > hello.txt
'''
}
workflow {
HELLO()
}
Using resource labels for cost tracking
seqera {
executor {
region = 'us-east-1'
labels = [team: 'genomics', project: 'wgs-analysis']
autoLabels = true
}
}
Using the resource prediction model
seqera {
executor {
region = 'eu-west-1'
predictionModel = 'qr/v1'
}
}