You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnFalseifmatch_resultisNoneelsematch_result.errorisNone# If match_result is None, treat as error. If match_result is not None, but error is None, then non_error
16
16
17
17
# Filter dict with observed sequence inference results for only those that do not contain any mapping errors
# Given the datastructure containing the inference results "observed_guide_reporter_umi_counts_inferred", iterate through the entire datastructure to generate
Copy file name to clipboardExpand all lines: crispr-ambiguous-mapping/crispr_ambiguous_mapping/processing/crispr_guide_counting.py
+18-21Lines changed: 18 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@
26
26
from .crispr_count_processingimportget_counterseries_all_results
27
27
from ..quality_control.crispr_mapping_quality_controlimportperform_counts_quality_control
28
28
from ..models.mapping_modelsimportGeneralGuideCountType, GeneralMappingInferenceDict
29
-
from ..models.mapping_modelsimportAllMatchSetWhitelistReporterCounterSeriesResults, WhitelistReporterCountsResult, SampleWhitelistReporterCountsResult, InferenceResult, CountInput, QualityControlResult
29
+
from ..models.mapping_modelsimportAllMatchSetWhitelistReporterCounterSeriesResults, WhitelistReporterCountsResult, InferenceResult, CountInput, QualityControlResult
30
30
31
31
32
32
# TODO: There will probably be some type errors with the DefaultDict when testing on non UMI (since it requires CounterType), so make sure to test with different variations of inputs
@@ -41,7 +41,7 @@ def get_whitelist_reporter_counts_with_umi(observed_guide_reporter_umi_counts: G
0 commit comments