Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When running workflows on Sherlock, the Nextflow process that orchestrates the workflow is submitted to SLURM as a long-running, 1 CPU job that stays alive for the duration of the workflow. It is responsible for submitting additional jobs to SLURM for each task in the workflow. Those tasks must wait in the SLURM queue until a node frees up. All the while, the Nextflow job remains mostly idle. This PR fills this idle CPU time by running certain short workflow tasks (build runtime image, analyses, create variants) directly on the same job as the Nextflow orchestrator, simultaneously avoiding the wait that currently comes with submitting those tasks to the SLURM queue (~15 minute average). I found that after including queue wait time, the ParCa takes about the same time to finish whether it is submitted to the queue as a 4 CPU job or run locally on the 1 CPU Nextflow job. Therefore, I made that run locally as well.
Other changes:
chromosome_segment
unique molecule that is required forsuperhelical_density
sims