Truth#
missionbio.demultiplex.dna.truth.Truth
- class Truth(*args: Any, **kwargs: Any)#
Truth data for GT demultiplexing
The truth data is a dataframe with the NGT for each cell and variant
Input and Output#
read_csv(csv_file)Load dna truth from a csv file
Convert the truth to the input file format used by pipelines
Create truth for doublets.
Filtering#
- returns:
DataFrame of truth
Removes indels and spanning deletions from the assignment
Removes poor quality variants
Remove correlated variants on the same amplicon
filter_variants(dna)Remove poor quality variants