Truth.remove_correlated_variants#
missionbio.demultiplex.dna.truth.Truth.remove_correlated_variants
- Truth.remove_correlated_variants(dna: Assay) → Tuple[Truth, list]#
Remove correlated variants on the same amplicon
- Parameters:
dna – The DNA assay object
- Returns:
DataFrame of truth list: Correlated variants
- Return type:
pd.DataFrame
- Raises:
AllVariantsFilteredError – When all the variants get filtered out. This happens if the variants are strictly correlated with each other.
< Class Truth