Spaces:
Running
Running
Paths within container
Browse files- app/main.py +4 -4
app/main.py
CHANGED
@@ -32,22 +32,22 @@ args = args.parse_args()
|
|
32 |
gene_pairs = glob(f"{args.data}/structures/causal/*")
|
33 |
gene_pairs = [os.path.basename(pair) for pair in gene_pairs]
|
34 |
GET_CONFIG = load_config(
|
35 |
-
|
36 |
)
|
37 |
GET_CONFIG.celltype.jacob = True
|
38 |
GET_CONFIG.celltype.num_cls = 2
|
39 |
GET_CONFIG.celltype.input = True
|
40 |
GET_CONFIG.celltype.embed = True
|
41 |
GET_CONFIG.celltype.data_dir = (
|
42 |
-
"/
|
43 |
)
|
44 |
GET_CONFIG.celltype.interpret_dir = (
|
45 |
-
"/
|
46 |
)
|
47 |
GET_CONFIG.motif_dir = "/manitou/pmg/users/xf2217/interpret_natac/motif-clustering"
|
48 |
motif = NrMotifV1.load_from_pickle(
|
49 |
pkg_resources.resource_filename("atac_rna_data_processing", "data/NrMotifV1.pkl"),
|
50 |
-
GET_CONFIG.motif_dir,
|
51 |
)
|
52 |
cell_type_annot = pd.read_csv(
|
53 |
GET_CONFIG.celltype.data_dir.split("fetal_adult")[0]
|
|
|
32 |
gene_pairs = glob(f"{args.data}/structures/causal/*")
|
33 |
gene_pairs = [os.path.basename(pair) for pair in gene_pairs]
|
34 |
GET_CONFIG = load_config(
|
35 |
+
"/app/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
|
39 |
GET_CONFIG.celltype.input = True
|
40 |
GET_CONFIG.celltype.embed = True
|
41 |
GET_CONFIG.celltype.data_dir = (
|
42 |
+
f"{args.data}/pretrain_human_bingren_shendure_apr2023/fetal_adult/"
|
43 |
)
|
44 |
GET_CONFIG.celltype.interpret_dir = (
|
45 |
+
f"{args.data}/Interpretation_all_hg38_allembed_v4_natac/"
|
46 |
)
|
47 |
GET_CONFIG.motif_dir = "/manitou/pmg/users/xf2217/interpret_natac/motif-clustering"
|
48 |
motif = NrMotifV1.load_from_pickle(
|
49 |
pkg_resources.resource_filename("atac_rna_data_processing", "data/NrMotifV1.pkl"),
|
50 |
+
# GET_CONFIG.motif_dir,
|
51 |
)
|
52 |
cell_type_annot = pd.read_csv(
|
53 |
GET_CONFIG.celltype.data_dir.split("fetal_adult")[0]
|