annotate macros.xml @ 0:e87d1fd2d673 draft

"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
author bgruening
date Thu, 26 Mar 2020 17:43:18 -0400
parents
children 20525bc7f6f4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
1 <macros>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
2 <token name="@CP_VERSION@">3.1.9</token>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
3 <token name="@PY_VERSION@">2.7.16</token>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
4 <token name="@FORMATS@">jpg,png,tiff,bmp,gif,pcx,ppm,psd,pbm,pgm,eps</token>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
5
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
6 <token name="@SPACES@">" "</token> <!-- four spaces needed for CP pipeline file -->
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
7
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
8 <xml name="output_pipeline_macro">
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
9 <data name="out_file" from_work_dir="output" format="txt" label="Output pipeline" />
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
10 </xml>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
11
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
12 <xml name="input_pipeline_macro">
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
13 <param name="input_pipeline" type="data" format="data" label="Pipeline to select"/>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
14 </xml>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
15
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
16 <xml name="cp_requirements">
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
17 <requirements>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
18 <requirement type="package" version="@CP_VERSION@">cellprofiler</requirement>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
19 </requirements>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
20 </xml>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
21
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
22 <xml name="py_requirements">
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
23 <requirements>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
24 <requirement type="package" version="@PY_VERSION@">python</requirement>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
25 </requirements>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
26 </xml>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
27
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
28 <xml name="citations">
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
29 <citations>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
30 <citation type="bibtex">
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
31 @misc{galaxytoolscellprofiler,
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
32 author = {Sun, Yi},
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
33 year = {2020},
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
34 title = {Cellprofiler Galaxy tools},
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
35 publisher = {Github},
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
36 journal = {Github repository},
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
37 url = {https://github.com/bgruening/galaxytools/tools/cellrprofiler},
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
38 }
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
39 </citation>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
40 </citations>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
41 </xml>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
42
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
43 <xml name="cmd_modules">
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
44 <command detect_errors="aggressive"><![CDATA[
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
45 python '$script_file' '$inputs' '$input_pipeline'
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
46 ]]></command>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
47 </xml>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
48
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
49 <xml name="text_validator">
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
50 <validator type="regex" message="Only numbers, letters, hyphen, underscore and spaces are allowed">^[A-Za-z0-9 _-]*$</validator>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
51 </xml>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
52
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
53 <xml name="test_input_pipeline_param">
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
54 <param name="input_pipeline" value="common.txt" />
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
55 </xml>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
56
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
57 <xml name="test_out_file" token_file="common.txt">
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
58 <output name="out_file" ftype="txt" file="@FILE@" lines_diff="0"/>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
59 </xml>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
60
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
61 <xml name="help" token_module="common">
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
62 <help>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
63 This tool appends the inputs of the @MODULE@ module to an existing pipeline file (.cppipe)
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
64
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
65 Input: existing pipeline file
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
66
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
67 Output: new pipeline file
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
68
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
69 Combine this tool with "Common" tool and "CellProfiler" tool together to run the current module alone.
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
70 </help>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
71 </xml>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
72 </macros>
e87d1fd2d673 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff changeset
73