Skip to content

a few minor edits and comments; added the rulegraph image#3

Open
gwct wants to merge 1 commit intomainfrom
gwct-run-edits
Open

a few minor edits and comments; added the rulegraph image#3
gwct wants to merge 1 commit intomainfrom
gwct-run-edits

Conversation

@gwct
Copy link
Contributor

@gwct gwct commented Oct 23, 2025

No description provided.


The work directory can be full very quickly, because each time you run a process, it creates a new subdirectory in the `work` directory. If you run the same process multiple times, it will create multiple subdirectories. We recommend setting the work directory to a scratch directory rather than your home or lab share so that it does not fill up your allocation. You should think of everything in the `work` directory as temporary files that can be deleted at any time.

### The `publishDir` directory
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think this is ok, but this section could also wait until the develop session

When you run Nextflow, you create a head job that manages the workflow and submits jobs to the local machine or a job scheduler. Each process is run in its own isolated environment, which can be a docker or singularity container, a conda environment, or just the local environment. This means that each process can have its own dependencies and versions of software without interfering with other processes.
When you run Nextflow, you create a head job that manages the workflow and submits jobs to the local machine or a job scheduler (like SLURM). Each process is run in its own isolated environment, which can be a docker or singularity container, a conda environment, or just the local environment. This means that each process can have its own dependencies and versions of software without interfering with other processes.

<!-- Need image diagram of head job submitting child jobs-->
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also, is there a way for nextflow to generate an image of the rulegraph? could be good for the example workflows. If not, how does one get a sense for what a workflow does?

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