Mercurial > repos > ecology > eal_templates
annotate eal_templates.R @ 2:debfa8a223c0 draft
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 43f3c45c97ba7d09ad1ea19df9e953cfe917dde8
author | ecology |
---|---|
date | Mon, 22 Jan 2024 14:56:25 +0000 |
parents | d4f168043757 |
children |
rev | line source |
---|---|
0
d4f168043757
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84
ecology
parents:
diff
changeset
|
1 #22/11/2023 #SEGUINEAU Pauline |
d4f168043757
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84
ecology
parents:
diff
changeset
|
2 |
d4f168043757
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84
ecology
parents:
diff
changeset
|
3 ###First tool of EML Workflow |
d4f168043757
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84
ecology
parents:
diff
changeset
|
4 |
d4f168043757
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84
ecology
parents:
diff
changeset
|
5 #Load packages |
d4f168043757
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84
ecology
parents:
diff
changeset
|
6 |
d4f168043757
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84
ecology
parents:
diff
changeset
|
7 library(EMLassemblyline) |
d4f168043757
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84
ecology
parents:
diff
changeset
|
8 |
d4f168043757
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84
ecology
parents:
diff
changeset
|
9 #Load arguments |
d4f168043757
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84
ecology
parents:
diff
changeset
|
10 |
d4f168043757
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84
ecology
parents:
diff
changeset
|
11 args = commandArgs(trailingOnly=TRUE) |
d4f168043757
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84
ecology
parents:
diff
changeset
|
12 if(length(args)>0){ |
d4f168043757
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84
ecology
parents:
diff
changeset
|
13 |
d4f168043757
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84
ecology
parents:
diff
changeset
|
14 license <- args[1] |
d4f168043757
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84
ecology
parents:
diff
changeset
|
15 file_type <- args[2] |
d4f168043757
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84
ecology
parents:
diff
changeset
|
16 } |
d4f168043757
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84
ecology
parents:
diff
changeset
|
17 |
d4f168043757
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84
ecology
parents:
diff
changeset
|
18 #Make templates to describe core features of a data package (abstract, methods, keywords, personnel, license). |
d4f168043757
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84
ecology
parents:
diff
changeset
|
19 |
d4f168043757
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84
ecology
parents:
diff
changeset
|
20 template_core_metadata(path=".",license = license, file.type = file_type) |
d4f168043757
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84
ecology
parents:
diff
changeset
|
21 |
d4f168043757
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84
ecology
parents:
diff
changeset
|
22 |
d4f168043757
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84
ecology
parents:
diff
changeset
|
23 |