# HG changeset patch # User mingchen0919 # Date 1528818101 14400 # Node ID 6e13714671f143d90d3938a2a35ebf846400394b # Parent 586c5cf90861580dc6780571bff6aae7a9e299c1 planemo upload for repository https://github.com/feltus/BDSS diff -r 586c5cf90861 -r 6e13714671f1 rmarkdown_report.Rmd --- a/rmarkdown_report.Rmd Tue Jun 12 11:29:44 2018 -0400 +++ b/rmarkdown_report.Rmd Tue Jun 12 11:41:41 2018 -0400 @@ -110,11 +110,11 @@ cat('----convert SRA to fastq/fasta------\n') command_stdout = system(command, intern = TRUE) write(command_stdout, file = paste0(Sys.getenv('REPORT_FILES_PATH'), '/fastq-dump.log.txt'), append = TRUE) - if(!(paste0(id, '_2.', opt$X_f) %in% list.files('pe_read_files_dir'))) { - # this is not a paired end SRA file. The corresponding file will be deleted. - cat(paste0(id, ' is not paired end SRA, the corresponding fastq/fasta file will deleted.')) - command_stdout = system(paste0('rm ', pe_dir, '/', id, '_1.*'), intern = TRUE) - } + # if(!(paste0(id, '_2.', opt$X_f) %in% list.files('pe_read_files_dir'))) { + # # this is not a paired end SRA file. The corresponding file will be deleted. + # cat(paste0(id, ' is not paired end SRA, the corresponding fastq/fasta file will deleted.')) + # command_stdout = system(paste0('rm ', pe_dir, '/', id, '_1.*'), intern = TRUE) + # } }