Skip to content

Which variants are used in consensus assembly? #19

@tavareshugo

Description

@tavareshugo

viralrecon outputs the variants_long_table.csv file with a lot of variants that have the PASS filter. However, not all of these variants make it to the assembly.

  • For ivar consensus, looking at the workflow's config we can see only variants with at least 75% frequency and minimum depth of 10 make it to the consensus.
  • The same is true if using bcftools as the caller instead. In this case, bcftools mpileup is ran first, setting a minimum depth 10 (config here). Later, there is a bcftools filter step, which in the workflow config again suggests filters for variants with >75% frequency.
  • For nanopore I don't know if there is a straightforward "threshold", as I assume that medaka consensus will use its own trained model to make the decision, so different types of variants may have different "thresholds"? I'm not sure...

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions