Added
- Add `min_consensus_read` argument to `celescope.tools.consensus`. If
1. the percentage of the most common residue type > threshold;
2. most common residue reads >= min_consensus_read;
then we will add that residue type, otherwise an ambiguous character will be added.
Changed
- By default, use otsu method to calculate `min_support_read` for `capture_virus`.
- By default, use otsu method to calculate `min_support_read` for `snp`.
- Improved the code of `celescope.snp.variant_calling` to reduce memory usage and speed up analysis.
- Add serveral arguments in `vdj` and `tag` to support WDL workflow.
Fixed
- Fix a bug in `celescope.tag.count_tag` when there is no `Undetermined` cells.
- Fix a bug in `celescope.snp.variant_calling` when there are multiple variants at the same loci in a cell.