Mercurial > repos > ecology > makeeml
changeset 3:642e31c435c9 draft
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84
author | ecology |
---|---|
date | Mon, 04 Dec 2023 21:49:43 +0000 |
parents | 8a697f446051 |
children | 59349973537f |
files | eal_table_templates.R eal_templates.R table_templates.R templates1.R |
diffstat | 4 files changed, 44 insertions(+), 44 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eal_table_templates.R Mon Dec 04 21:49:43 2023 +0000 @@ -0,0 +1,21 @@ +#28/11/2023 #SEGUINEAU Pauline + +#Load packages + +library(EMLassemblyline) + +#Load arguments + +if (length(commandArgs(trailingOnly = TRUE)) > 0) { + data_table <- commandArgs(trailingOnly = TRUE)[1] +} + +#Transform arguments + +table = strsplit(data_table," ") + +#Make templates to describe data tables : Describes columns of a data table (classes, units, datetime formats, missing value codes) + catégorical variables. + +template_table_attributes(path = ".",data.path= "data_files", data.table = table[[1]]) +template_categorical_variables(path = ".", data.path = "data_files") +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eal_templates.R Mon Dec 04 21:49:43 2023 +0000 @@ -0,0 +1,23 @@ +#22/11/2023 #SEGUINEAU Pauline + +###First tool of EML Workflow + +#Load packages + +library(EMLassemblyline) + +#Load arguments + +args = commandArgs(trailingOnly=TRUE) +if(length(args)>0){ + + license <- args[1] + file_type <- args[2] +} + +#Make templates to describe core features of a data package (abstract, methods, keywords, personnel, license). + +template_core_metadata(path=".",license = license, file.type = file_type) + + +
--- a/table_templates.R Sat Dec 02 01:50:00 2023 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -#28/11/2023 #SEGUINEAU Pauline - -#Load packages - -library(EMLassemblyline) - -#Load arguments - -if (length(commandArgs(trailingOnly = TRUE)) > 0) { - data_table <- commandArgs(trailingOnly = TRUE)[1] -} - -#Transform arguments - -table = strsplit(data_table," ") - -#Make templates to describe data tables : Describes columns of a data table (classes, units, datetime formats, missing value codes) + catégorical variables. - -template_table_attributes(path = ".",data.path= "data_files", data.table = table[[1]]) -template_categorical_variables(path = ".", data.path = "data_files") -
--- a/templates1.R Sat Dec 02 01:50:00 2023 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -#22/11/2023 #SEGUINEAU Pauline - -###First tool of EML Workflow - -#Load packages - -library(EMLassemblyline) - -#Load arguments - -args = commandArgs(trailingOnly=TRUE) -if(length(args)>0){ - - license <- args[1] - file_type <- args[2] -} - -#Make templates to describe core features of a data package (abstract, methods, keywords, personnel, license). - -template_core_metadata(path=".",license = license, file.type = file_type) - - -