mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-10 20:23:10 +00:00
Update modules/mosdepth/main.nf
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
This commit is contained in:
parent
5bc2d419a9
commit
a2a8e09762
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ process MOSDEPTH {
|
|||
def reference = fasta ? "--fasta ${fasta}" : ""
|
||||
def interval = bed ? "--by ${bed}" : ""
|
||||
if (bed && args.contains("--by")) {
|
||||
exit 1, "--by can only be specified once."
|
||||
exit 1, "'--by' can only be specified once when running mosdepth! Either remove input BED file definition or remove '--by' from 'ext.args' definition"
|
||||
}
|
||||
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue