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

Commit 927444c

Browse files
committed
update metadata creation
1 parent 0877b79 commit 927444c

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

dev/get_metadata.R

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ library(openssl)
1414
# # CREATE MAKEFILE
1515
# tab = "\t"
1616
# root_directory = "/vast/projects/RCP/human_cell_atlas"
17+
# my_root_directory = "/vast/scratch/users/mangiola.s/human_cell_atlas"
1718
# metadata_directory = glue("{root_directory}/metadata")
1819
# raw_data_directory = glue("{root_directory}/raw_data")
1920
# files_metadata = glue("{root_directory}/files_metadata.rds")
@@ -22,19 +23,19 @@ library(openssl)
2223
# input_files = input_files_path |> basename()
2324
# output_files = input_files |> str_replace("H5AD$", "rds")
2425
# output_files_path = glue("{metadata_directory}/{output_files}")
25-
# metadata_path = glue("{root_directory}/metadata.rds")
26+
# metadata_path = glue("metadata.rds")
2627
# c(
2728
# glue("CATEGORY=get_metadata\nMEMORY=80024\nCORES=1\nWALL_TIME=10000"),
2829
# glue("{output_files_path}:{input_files_path}\n{tab}Rscript get_metadata.R {input_files_path} {output_files_path}"),
2930
# glue("CATEGORY=merge_metadata\nMEMORY=80024\nCORES=1\nWALL_TIME=10000"),
3031
# glue("{metadata_path}:{paste(output_files_path, collapse = \" \")} {files_metadata}\n{tab}Rscript merge_metadata.R {paste(output_files_path, collapse = \" \")} {files_metadata} {metadata_path}")
3132
# ) |>
32-
# write_lines(glue("get_metadata.makeflow"))
33-
#
34-
# source("utility.R")
35-
#
36-
# root_directory = "/vast/projects/RCP/human_cell_atlas"
37-
# splitted_light_data_directory = glue("{root_directory}/splitted_light_data")
33+
# write_lines(glue("dev/get_metadata.makeflow"))
34+
35+
source("utility.R")
36+
37+
root_directory = "/vast/projects/RCP/human_cell_atlas"
38+
splitted_light_data_directory = glue("{root_directory}/splitted_light_data")
3839

3940
# Read arguments
4041
args = commandArgs(trailingOnly=TRUE)

0 commit comments

Comments
 (0)