newJob: Create a new job

View source: R/genMakefile.R

newJobR Documentation

Create a new job

Description

Create a new job

Usage

newJob(id, cmd, outFile, depend = NULL)

Arguments

id

character, job ids.

cmd

character, commands to run

outFile

character, the output file names after command are run successfully

depend

character vector, specify the prerequisite files (e.g. outFile from other jobs)

Examples

j1 <- newJob('id1', 'cmd out1', 'out1')
j2 <- newJob('id2', 'cmd out2', 'out2', depend = 'out1')

seqminer documentation built on Sept. 2, 2023, 9:08 a.m.