Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
fa2k committed Dec 6, 2024
1 parent a3a278b commit e2963a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,6 @@ plugins {

This should go in your Nextflow configuration file, specified with `-c <YOURCONFIG>` when running the pipeline.


### Calling variants on the GPU with DeepVariant

To use GPU for variant calling you have to override the container image. The GPU-enabled DeepVariant image is very large, so it's not used by default. You need to identify the DeepVariant version used by raredisease. Then replace the container image of the `DEEPVARIANT_CALLVARIANTS` process with one from Google's Docker Hub, `docker.io/google/deepvariant:X.Y.Z-gpu`, changing "X.Y.Z" to the version.
Expand All @@ -571,6 +570,7 @@ For singularity / apptainer you can use containerOptions = '--nv' to enable GPU
If using a queue system like SLURM, or the Cloud, you usually have to enable certain options to get access to GPUs, e.g. the `queue` directive. If you run locally on a server with a single GPU, you can set `maxForks = 1` to prevent starting simultaneous GPU jobs for different samples.

Configuration example:

```
withName:"DEEPVARIANT_CALLVARIANTS" {
cpus = 6
Expand All @@ -579,4 +579,3 @@ Configuration example:
maxForks = 1
}
```

0 comments on commit e2963a9

Please sign in to comment.