Skip to content

Support Singularity, Output Nextflow Reports to params.outdir - #1

Open
jeffquinn-msk wants to merge 1 commit into
WangLab-ComputationalBiology:mainfrom
jeffquinn-msk:feature/jq-support-singularity
Open

Support Singularity, Output Nextflow Reports to params.outdir#1
jeffquinn-msk wants to merge 1 commit into
WangLab-ComputationalBiology:mainfrom
jeffquinn-msk:feature/jq-support-singularity

Conversation

@jeffquinn-msk

Copy link
Copy Markdown

No description provided.

Comment thread nextflow.config
if (executor == 'docker') {
return '-u root:root -e USERID=$UID -e XDG_CACHE_HOME=tmp/quarto_cache_home -e XDG_DATA_HOME=tmp/quarto_data_home -e QUARTO_PRINT_STACK=true'
} else if (executor == 'singularity') {
return '--env USERID=$UID --env XDG_CACHE_HOME=tmp/quarto_cache_home --env XDG_DATA_HOME=tmp/quarto_data_home --env QUARTO_PRINT_STACK=true'

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For environment variables it would probably be better to set them in the task definition itself on second thought, passing them to the container options is confusing. Nextflow by default passes all env variables from the calling process down into the container anyway, and for the hardcoded ones, you can hard code them in the process block.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant