Spaces:
Running
Running
Paths hotfix
Browse files- app/main.py +4 -3
app/main.py
CHANGED
@@ -32,7 +32,7 @@ args.add_argument("-d", "--data", type=str, default=None, help="Data directory")
|
|
32 |
args = args.parse_args()
|
33 |
|
34 |
GET_CONFIG = load_config(
|
35 |
-
"
|
36 |
)
|
37 |
GET_CONFIG.celltype.jacob = True
|
38 |
GET_CONFIG.celltype.num_cls = 2
|
@@ -49,7 +49,7 @@ if args.s3_uri: # Use S3 path if exists
|
|
49 |
GET_CONFIG.celltype.interpret_dir = (
|
50 |
f"{args.s3_uri}/Interpretation_all_hg38_allembed_v4_natac/"
|
51 |
)
|
52 |
-
GET_CONFIG.motif_dir = f"{args.s3_uri}/interpret_natac/motif-clustering"
|
53 |
cell_type_annot = pd.read_csv(
|
54 |
GET_CONFIG.celltype.data_dir.split("fetal_adult")[0]
|
55 |
+ "data/cell_type_pretrain_human_bingren_shendure_apr2023.txt"
|
@@ -69,13 +69,14 @@ if args.s3_uri: # Use S3 path if exists
|
|
69 |
GET_CONFIG.motif_dir,
|
70 |
)
|
71 |
else: # Run with local data
|
|
|
72 |
GET_CONFIG.celltype.data_dir = (
|
73 |
f"{args.data}/pretrain_human_bingren_shendure_apr2023/fetal_adult/"
|
74 |
)
|
75 |
GET_CONFIG.celltype.interpret_dir = (
|
76 |
f"{args.data}/Interpretation_all_hg38_allembed_v4_natac/"
|
77 |
)
|
78 |
-
GET_CONFIG.motif_dir = f"{args.data}/interpret_natac/motif-clustering"
|
79 |
cell_type_annot = pd.read_csv(
|
80 |
GET_CONFIG.celltype.data_dir.split("fetal_adult")[0]
|
81 |
+ "data/cell_type_pretrain_human_bingren_shendure_apr2023.txt"
|
|
|
32 |
args = args.parse_args()
|
33 |
|
34 |
GET_CONFIG = load_config(
|
35 |
+
"./modules/atac_rna_data_processing/atac_rna_data_processing/config/GET"
|
36 |
)
|
37 |
GET_CONFIG.celltype.jacob = True
|
38 |
GET_CONFIG.celltype.num_cls = 2
|
|
|
49 |
GET_CONFIG.celltype.interpret_dir = (
|
50 |
f"{args.s3_uri}/Interpretation_all_hg38_allembed_v4_natac/"
|
51 |
)
|
52 |
+
GET_CONFIG.motif_dir = f"{args.s3_uri}/interpret_natac/motif-clustering/"
|
53 |
cell_type_annot = pd.read_csv(
|
54 |
GET_CONFIG.celltype.data_dir.split("fetal_adult")[0]
|
55 |
+ "data/cell_type_pretrain_human_bingren_shendure_apr2023.txt"
|
|
|
69 |
GET_CONFIG.motif_dir,
|
70 |
)
|
71 |
else: # Run with local data
|
72 |
+
GET_CONFIG.s3_file_sys = None
|
73 |
GET_CONFIG.celltype.data_dir = (
|
74 |
f"{args.data}/pretrain_human_bingren_shendure_apr2023/fetal_adult/"
|
75 |
)
|
76 |
GET_CONFIG.celltype.interpret_dir = (
|
77 |
f"{args.data}/Interpretation_all_hg38_allembed_v4_natac/"
|
78 |
)
|
79 |
+
GET_CONFIG.motif_dir = f"{args.data}/interpret_natac/motif-clustering/"
|
80 |
cell_type_annot = pd.read_csv(
|
81 |
GET_CONFIG.celltype.data_dir.split("fetal_adult")[0]
|
82 |
+ "data/cell_type_pretrain_human_bingren_shendure_apr2023.txt"
|