Skip to content

Consensus calling the UMI-bases uses hardcoded error rates #1124

@nh13

Description

@nh13

When calling consensus on UMI sequences (the RX tag), the --error-rate-pre-umi and --error-rate-post-umi parameters don't seem to be used. In UmiConsensusCaller.scala, the SimpleConsensusCaller is created with default values (private val consensusBuilder = new SimpleConsensusCaller() at line 198) and then used to build the consensus UMI at line 486. Meanwhile, the main read consensus caller in VanillaUmiConsensusCaller.scala does pass through the user-specified error rates:

new ConsensusCaller(errorRatePreLabeling = options.errorRatePreUmi, errorRatePostLabeling = options.errorRatePostUmi)

Is this intentional, or should the UMI consensus also use these parameters?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions