Mercurial > repos > bgruening > cp_identify_primary_objects
annotate macros.xml @ 1:6bf947501352 draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6a3036d24b5ec074936f8f8283b7e176f6f1ce70"
author | bgruening |
---|---|
date | Thu, 09 Apr 2020 08:13:45 -0400 |
parents | 99e493b2e951 |
children | d9bf32d13dfd |
rev | line source |
---|---|
0
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
1 <macros> |
99e493b2e951
"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> |
99e493b2e951
"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> |
99e493b2e951
"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> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
5 |
99e493b2e951
"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 --> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
7 |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
8 <xml name="output_pipeline_macro"> |
99e493b2e951
"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" /> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
10 </xml> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
11 |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
12 <xml name="input_pipeline_macro"> |
99e493b2e951
"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"/> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
14 </xml> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
15 |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
16 <xml name="cp_requirements"> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
17 <requirements> |
99e493b2e951
"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> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
19 </requirements> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
20 </xml> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
21 |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
22 <xml name="py_requirements"> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
23 <requirements> |
99e493b2e951
"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> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
25 </requirements> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
26 </xml> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
27 |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
28 <xml name="citations"> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
29 <citations> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
30 <citation type="bibtex"> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
31 @misc{galaxytoolscellprofiler, |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
32 author = {Sun, Yi}, |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
33 year = {2020}, |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
34 title = {Cellprofiler Galaxy tools}, |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
35 publisher = {Github}, |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
36 journal = {Github repository}, |
99e493b2e951
"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}, |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
38 } |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
39 </citation> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
40 </citations> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
41 </xml> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
42 |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
43 <xml name="cmd_modules"> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
44 <command detect_errors="aggressive"><![CDATA[ |
99e493b2e951
"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' |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
46 ]]></command> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
47 </xml> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
48 |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
49 <xml name="text_validator"> |
99e493b2e951
"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> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
51 </xml> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
52 |
99e493b2e951
"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"> |
99e493b2e951
"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" /> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
55 </xml> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
56 |
99e493b2e951
"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"> |
99e493b2e951
"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"/> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
59 </xml> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
60 |
99e493b2e951
"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"> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
62 <help> |
99e493b2e951
"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) |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
64 |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
65 Input: existing pipeline file |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
66 |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
67 Output: new pipeline file |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
68 |
99e493b2e951
"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. |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
70 </help> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
71 </xml> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
72 </macros> |
99e493b2e951
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
73 |