Rnohup: submit a bash commands into the qsub...

Usage Examples

Usage

1
Rnohup(command, output = "X")

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
arg_df <- data.frame(
Fastq_file_name = rep("SRR1744126",3), 
trim_5 = c(16,16,0),
trim_3 = c(12,0,12),
output_name = paste0("SRR1744126_",1:3)
)

for(i in 1:nrow(arg_df)) {
x = arg_df[i,]
Rhisat2(Fastq_file_name = x$Fastq_file_name,
        trim_5 = x$trim_5,
        trim_3 = x$trim_3,
        output_name = x$output_name,
        Fastq_directory = "/home/zhen/TREW_new_data") %>% Rnohup(.,paste0(x$output_name,"_hisat2") )
}

ZhenWei10/RbashGEO documentation built on May 28, 2019, 8:22 a.m.