comparison omero_dataset_to_plate.xml @ 0:5ad32d18fe82 draft

planemo upload for repository https://github.com/Helmholtz-UFZ/galaxy-tools/tree/main/tools/omero commit 636cbb62d59819caca5bc9eab0a8ec31be5bdd46
author ufz
date Mon, 16 Dec 2024 20:56:16 +0000
parents
children c6f34af26769
comparison
equal deleted inserted replaced
-1:000000000000 0:5ad32d18fe82
1 <tool id="omero_dataset_to_plate" name="OMERO Dataset to Plate" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@" license="MIT">
2 <description> with omero-py </description>
3 <macros>
4 <import>macros.xml</import>
5 <token name="@VERSION_SUFFIX@">3</token>
6 </macros>
7 <xrefs>
8 <xref type="bio.tools">omero</xref>
9 </xrefs>
10 <expand macro="omeropy_requirements"/>
11 <command detect_errors="exit_code"><![CDATA[
12 python '$__tool_directory__/omero_dataset_to_plate.py'
13 --credential-file '$credentials'
14 @HOST_PORT@
15 --dataset_id '$dataset_id'
16 --log_file '$log'
17 --mapping_file '$mapping'
18 '$delete_dataset'
19 ]]></command>
20 <configfiles>
21 <expand macro="credentials"/>
22 </configfiles>
23 <inputs>
24 <expand macro="host_port"/>
25 <param name="dataset_id" type="integer" optional="false" min = "1" label="Dataset ID to convert to a plate"/>
26 <param name="mapping" type="data" format= "tabular" optional="false" label="Mapping file"/>
27 <param name="delete_dataset" type="boolean" truevalue="--delete_dataset" falsevalue="" checked="false" label="Delete Dataset" help="Delete dataset after import"/>
28 </inputs>
29 <outputs>
30 <data name="log" format="txt"/>
31 </outputs>
32 <tests>
33 <test>
34 <param name="omero_host" value="host.docker.internal"/>
35 <param name="omero_port" value="6064"/>
36 <param name="dataset_id" value="2"/>
37 <param name="test_username" value="root"/>
38 <param name="test_password" value="omero"/>
39 <param name="mapping" value="mapping.tsv"/>
40 <param name="delete_dataset" value="True"/>
41 <output name="log" value="dataset_conversion_log.txt" ftype="txt">
42 <assert_contents>
43 <has_text text="Images from Dataset 2 successfully added to Plate 1"/>
44 </assert_contents>
45 </output>
46 </test>
47 </tests>
48 <help>
49 Description
50 -----------
51 - Tool to convert an existing dataset to a plate in OMERO
52 - The tool is taking as input a mapping tabular file with Filename and Well Position:
53 +------------+---------------+
54 | Filename | Well |
55 +============+===============+
56 | image1.tiff| A2 |
57 +------------+---------------+
58 | image2.tiff| B5 |
59 +------------+---------------+
60 | image3.tiff| H12 |
61 +------------+---------------+
62 @SECURITY_DISCLAIMER@
63 </help>
64 <citations>
65 <citation type="doi">10.1038/nmeth.1896</citation>
66 </citations>
67 </tool>