comparison ideas_preprocessor.R @ 30:0cb6ff8ba6df draft

Uploaded
author greg
date Tue, 06 Feb 2018 08:30:17 -0500
parents 3b3001355f44
children ea739695619d
comparison
equal deleted inserted replaced
29:3b3001355f44 30:0cb6ff8ba6df
101 # Move the tmp archive to the output directory. 101 # Move the tmp archive to the output directory.
102 to_path = paste(opt$output_files_path, "tmp.tar.gz", sep="/"); 102 to_path = paste(opt$output_files_path, "tmp.tar.gz", sep="/");
103 file.rename("tmp.tar.gz", to_path); 103 file.rename("tmp.tar.gz", to_path);
104 # Handle file names for display in the primary dataset if necessary. 104 # Handle file names for display in the primary dataset if necessary.
105 to_path = paste(opt$output_files_path, "chromosomes.bed", sep="/"); 105 to_path = paste(opt$output_files_path, "chromosomes.bed", sep="/");
106 if (is.null(opt$chrom_bed_input) { 106 if (is.null(opt$chrom_bed_input)) {
107 # Move cbi_file to the output directory, 107 # Move cbi_file to the output directory,
108 # naming it chromosomes.bed. 108 # naming it chromosomes.bed.
109 file.rename(cbi_file, to_path); 109 file.rename(cbi_file, to_path);
110 } else { 110 } else {
111 # Copy opt$chrom_bed_input to the output 111 # Copy opt$chrom_bed_input to the output