Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

Commit 0fa42be

Browse files
committed
update db build steps
1 parent a98a820 commit 0fa42be

File tree

2 files changed

+15
-39
lines changed

2 files changed

+15
-39
lines changed

dev/2_execute_hpcell_on_census_and_defining_data_tranformation.R

Lines changed: 13 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -106,49 +106,23 @@ job::job({
106106
store = "/vast/projects/mangiola_immune_map/PostDoc/immuneHealthyBodyMap/census_hpcell_oct_2024/target_store/",
107107
gene_nomenclature = "ensembl",
108108
data_container_type = "anndata",
109-
tier = tiers,
109+
# tier = tiers, # WE DON"T NEED AS WE HAVE ELASTIC RESOURCES NOW
110110
computing_resources = list(
111-
crew_controller_slurm(
112-
name = "tier_1",
113-
script_lines = "#SBATCH --mem 8G",
114-
slurm_cpus_per_task = 1,
115-
workers = 300,
116-
tasks_max = 10,
117-
verbose = T,
118-
launch_max = 10,
119-
seconds_idle = 30
120-
),
121111

122112
crew_controller_slurm(
123-
name = "tier_2",
124-
script_lines = "#SBATCH --mem 10G",
125-
slurm_cpus_per_task = 1,
126-
workers = 200,
127-
tasks_max = 10,
128-
verbose = T,
129-
launch_max = 10,
130-
seconds_idle = 30
131-
),
132-
crew_controller_slurm(
133-
name = "tier_3",
134-
script_lines = "#SBATCH --mem 15G",
135-
slurm_cpus_per_task = 1,
136-
workers = 100,
137-
tasks_max = 10,
138-
verbose = T,
139-
launch_max = 5,
140-
seconds_idle = 30
141-
),
142-
crew_controller_slurm(
143-
name = "tier_4",
144-
script_lines = "#SBATCH --mem 200G", # There should be a tier 5 with 12Gb for sample of 40K cells
145-
slurm_cpus_per_task = 1,
146-
workers = 100,
147-
tasks_max = 10,
148-
verbose = T,
149-
launch_max = 5,
150-
seconds_idle = 30
113+
name = "elastic",
114+
workers = 300,
115+
tasks_max = 20,
116+
seconds_idle = 30,
117+
crashes_error = 5,
118+
options_cluster = crew_options_slurm(
119+
memory_gigabytes_required = c(8, 10, 40, 80, 200),
120+
cpus_per_task = 2,
121+
time_minutes = c(60, 60*4, 60*4, 60*24, 60*24),
122+
verbose = T
123+
)
151124
)
125+
152126
),
153127
verbosity = "summary",
154128
# debug_step = "annotation_tbl_tier_4",

dev/3_prepare_local_cache_splitting_du_dataset_and_cell_type.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ library(arrow)
1919
library(dplyr)
2020
library(duckdb)
2121

22+
#
23+
2224

2325
# Get Dharmesh metadata consensus
2426
system("~/bin/rclone copy box_adelaide:/Mangiola_ImmuneAtlas/reannotation_consensus/cell_annotation_new.parquet /vast/projects/cellxgene_curated/metadata_cellxgenedp_Apr_2024/")

0 commit comments

Comments
 (0)