Use the github repository to launch the execution of a hosted project:
nextflow run SciLifeLab/repositoryThe github address can also be used:
nextflow run http://github.com/SciLifeLab/RepositoryUse the -r option to launch a specific version based on a tag, branch or commit ID.
nextflow run SciLifeLab/repository -r v1.0More informations on Nextflow documentation.
Use the -c option to specify a config file to use.
nextflow run SciLifeLab/repository -c file.configIf no config file is specified, Nextflow will look for $NXF_HOME/config or for nextflow.config in your current directory.
More informations on Nextflow documentation.
A profile can be defined in nextflow.config, includeConfig can be use to include several config files.
Example:
profiles {
milou {
includeConfig 'configuration/standard.config'
includeConfig 'configuration/milou.config'
includeConfig 'configuration/milou-slurm.config'
}
bianca {
includeConfig 'configuration/standard.config'
includeConfig 'configuration/bianca.config'
includeConfig 'configuration/bianca-slurm.config'
}
milou_interactive {
includeConfig 'configuration/standard.config'
includeConfig 'configuration/milou.config'
includeConfig 'configuration/milou-local.config'
}
}Use the clean -f option to remove the files contained in the work directory from the last Nextflow execution.
nextflow clean -fUse the -resume option to restart the project where it last failed.
nextflow run SciLifeLab/repository -resumeUse the info option to get information about the github project.
nextflow info SciLifeLab/repositoryUse the pull option to update the github project.
nextflow pull SciLifeLab/repository