Mercurial > repos > mingchen0919 > rmarkdown_collection_builder
diff collection_list_paired.Rmd @ 6:a0c8b2b25774 draft
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit 88ca36a41aa577ba888cee39cf81b176bf7e68db
author | mingchen0919 |
---|---|
date | Tue, 26 Sep 2017 13:33:22 -0400 |
parents | 66022ba24ac7 |
children | f555686ca340 |
line wrap: on
line diff
--- a/collection_list_paired.Rmd Tue Sep 26 00:16:09 2017 -0400 +++ b/collection_list_paired.Rmd Tue Sep 26 13:33:22 2017 -0400 @@ -1,5 +1,5 @@ --- -title: 'Collection builder (collection type: list:paired)' +title: 'Build collection: a list of paired datasets' output: html_document: number_sections: true @@ -41,7 +41,7 @@ original_files = list.files('./forward_files_directory') # create new files names from original file names new_files = gsub('\\.dat', '_forward\\.FORMAT', original_files) -new_files = paste0('input_', 1:length(original_files), '_forward.FORMAT') +new_files = paste0('input', 1:length(original_files), '_forward.FORMAT') new_files # rename files file.copy(paste0('./forward_files_directory/', original_files), @@ -61,10 +61,9 @@ original_files = list.files('./reverse_files_directory') # create new files names from original file names new_files = gsub('\\.dat', '_reverse\\.FORMAT', original_files) -new_files = paste0('input_', 1:length(original_files), '_reverse.FORMAT') +new_files = paste0('input', 1:length(original_files), '_reverse.FORMAT') new_files # rename files file.copy(paste0('./reverse_files_directory/', original_files), paste0('./files_directory/', new_files)) -``` - +``` \ No newline at end of file