Mercurial > repos > bgruening > cp_save_images
annotate save_images.xml @ 6:27edbb90ab2b draft default tip
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 57a0433defa3cbc37ab34fbb0ebcfaeb680db8d5
author | bgruening |
---|---|
date | Sun, 05 Nov 2023 09:26:05 +0000 |
parents | 33f4fa1413fb |
children |
rev | line source |
---|---|
5
33f4fa1413fb
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 7d7a519c3a2cc612d38695b335d0f6c75a099de3"
bgruening
parents:
3
diff
changeset
|
1 <tool id="cp_save_images" name="SaveImages" version="@CP_VERSION@+galaxy@VERSION_SUFFIX@"> |
6
27edbb90ab2b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 57a0433defa3cbc37ab34fbb0ebcfaeb680db8d5
bgruening
parents:
5
diff
changeset
|
2 <description>with CellProfiler</description> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
3 |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
4 <macros> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
5 <import>macros.xml</import> |
6
27edbb90ab2b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 57a0433defa3cbc37ab34fbb0ebcfaeb680db8d5
bgruening
parents:
5
diff
changeset
|
6 <token name="@VERSION_SUFFIX@">2</token> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
7 <xml name="file_format"> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
8 <param name="file_format" label="Saved the format to save the image(s)" type="select"> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
9 <help> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
10 <![CDATA[ |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
11 - Only tiff supports saving as 16-bit or 32-bit. tiff is a "lossless" file format. |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
12 <br> - png is also a "lossless" file format and it tends to produce smaller files without losing any image data. |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
13 <br> - jpeg is also small but is a "lossy" file format and should not be used for any images that will undergo further quantitative analysis. |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
14 <br> - Select npy to save an illumination correction image generated by CorrectIlluminationCalculate. |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
15 ]]> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
16 </help> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
17 <option value="jpeg">jpeg</option> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
18 <option value="npy">npy</option> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
19 <option value="png">png</option> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
20 <option value="tiff">tiff</option> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
21 </param> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
22 </xml> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
23 <xml name="bit_depth"> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
24 <param name="bit_depth" label="Image bit depth" type="select"> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
25 <help> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
26 <![CDATA[ |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
27 Select the bit-depth at which you want to save the images. |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
28 <br> - 32-bit floating point saves the image as floating-point decimals with 32-bit precision. When the input data is integer or binary type, pixel values are scaled within the range (0, 1). Floating point data is not rescaled. |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
29 <br> - 16-bit integer and 32-bit floating point images are supported only for TIFF formats. |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
30 ]]> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
31 </help> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
32 <option value="8-bit integer">8-bit integer</option> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
33 <option value="16-bit integer">16-bit integer</option> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
34 <option value="32-bit floating point">32-bit floating point</option> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
35 </param> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
36 </xml> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
37 </macros> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
38 |
6
27edbb90ab2b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 57a0433defa3cbc37ab34fbb0ebcfaeb680db8d5
bgruening
parents:
5
diff
changeset
|
39 <edam_operations> |
27edbb90ab2b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 57a0433defa3cbc37ab34fbb0ebcfaeb680db8d5
bgruening
parents:
5
diff
changeset
|
40 <edam_operation>operation_3443</edam_operation> |
27edbb90ab2b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 57a0433defa3cbc37ab34fbb0ebcfaeb680db8d5
bgruening
parents:
5
diff
changeset
|
41 </edam_operations> |
27edbb90ab2b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 57a0433defa3cbc37ab34fbb0ebcfaeb680db8d5
bgruening
parents:
5
diff
changeset
|
42 <xrefs> |
27edbb90ab2b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 57a0433defa3cbc37ab34fbb0ebcfaeb680db8d5
bgruening
parents:
5
diff
changeset
|
43 <xref type="bio.tools">CellProfiler</xref> |
27edbb90ab2b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 57a0433defa3cbc37ab34fbb0ebcfaeb680db8d5
bgruening
parents:
5
diff
changeset
|
44 <xref type="biii">cellprofiler</xref> |
27edbb90ab2b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 57a0433defa3cbc37ab34fbb0ebcfaeb680db8d5
bgruening
parents:
5
diff
changeset
|
45 </xrefs> |
27edbb90ab2b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 57a0433defa3cbc37ab34fbb0ebcfaeb680db8d5
bgruening
parents:
5
diff
changeset
|
46 |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
47 <expand macro="py_requirements"/> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
48 <expand macro="cmd_modules" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
49 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
50 <configfiles> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
51 <inputs name="inputs" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
52 <configfile name="script_file"> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
53 import json |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
54 import sys |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
55 import os |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
56 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
57 FOURSPACES=@SPACES@ |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
58 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
59 input_json_path = sys.argv[1] |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
60 input_pipeline= sys.argv[2] |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
61 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
62 params = json.load(open(input_json_path, "r")) |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
63 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
64 def writesi(): |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
65 _str = "\nSaveImages:[module_num:%d|svn_version:\\'Unknown\\'|variable_revision_number:13|show_window:False|notes:\\x5B\\x5D|batch_state:array(\\x5B\\x5D, dtype=uint8)|enabled:True|wants_pause:False]\n" % new_count |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
66 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
67 _str += FOURSPACES + "Select the type of image to save:%s\n" % params['con_type_of_image']['type_of_image'] |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
68 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
69 _str += FOURSPACES + "Select the image to save:%s\n" % params['image_to_save'] |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
70 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
71 method_for_constructing = params['con_method_for_constructing']['method_for_constructing'] |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
72 _str += FOURSPACES + "Select method for constructing file names:%s\n" % method_for_constructing |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
73 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
74 if method_for_constructing == "From image filename": |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
75 img_name_file_prefix = params['con_method_for_constructing']['name_for_file_prefix'] |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
76 append_suffix = params['con_method_for_constructing']['con_append_suffix']['append_suffix'] |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
77 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
78 if append_suffix == "Yes": |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
79 text_append = params['con_method_for_constructing']['con_append_suffix']['text_to_append'] |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
80 else: |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
81 text_append = "" |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
82 else: |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
83 img_name_file_prefix = "None" |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
84 append_suffix = "No" |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
85 text_append = "" |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
86 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
87 _str += FOURSPACES + "Select image name for file prefix:%s\n" % img_name_file_prefix |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
88 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
89 if method_for_constructing == "Sequential numbers": |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
90 file_prefix = params['con_method_for_constructing']['file_prefix'] |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
91 no_of_digits = params['con_method_for_constructing']['no_of_digits'] |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
92 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
93 _str += FOURSPACES + "Enter file prefix:%s\n" % file_prefix |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
94 elif method_for_constructing == "Single name": |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
95 _str += FOURSPACES + "Enter single file name:%s\n" % params['con_method_for_constructing']['single_file_name'] |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
96 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
97 no_of_digits = 4 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
98 else: |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
99 _str += FOURSPACES + "Enter single file name:OrigBlue\n" |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
100 no_of_digits = 4 |
5
33f4fa1413fb
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 7d7a519c3a2cc612d38695b335d0f6c75a099de3"
bgruening
parents:
3
diff
changeset
|
101 append_suffix = params['con_method_for_constructing']['con_append_suffix']['append_suffix'] |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
102 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
103 _str += FOURSPACES + "Number of digits:%d\n" % no_of_digits |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
104 _str += FOURSPACES + "Append a suffix to the image file name?:%s\n" % append_suffix |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
105 _str += FOURSPACES + "Text to append to the image name:%s\n" % text_append |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
106 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
107 save_format = params['con_type_of_image']['con_save_file_format']['file_format'] |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
108 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
109 _str += FOURSPACES + "Saved file format:%s\n" % save_format |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
110 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
111 if save_format == "tiff": |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
112 bit_depth = params['con_type_of_image']['con_save_file_format']['bit_depth'] |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
113 else: |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
114 bit_depth = "8-bit integer" |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
115 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
116 _str += FOURSPACES + "Output file location:Default Output Folder\\x7Coutput\n" |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
117 _str += FOURSPACES + "Image bit depth:%s\n" % bit_depth |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
118 _str += FOURSPACES + "Overwrite existing files without warning?:%s\n" % params['overwrite_without_warning'] |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
119 _str += FOURSPACES + "When to save:%s\n" % params['when_to_save'] |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
120 _str += FOURSPACES + "Record the file and path information to the saved image?:%s\n" % params['record_info'] |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
121 _str += FOURSPACES + "Create subfolders in the output folder?:No\n" |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
122 _str += FOURSPACES + "Base image folder:Elsewhere...\n" |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
123 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
124 return _str |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
125 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
126 with open(input_pipeline) as fin: |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
127 lines = fin.readlines() |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
128 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
129 k, v = lines[4].strip().split(':') |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
130 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
131 module_count = int(v) |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
132 new_count = module_count + 1 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
133 lines[4] = k + ":%d\n" % new_count |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
134 |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
135 with open("output.cppipe", "w") as f: |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
136 f.writelines(lines) |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
137 f.write(writesi()) |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
138 |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
139 f.close() |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
140 </configfile> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
141 </configfiles> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
142 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
143 <inputs> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
144 <expand macro="input_pipeline_param" /> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
145 <conditional name="con_type_of_image"> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
146 <param name="type_of_image" type="select" label="Select the type of image to save"> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
147 <help> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
148 <![CDATA[ |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
149 The following types of images can be saved as a file on the hard drive: |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
150 <br> - Image: Any of the images produced upstream of SaveImages can be selected for saving. Outlines of objects created by other modules such as Identify modules, Watershed, and various object processing modules can also be saved with this option, but you must use the OverlayOutlines module to create them prior to saving images. Likewise, if you wish to save the objects themselves, you must use the ConvertObjectsToImage module to create a savable image. |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
151 <br> - Mask: Relevant only if a module that produces masks has been used such as Crop, MaskImage, or MaskObjects. These modules create a mask of the pixels of interest in the image. Saving the mask will produce a binary image in which the pixels of interest are set to 1; all other pixels are set to 0. |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
152 <br> - Cropping: Relevant only if the Crop module is used. The Crop module also creates a cropping image which is typically the same size as the original image. However, since Crop permits removal of the rows and columns that are left blank, the cropping can be of a different size than the mask. |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
153 <br> - Movie: A sequence of images can be saved as a TIFF stack. |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
154 ]]> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
155 </help> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
156 <option value="Image">Image</option> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
157 <option value="Mask">Mask</option> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
158 <option value="Cropping">Cropping</option> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
159 <option value="Movie">Movie</option> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
160 </param> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
161 <when value="Image"> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
162 <conditional name="con_save_file_format"> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
163 <expand macro="file_format" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
164 <when value="tiff"> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
165 <expand macro="bit_depth" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
166 </when> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
167 <when value="jpeg" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
168 <when value="npy" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
169 <when value="png" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
170 </conditional> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
171 </when> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
172 <when value="Mask"> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
173 <expand macro="file_format" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
174 </when> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
175 <when value="Cropping"> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
176 <expand macro="file_format" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
177 </when> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
178 <when value="Movie"> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
179 <expand macro="bit_depth" /> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
180 </when> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
181 </conditional> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
182 <param name="image_to_save" label="Enter the name of the image to save" type="text" /> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
183 <conditional name="con_method_for_constructing"> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
184 <param name="method_for_constructing" label="Select method for constructing file names" type="select"> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
185 <help> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
186 <![CDATA[ |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
187 Several choices are available for constructing the image file name: |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
188 <br> - From image filename: The filename will be constructed based on the original filename of an input image specified in NamesAndTypes. |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
189 You will have the opportunity to prefix or append additional text. |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
190 If you have metadata associated with your images, you can append text to the image filename using a metadata tag. |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
191 This is especially useful if you want your output given a unique label according to the metadata corresponding to an image group. |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
192 The name of the metadata to substitute can be provided for each image for each cycle using the Metadata module. |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
193 <br> - Sequential numbers: Same as above, but in addition, each filename will have a number appended to the end that corresponds to the image cycle number (starting at 1). |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
194 <br> - Single name: A single name will be given to the file. Since the filename is fixed, this file will be overwritten with each cycle. In this case, you would probably want to save the image on the last cycle (see the Select how often to save setting). The exception to this is to use a metadata tag to provide a unique label, as mentioned in the From image filename option. |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
195 ]]> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
196 </help> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
197 <option value="From image filename">From image filename</option> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
198 <option value="Sequential numbers">Sequential numbers</option> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
199 <option value="Single name">Single name</option> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
200 </param> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
201 <when value="From image filename"> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
202 <param name="name_for_file_prefix" label="Enter the image name (from NamesAndTypes) to be used as file prefix" type="text"> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
203 <expand macro="text_validator" /> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
204 </param> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
205 <conditional name="con_append_suffix"> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
206 <param name="append_suffix" type="select" display="radio" label="Append a suffix to the image file name?"> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
207 <option value="Yes">Yes</option> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
208 <option value="No" selected="True">No</option> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
209 </param> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
210 <when value="Yes"> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
211 <param name="text_to_append" label="Text to append to the image name" type="text"> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
212 <expand macro="text_validator" /> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
213 </param> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
214 </when> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
215 <when value="No" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
216 </conditional> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
217 </when> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
218 <when value="Sequential numbers"> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
219 <param name="file_prefix" label="Enter file prefix" value="OrigBlue" type="text"/> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
220 <param name="no_of_digits" label="Number of digits" type="integer" value="4" min="0" help="Specify the number of digits to be used for the sequential numbering. Zeros will be used to left-pad the digits. If the number specified here is less than that needed to contain the number of image sets, the latter will override the value entered."/> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
221 </when> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
222 <when value="Single name"> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
223 <param name="single_file_name" label="Enter single file name" value="OrigBlue" type="text"> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
224 <expand macro="text_validator" /> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
225 </param> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
226 </when> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
227 </conditional> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
228 <param name="overwrite_without_warning" label="Overwrite existing files without warning?" type="select" display="radio"> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
229 <option value="Yes">Yes</option> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
230 <option value="No" selected="True">No</option> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
231 </param> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
232 <param name="when_to_save" label="When to save" type="select"> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
233 <help> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
234 <![CDATA[ |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
235 Specify at what point during pipeline execution to save file(s). |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
236 <br> - Every cycle: Useful for when the image of interest is created every cycle and is not dependent on results from a prior cycle. |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
237 <br> - First cycle: Useful for when you are saving an aggregate image created on the first cycle, e.g., CorrectIlluminationCalculate with the 'All setting' used on images obtained directly from NamesAndTypes. |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
238 <br> - Last cycle: Useful for when you are saving an aggregate image completed on the last cycle, e.g., CorrectIlluminationCalculate with the 'All setting' used on intermediate images generated during each cycle. |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
239 ]]> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
240 </help> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
241 <option value="Every cycle">Every cycle</option> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
242 <option value="First cycle">First cycle</option> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
243 <option value="Last cycle">Last cycle</option> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
244 </param> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
245 <param name="record_info" label="Record the file and path information to the saved image?" type="select" display="radio"> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
246 <option value="Yes">Yes</option> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
247 <option value="No" selected="True">No</option> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
248 </param> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
249 |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
250 </inputs> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
251 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
252 <outputs> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
253 <expand macro="output_pipeline_param" /> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
254 </outputs> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
255 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
256 <tests> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
257 <test> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
258 <expand macro="test_input_pipeline_param" /> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
259 |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
260 <conditional name="con_type_of_image"> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
261 <param name="type_of_image" value="Image" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
262 <conditional name="con_save_file_format"> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
263 <param name="file_format" value="tiff" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
264 <param name="bit_depth" value="8-bit integer" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
265 </conditional> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
266 </conditional> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
267 <param name="image_to_save" value="ImageDisplay" /> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
268 <conditional name="con_method_for_constructing"> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
269 <param name="method_for_constructing" value="From image filename" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
270 <param name="name_for_file_prefix" value="DNA" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
271 <conditional name="con_append_suffix"> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
272 <param name="append_suffix" value="Yes" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
273 <param name="text_to_append" value="_nucleiNumbers" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
274 </conditional> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
275 </conditional> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
276 <param name="overwrite_without_warning" value="Yes" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
277 <param name="when_to_save" value="Every cycle" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
278 <param name="record_info" value="No" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
279 <param name="subfolder_in_output" value="No" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
280 |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
281 <expand macro="test_out_file" file="save_images.cppipe" /> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
282 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
283 </test> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
284 </tests> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
285 |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
286 <help> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
287 <![CDATA[ |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
288 |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
289 .. class:: infomark |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
290 |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
291 **What it does** |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
292 |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
293 SaveImages saves image or movie files. |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
294 Because CellProfiler usually performs many image analysis steps on many groups of images, it does not save any of the resulting images to the hard drive unless you specifically choose to do so with the SaveImages module. |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
295 You can save any of the processed images created by CellProfiler during the analysis using this module. |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
296 You can choose from many different image formats for saving your files. |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
297 This allows you to use the module as a file format converter, by loading files in their original format and then saving them in an alternate format. |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
298 |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
299 @COMMON_HELP@ |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
300 ]]> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
301 </help> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
302 |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
303 <expand macro="citations" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
304 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
305 </tool> |