Mercurial > repos > bgruening > cp_save_images
annotate save_images.xml @ 4:4ecf93628f97 draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 35da2dcd86747c9bff138e100dbe08c6106f3780"
author | bgruening |
---|---|
date | Sat, 06 Feb 2021 09:58:52 +0000 |
parents | a45d360ae9d9 |
children | 33f4fa1413fb |
rev | line source |
---|---|
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
1 <tool id="cp_save_images" name="SaveImages" version="@CP_VERSION@"> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
2 <description>or movie files</description> |
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> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
6 <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
|
7 <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
|
8 <help> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
9 <![CDATA[ |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
10 - 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
|
11 <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
|
12 <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
|
13 <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
|
14 ]]> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
15 </help> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
16 <option value="jpeg">jpeg</option> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
17 <option value="npy">npy</option> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
18 <option value="png">png</option> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
19 <option value="tiff">tiff</option> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
20 </param> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
21 </xml> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
22 <xml name="bit_depth"> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
23 <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
|
24 <help> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
25 <![CDATA[ |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
26 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
|
27 <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
|
28 <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
|
29 ]]> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
30 </help> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
31 <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
|
32 <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
|
33 <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
|
34 </param> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
35 </xml> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
36 </macros> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
37 |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
38 <expand macro="py_requirements"/> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
39 <expand macro="cmd_modules" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
40 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
41 <configfiles> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
42 <inputs name="inputs" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
43 <configfile name="script_file"> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
44 import json |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
45 import sys |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
46 import os |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
47 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
48 FOURSPACES=@SPACES@ |
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 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
|
51 input_pipeline= sys.argv[2] |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
52 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
53 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
|
54 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
55 def writesi(): |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
56 _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
|
57 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
58 _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
|
59 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
60 _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
|
61 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
62 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
|
63 _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
|
64 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
65 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
|
66 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
|
67 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
|
68 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
69 if append_suffix == "Yes": |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
70 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
|
71 else: |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
72 text_append = "" |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
73 else: |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
74 img_name_file_prefix = "None" |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
75 append_suffix = "No" |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
76 text_append = "" |
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 _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
|
79 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
80 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
|
81 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
|
82 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
|
83 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
84 _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
|
85 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
|
86 _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
|
87 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
88 no_of_digits = 4 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
89 else: |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
90 _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
|
91 no_of_digits = 4 |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
92 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
|
93 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
94 _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
|
95 _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
|
96 _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
|
97 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
98 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
|
99 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
100 _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
|
101 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
102 if save_format == "tiff": |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
103 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
|
104 else: |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
105 bit_depth = "8-bit integer" |
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 _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
|
108 _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
|
109 _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
|
110 _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
|
111 _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
|
112 _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
|
113 _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
|
114 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
115 return _str |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
116 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
117 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
|
118 lines = fin.readlines() |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
119 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
120 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
|
121 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
122 module_count = int(v) |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
123 new_count = module_count + 1 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
124 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
|
125 |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
126 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
|
127 f.writelines(lines) |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
128 f.write(writesi()) |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
129 |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
130 f.close() |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
131 </configfile> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
132 </configfiles> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
133 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
134 <inputs> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
135 <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
|
136 <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
|
137 <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
|
138 <help> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
139 <![CDATA[ |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
140 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
|
141 <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
|
142 <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
|
143 <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
|
144 <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
|
145 ]]> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
146 </help> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
147 <option value="Image">Image</option> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
148 <option value="Mask">Mask</option> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
149 <option value="Cropping">Cropping</option> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
150 <option value="Movie">Movie</option> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
151 </param> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
152 <when value="Image"> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
153 <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
|
154 <expand macro="file_format" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
155 <when value="tiff"> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
156 <expand macro="bit_depth" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
157 </when> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
158 <when value="jpeg" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
159 <when value="npy" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
160 <when value="png" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
161 </conditional> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
162 </when> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
163 <when value="Mask"> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
164 <expand macro="file_format" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
165 </when> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
166 <when value="Cropping"> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
167 <expand macro="file_format" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
168 </when> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
169 <when value="Movie"> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
170 <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
|
171 </when> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
172 </conditional> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
173 <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
|
174 <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
|
175 <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
|
176 <help> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
177 <![CDATA[ |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
178 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
|
179 <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
|
180 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
|
181 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
|
182 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
|
183 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
|
184 <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
|
185 <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
|
186 ]]> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
187 </help> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
188 <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
|
189 <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
|
190 <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
|
191 </param> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
192 <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
|
193 <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
|
194 <expand macro="text_validator" /> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
195 </param> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
196 <conditional name="con_append_suffix"> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
197 <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
|
198 <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
|
199 <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
|
200 </param> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
201 <when value="Yes"> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
202 <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
|
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 </when> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
206 <when value="No" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
207 </conditional> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
208 </when> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
209 <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
|
210 <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
|
211 <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
|
212 </when> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
213 <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
|
214 <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
|
215 <expand macro="text_validator" /> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
216 </param> |
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 </conditional> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
219 <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
|
220 <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
|
221 <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
|
222 </param> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
223 <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
|
224 <help> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
225 <![CDATA[ |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
226 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
|
227 <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
|
228 <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
|
229 <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
|
230 ]]> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
231 </help> |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
232 <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
|
233 <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
|
234 <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
|
235 </param> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
236 <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
|
237 <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
|
238 <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
|
239 </param> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
240 |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
241 </inputs> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
242 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
243 <outputs> |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
244 <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
|
245 </outputs> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
246 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
247 <tests> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
248 <test> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
249 <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
|
250 |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
251 <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
|
252 <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
|
253 <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
|
254 <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
|
255 <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
|
256 </conditional> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
257 </conditional> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
258 <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
|
259 <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
|
260 <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
|
261 <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
|
262 <conditional name="con_append_suffix"> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
263 <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
|
264 <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
|
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="overwrite_without_warning" value="Yes" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
268 <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
|
269 <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
|
270 <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
|
271 |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
272 <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
|
273 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
274 </test> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
275 </tests> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
276 |
3
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
277 <help> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
278 <![CDATA[ |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
279 |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
280 .. class:: infomark |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
281 |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
282 **What it does** |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
283 |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
284 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
|
285 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
|
286 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
|
287 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
|
288 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
|
289 |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
290 @COMMON_HELP@ |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
291 ]]> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
292 </help> |
a45d360ae9d9
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c3917e27eb1c1deeb381aa0dc8161c07699562fb"
bgruening
parents:
2
diff
changeset
|
293 |
0
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
294 <expand macro="citations" /> |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
295 |
6e0f244acd32
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 6d73056a625002d0275b5a9a90a9fae329ce47f1"
bgruening
parents:
diff
changeset
|
296 </tool> |