Skip to content

Commit 223724d

Browse files
author
Suraj Mishra
committed
running localization only on selected data ids
1 parent 4734cf3 commit 223724d

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

EMT_data_analysis/analysis_scripts/Nuclei_localization.py

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,19 @@ def run_nuclei_localization(
279279
Flag to enable alignment of the segmentation using the barcode of the movie.
280280
Default is True.
281281
'''
282-
df_cond = df_manifest[
283-
[gene in ['HIST1H2BJ', 'EOMES|TBR2'] for gene in df_manifest['Gene'].values]
284-
].dropna(subset=['CollagenIV Segmentation Probability URL'])
282+
# Filter to specific Data IDs for analysis
283+
ANALYSIS_DATA_IDS = [
284+
'3500005548_43', '3500005548_46', '3500005548_48',
285+
'3500005824_35', '3500005824_36', '3500005824_37', '3500005824_38',
286+
'3500005828_43', '3500005828_45', '3500005828_46', '3500005828_67', '3500005828_70',
287+
'3500006256_19', '3500006256_21',
288+
'3500007081_8',
289+
'3500007213_38',
290+
'3500007247_5',
291+
'3500007432_52', '3500007432_57', '3500007432_61', '3500007432_63',
292+
]
293+
294+
df_cond = df_manifest[df_manifest['Data ID'].isin(ANALYSIS_DATA_IDS)]
285295

286296
print(f"Processing {len(df_cond)} movies with CollagenIV segmentations.")
287297

0 commit comments

Comments
 (0)