Skip to content

Pixel distance in Picard mark duplicates #526

@trombitomi

Description

@trombitomi

Description of the bug

the following piece of code did not behave as expected:

if (params.sequencer=="NovaSeq") {
        opt_dupl_dist = 12000
    } else if (params.sequencer="HiSeq") {
        opt_dupl_dist = 2500
    } else { opt_dupl_dist = 100 }

in params.yaml, I defined:

sequencer: "NextSeq"

yet, the submitted command:

...
--OPTICAL_DUPLICATE_PIXEL_DISTANCE 2500 \
...

I propose a little update:

if (params.sequencer=="NovaSeq") {
        opt_dupl_dist = 12000
    } else if (params.sequencer="HiSeq") {
        opt_dupl_dist = 2500
    } else if (params.sequencer="NextSeq") {
        opt_dupl_dist = 100
    } else { error "Error: Specify sequencer (NextSeq, HiSeq, NovaSeq)" }

Command used and terminal output

...
WARN: `params.sequencer` is defined multiple times -- Assignments following the first are ignored
...

Relevant files

No response

System information

VSC_HPC_UGent Tier2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions