1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-09-21 22:12:03 +00:00
nf-configs/docs/hasta.md

17 lines
1.2 KiB
Markdown
Raw Normal View History

2021-09-27 14:05:19 +00:00
# nf-core/configs: Hasta Configuration
## Using the Hasta config profile
2021-09-27 14:25:02 +00:00
2021-09-27 14:05:19 +00:00
Before running the pipeline `Nextflow` will need to be install in the conda environment being used.
To use, run the pipeline with `-profile hasta` (one hyphen).
This will download and launch the [`hasta.config`](../conf/hasta.config) which has been pre-configured with a setup suitable for the hasta servers.
It will enable `Nextflow` to manage the pipeline jobs via the `Slurm` job scheduler.
Using this profile, `Docker` image(s) containing required software(s) will be downloaded, and converted to `Singularity` image(s) if needed before execution of the pipeline.
Recent version of `Nextflow` also support the environment variable `NXF_SINGULARITY_CACHEDIR` which can be used to supply images. A use case: `NXF_SINGULARITY_CACHEDIR=/path/to/images; export NXF_SINGULARITY_CACHEDIR` before running the pipeline.
## Development and production config
2021-09-27 14:25:02 +00:00
Each user on hasta has a priority based on their allocated team, either development or production. To enable this when submitting a job to Slurm, submit with `-profile hasta,dev_prio` or `-profile hasta,prod_prio`. This overwrites certain parts of the config and submits the job based on different priorities.