Truth.remove_filtered_variants#
missionbio.demultiplex.dna.truth.Truth.remove_filtered_variants
- Truth.remove_filtered_variants(dna: Assay) Tuple[Truth, list] #
Removes poor quality variants
Uses the FILTERED
- Parameters:
dna – The DNA assay object
- Returns:
DataFrame of truth list: Poor quality variants
- Return type:
pd.DataFrame
- Raises:
AllVariantsFilteredError – When all the variants get filtered out. This happens if the variants do not pass the default pipeline filters.
< Class Truth