Skip to content

Frequently Asked Questions

This content is for v0.2.0. Switch to the latest version for up-to-date documentation.

Q: Can I make the pipeline run in the background?

Section titled “Q: Can I make the pipeline run in the background?”

A. Yes

Nextflow handles job submissions and supervises the running jobs. The Nextflow process must run until the pipeline is finished.

The Nextflow -bg flag launches Nextflow in the background, detached from your terminal so that the workflow does not stop if you log out of your session. The logs are saved to a file.

Alternatively, you can use screen / tmux or similar tool to create a detached session which you can log back into at a later time. Some HPC setups also allow you to run nextflow within a cluster job submitted your job scheduler (from where it submits more jobs).

Q: When running the pipeline with multiple profiles, I quickly exceed my disk quota on my HPC server. How to solve this?

Section titled “Q: When running the pipeline with multiple profiles, I quickly exceed my disk quota on my HPC server. How to solve this?”

A. sf-pediatric is built using a modular architecture that allows more than one entrypoint. The key process that causes disk quota issues is the work/ directory, which contains all intermediate data files ensuring the resumability of the pipeline. To avoid reaching the disk quota, we suggest you run the pipeline in chunks, starting with the tracking profile. Then, add the --input_deriv parameter to tell the pipeline where to fetch its derivatives (you can set it with the same value as your output directory), and select the subsequent profile you want to run.