Mercurial > repos > mbernt > singularity_scriptrunner
annotate macros.xml @ 0:9512201417a5 draft
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
author | mbernt |
---|---|
date | Sun, 06 Aug 2023 15:21:11 +0000 |
parents | |
children |
rev | line source |
---|---|
0
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
1 <macros> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
2 <xml name="command_macro"> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
3 <command detect_errors="aggressive"><![CDATA[ |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
4 #import re |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
5 mkdir inputs && |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
6 #for $p in $parameters |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
7 #if $p.type_cond.type_sel == "data" |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
8 #if $p.type_cond.filename != '' |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
9 #set fname = $p.type_cond.filename |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
10 #else |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
11 #set fname=re.sub('[^\s\w\.]', '_', str($p.type_cond.param.element_identifier)) + "." + $p.type_cond.param.ext |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
12 #end if |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
13 ln -s '$p.type_cond.param' inputs/'$fname' && |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
14 #end if |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
15 #end for |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
16 |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
17 @COMMAND_AND_SETUP@ |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
18 '$script' |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
19 #for $p in $parameters |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
20 #if $p.type_cond.type_sel == "data" |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
21 #if $p.type_cond.filename != '' |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
22 #set fname = $p.type_cond.filename |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
23 #else |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
24 #set fname=re.sub('[^\s\w\.]', '_', str($p.type_cond.param.element_identifier)) + "." + $p.type_cond.param.ext |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
25 #end if |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
26 inputs/'$fname' |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
27 #else |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
28 '$p.type_cond.param' |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
29 #end if |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
30 #end for |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
31 ]]></command> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
32 <configfiles> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
33 <configfile name="script">$code</configfile> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
34 </configfiles> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
35 </xml> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
36 <xml name="inputs_macro"> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
37 <inputs> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
38 <repeat name="parameters" title="Parameters" min="1" default="1" help="Supply one or more parameters"> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
39 <conditional name="type_cond"> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
40 <param name="type_sel" type="select" label="Parameter type"> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
41 <option value="data">Dataset</option> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
42 <option value="text">Text</option> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
43 <!-- Not sure if int/float make sense .. can they be connected to text in WFs? --> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
44 </param> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
45 <when value="data"> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
46 <param name="param" type="data" label="Dataset"/> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
47 <param name="filename" type="text" label="File name" help="Set if you want to access the data set with a specific file name. Only alphanumeric characters, dash and underscore are allowed (all other characters are replaced by an undercore). Default is Galaxy's data set name."> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
48 <sanitizer invalid_char="_"> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
49 <valid initial="string.ascii_letters,string.digits"> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
50 <add value="_" /> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
51 <add value="-" /> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
52 <add value="." /> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
53 </valid> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
54 </sanitizer> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
55 <!-- file names must not start with dash --> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
56 <validator type="regex" negate="true" message="Filenames must not start with a dash">^[-].*$</validator> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
57 </param> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
58 </when> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
59 <when value="text"> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
60 <param name="param" type="text" label="Text parameter" help=""/> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
61 </when> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
62 </conditional> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
63 </repeat> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
64 <param name="code" type="text" area="true" label="@LANGUAGE@ program" help=""> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
65 <sanitizer> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
66 <valid initial="string.printable"/> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
67 </sanitizer> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
68 </param> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
69 </inputs> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
70 </xml> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
71 <xml name="outputs_macro"> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
72 <outputs> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
73 <collection name="output" type="list" label="Outputs"> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
74 <discover_datasets pattern="__designation_and_ext__"/> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
75 </collection> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
76 </outputs> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
77 </xml> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
78 |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
79 <xml name="help_macro"> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
80 <help><![CDATA[ |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
81 **Warning** |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
82 |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
83 .. class:: warningmark |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
84 |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
85 **Make sure that you know what you are doing. When used wrong the tool may lead to |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
86 data loss of files that you can write to.** |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
87 |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
88 .. class:: warningmark |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
89 |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
90 This tool is only intended to serve for single-use, ad-hoc exploratory analysis |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
91 of data sets with small @LANGUAGE@ scripts. |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
92 |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
93 .. class:: warningmark |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
94 |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
95 If you use this tool repeatedly with the same script and/or have the impression |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
96 that other Galaxy users could profit from this script then contact your local |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
97 Galaxy administrator or the Galaxy community, e.g. at https://github.com/galaxyproject/tools-iuc/, |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
98 and ask if your script can be turned into a proper Galaxy tool. |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
99 One of the main advantages of a proper Galaxy tool is that they are tested and |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
100 maintained. Furthermore the whole Galaxy community may profit. |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
101 |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
102 **What it does** |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
103 |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
104 Executes an **@LANGUAGE@** script (in a @CONTAINER@ container). |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
105 |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
106 An arbitrary number of data or text parameters can be given to the script. |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
107 Data parameters are by default named like the datasets name and the datatype |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
108 is used as extension. This can be overwritten with the filename parameter |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
109 for the corresponding dataset. |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
110 |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
111 @HELP_PARAMETERS@ |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
112 |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
113 @HELP_READ_FROM_STDIN@ |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
114 |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
115 Output datasets are read from the current working directory and put into a |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
116 single collection. The collection elements will be named as the file names |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
117 (without the extension). The file extension determines the datatype of the |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
118 datasets (or Galaxy will try to autodetect the data type). |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
119 ]]></help> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
120 </xml> |
9512201417a5
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/scripting/ commit 9e9a0860d255a1fd6c43edd0fde9ea538ee679de
mbernt
parents:
diff
changeset
|
121 </macros> |