Closed
Description
The new implementation of the --mark-snv
parameter (see #1381) is very close to another feature which would be useful for us.
Would it be possible to also use it like the --mask parameter
, i.e. with a bed file which specifies regions to convert to lower/upper case?
An elegant solution might be to allow multiple masking parameters with different "actions". That way, the call bcftools consensus --mask low_coverage.bed N --mask special_regions.bed lc ...
would replace regions of low coverage with N
and convert interesting regions to lower case.
Our use case is that we like to mark bases within certain coverage ranges in the output consensus file with lower case letters, while all other bases are in upper case.
Metadata
Assignees
Labels
No labels