Skip to content

Commit 22d45fd

Browse files
committed
fixed clean_up files with min num cells
1 parent b7a4226 commit 22d45fd

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

LeafletSC.egg-info/PKG-INFO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 2.1
22
Name: LeafletSC
3-
Version: 0.3.0
3+
Version: 0.3.1
44
Summary: Alternative splicing quantification in single cells with Leaflet
55
Home-page: https://github.com/daklab/Leaflet
66
Author: Karin Isaev, Columbia University and NYGC

LeafletSC/clustering/find_intron_clusters.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def read_junction_files(junc_files, junc_suffix):
207207
else:
208208
junc_files_in_path = [junc_path]
209209

210-
print(f"The number of junction files to be processed is {len(junc_files_in_path)}")
210+
#print(f"The number of junction files to be processed is {len(junc_files_in_path)}")
211211

212212
files_not_read = []
213213

@@ -229,7 +229,7 @@ def read_junction_files(junc_files, junc_suffix):
229229

230230
return all_juncs
231231

232-
def clean_up_juncs(all_juncs, col_names, min_intron, max_intron, num_cells_wjunc):
232+
def clean_up_juncs(all_juncs, col_names, min_intron, max_intron, min_num_cells_wjunc):
233233

234234
# Apply column names to the DataFrame
235235
all_juncs.columns = col_names
@@ -455,7 +455,7 @@ def main(junc_files, gtf_file, output_file, sequencing_type, junc_bed_file, thre
455455
col_names += ["file_name", "cell_type"]
456456

457457
# 6. Clean up junctions and filter for intron length
458-
all_juncs = clean_up_juncs(all_juncs, col_names, min_intron, max_intron)
458+
all_juncs = clean_up_juncs(all_juncs, col_names, min_intron, max_intron, min_num_cells_wjunc)
459459

460460
# 7. Make gr object from ALL junctions across all cell types
461461
print("Making gr object from all junctions across all cell types")

build/lib/LeafletSC/clustering/find_intron_clusters.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def read_junction_files(junc_files, junc_suffix):
207207
else:
208208
junc_files_in_path = [junc_path]
209209

210-
print(f"The number of junction files to be processed is {len(junc_files_in_path)}")
210+
#print(f"The number of junction files to be processed is {len(junc_files_in_path)}")
211211

212212
files_not_read = []
213213

@@ -229,7 +229,7 @@ def read_junction_files(junc_files, junc_suffix):
229229

230230
return all_juncs
231231

232-
def clean_up_juncs(all_juncs, col_names, min_intron, max_intron, num_cells_wjunc):
232+
def clean_up_juncs(all_juncs, col_names, min_intron, max_intron, min_num_cells_wjunc):
233233

234234
# Apply column names to the DataFrame
235235
all_juncs.columns = col_names
@@ -455,7 +455,7 @@ def main(junc_files, gtf_file, output_file, sequencing_type, junc_bed_file, thre
455455
col_names += ["file_name", "cell_type"]
456456

457457
# 6. Clean up junctions and filter for intron length
458-
all_juncs = clean_up_juncs(all_juncs, col_names, min_intron, max_intron)
458+
all_juncs = clean_up_juncs(all_juncs, col_names, min_intron, max_intron, min_num_cells_wjunc)
459459

460460
# 7. Make gr object from ALL junctions across all cell types
461461
print("Making gr object from all junctions across all cell types")

dist/leafletsc-0.3.0.tar.gz

-26.5 KB
Binary file not shown.

dist/leafletsc-0.3.1.tar.gz

26.5 KB
Binary file not shown.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def read_requirements():
77

88
setup(
99
name='LeafletSC',
10-
version='0.3.0',
10+
version='0.3.1',
1111
author='Karin Isaev, Columbia University and NYGC',
1212
author_email='ki2255@cumc.columbia.edu',
1313
description='Alternative splicing quantification in single cells with Leaflet',

0 commit comments

Comments
 (0)