Skip to content

samtools consensus: Low coverage cutoff for Bayesian mode #1982

Description

@gtrichard

Currently samtools consensus supports a "min coverage" option, but that's only for the simple mode. After tweaking the Bayesian method parameters I tend to obtain better results than with the simple mode indeed. However calling a nucleotide when covered by only a single read is frigthening to say the least, especially when it's a mismatch compared to the reference and the mismatch is called nonetheless.

I think the tool would greatly benefit from a "N masking" pass over the sequence to flag the positions that aren't deeply covered enough as N. This can be done at the end of the bayesian consensus sequence call. Or at the very least output them in lower letter for instance so the end user can easily flag these nucleotides and replace them with Ns.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

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