Skip to content

Commit 7f0fe37

Browse files
authored
dropped filtering transcripts
1 parent 51e52d4 commit 7f0fe37

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/segger/prediction/predict_parquet.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,6 @@ def segment(
442442
seg_tag: str,
443443
transcript_file: Union[str, Path],
444444
score_cut: float = 0.5,
445-
qv: float = 30,
446445
use_cc: bool = True,
447446
file_format: str = "",
448447
save_transcripts: bool = True,
@@ -466,7 +465,6 @@ def segment(
466465
transcript_file (Union[str, Path]): Path to the transcripts Parquet file.
467466
score_cut (float, optional): The threshold for assigning transcripts to cells based on
468467
similarity scores. Defaults to 0.5.
469-
qv (float, optional):The minimum quality value threshold for filtering transcripts.
470468
use_cc (bool, optional): If True, perform connected components analysis for unassigned
471469
transcripts. Defaults to True.
472470
save_transcripts (bool, optional): Whether to save the transcripts as Parquet. Defaults to True.
@@ -657,7 +655,7 @@ def _get_id():
657655

658656
# Step 5: Save the merged results based on options
659657
transcripts_df_filtered["segger_cell_id"] = transcripts_df_filtered["segger_cell_id"].fillna("UNASSIGNED")
660-
transcripts_df_filtered = filter_transcripts(transcripts_df_filtered, qv=qv)
658+
# transcripts_df_filtered = filter_transcripts(transcripts_df_filtered, qv=qv)
661659

662660
if save_transcripts:
663661
if verbose:

0 commit comments

Comments
 (0)