Skip to content

Commit

Permalink
Specified arguments' classes
Browse files Browse the repository at this point in the history
  • Loading branch information
saorisakaue committed Aug 14, 2024
1 parent ebd76aa commit 00cd6ee
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Parallelized Bash Script/SCENT_parallelization.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ library(SCENT)

####### INPUTS
#Obtain arguments: (from Cluster)
node = as.numeric(commandArgs(trailingOnly = T)[1]) # JOB ARRAY number: node usage
cores = as.numeric(commandArgs(trailingOnly = T)[2]) # numeric. Number of Cores
SCENTobj_rds = commandArgs(trailingOnly = T)[3] # RDS object file type
node = as.integer(commandArgs(trailingOnly = T)[1]) # integer. JOB ARRAY number: node usage
cores = as.integer(commandArgs(trailingOnly = T)[2]) # integer. Number of Cores
SCENTobj_rds = commandArgs(trailingOnly = T)[3] # character. RDS object file type
celltype = commandArgs(trailingOnly = T)[4] # character. CellType
regr = commandArgs(trailingOnly = T)[5] # character. Regression Type
bin = commandArgs(trailingOnly = T)[6] # logical. Binarize ATAC counts
output_dir = commandArgs(trailingOnly = T)[7] # Output of each text file to a specific folder

bin = as.logical(commandArgs(trailingOnly = T)[6]) # logical. Binarize ATAC counts
output_dir = commandArgs(trailingOnly = T)[7] # character. Output of each text file to a specific folder

###Example of inputs from the bash script: parallelizedSCENT.sh
# node <- 1
Expand Down

0 comments on commit 00cd6ee

Please sign in to comment.