From 1a38f45c278a60b637464f24df9db848bc977fe2 Mon Sep 17 00:00:00 2001 From: danlu1 Date: Mon, 25 Nov 2024 23:09:18 +0000 Subject: [PATCH] remove sample_class_filter function --- genie/database_to_staging.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/genie/database_to_staging.py b/genie/database_to_staging.py index 78acd297..d8edd578 100644 --- a/genie/database_to_staging.py +++ b/genie/database_to_staging.py @@ -501,24 +501,6 @@ def seq_date_filter(clinicalDf, processingDate, consortiumReleaseCutOff): return removeSeqDateSamples -def sample_class_filter(clinical_df: pd.DataFrame) -> list: - """Filter samples by SAMPLE_CLASS - - Args: - clinical_df (pd.DataFrame): Clinical dataframe - - Returns: - list: List of samples to filter out - """ - if clinical_df.get("SAMPLE_CLASS") is not None: - remove_samples = clinical_df["SAMPLE_ID"][ - clinical_df["SAMPLE_CLASS"] == "cfDNA" - ].tolist() - else: - remove_samples = [] - return remove_samples - - # TODO: Add to transform.py def mutation_in_cis_filter( syn,