comparison woundhealing.xml @ 0:8948cc562b7c draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 4d4d0b10eb6be3b1f13b2becc8f057ac41d3f0de
author bgruening
date Thu, 29 Feb 2024 17:43:50 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:8948cc562b7c
1 <tool id="woundhealing_scratch_assay" name="Wound healing scratch assay" version="@VERSION@+galaxy0" profile="23.1">
2 <description>image analysis</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="requirements" />
7 <command detect_errors="aggressive">
8 <![CDATA[
9 mkdir -p ./input &&
10
11 #if $con_input_type.input_type =="yes"
12 tar -C ./input -xvf $con_input_type.input_images &&
13 #else
14 #for $i, $filename in enumerate($con_input_type.input_images):
15 ln -s '$filename' './input/${filename.element_identifier}' &&
16 #end for
17 #end if
18 ImageJ --ij2 --headless
19 --run '$__tool_directory__/measureWoundClosing.groovy'
20 'inputDir="./input",datasetId="$dataset_id",threshold="$threshold",headless="true",saveResults="true",outDirName="./output"'
21 ]]>
22 </command>
23 <inputs>
24 <conditional name="con_input_type">
25 <param name="input_type" type="select" label="Are the input images packed into a tar archive?">
26 <option value="yes">Yes</option>
27 <option value="no">No</option>
28 </param>
29 <when value="no">
30 <param name="input_images" type="data" multiple="true" format="@FORMATS@" label="Images" />
31 </when>
32 <when value="yes">
33 <param name="input_images" type="data" format="tar" label="A tarball of images" />
34 </when>
35 </conditional>
36 <param name="dataset_id" type="text" label="Dataset ID" />
37 <param name="threshold" type="text" label="CoV threshold (-1: auto)" value="-1"/>
38 </inputs>
39 <outputs>
40 <data name="tif_output" format="tif" from_work_dir="output/*.tif" label="movie output ${on_string}" />
41 <data name="csv_output" format="tabular" from_work_dir="output/*.csv" label="tabular output"/>
42 </outputs>
43 <tests>
44 <test >
45 <conditional name="con_input_type">
46 <param name="input_type" value="no" />
47 <param name="input_images" location="https://github.com/sunyi000/wound-healing-htm-screen/raw/main/assets/data/input/A3ROI2_Slow_0000.tif,https://github.com/sunyi000/wound-healing-htm-screen/raw/main/assets/data/input/A3ROI2_Slow_0002.tif" />
48 </conditional>
49 <param name="dataset_id" value="A3ROI2_Slow" />
50 <output name="tif_output" location="https://github.com/sunyi000/wound-healing-htm-screen/raw/main/assets/data/A3ROI2_Slow.tif"/>
51 <output name="csv_output" file="A3ROI2_Slow.csv"/>
52 </test>
53 </tests>
54 <help>
55 <![CDATA[
56 **What it does**
57 Automated quantification of wound healing in high-throughput time-lapse transmission microscopy scratch assays.
58 ]]>
59 </help>
60 <expand macro="citations" />
61 </tool>