annotate 3d_tensor_feature_dimension_reduction.xml @ 0:e8f64a98cbc6 draft default tip

"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
author imgteam
date Thu, 20 Jan 2022 00:45:01 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
1 <tool id="ip_3d_tensor_feature_dimension_reduction" name="Dimensionality Reduction" version="0.0.1" profile="20.05">
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
2 <description>for features of 3D tensor data using UMAP</description>
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
3 <requirements>
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
4 <requirement type="package" version="1.20.2">numpy</requirement>
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
5 <requirement type="package" version="3.6.0">h5py</requirement>
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
6 <requirement type="package" version="2020.10.1">tifffile</requirement>
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
7 <requirement type="package" version="0.5.2">umap-learn</requirement>
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
8 </requirements>
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
9 <command detect_errors="aggressive"><![CDATA[
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
10 ln -s '$fn_in' ./input.h5 &&
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
11 python '$__tool_directory__/3d_tensor_feature_dimension_reduction.py'
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
12 ./input.h5
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
13 '$nCh'
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
14 ./output.tif
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
15 ]]>
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
16 </command>
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
17 <inputs>
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
18 <param name="fn_in" type="data" format="hdf5" label="3D tensor data (rows x cols x features)" />
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
19 <param name="nCh" type="integer" value="5" optional="true" min="1" max="10" label="Reduced dimensions of features" />
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
20 </inputs>
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
21 <outputs>
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
22 <data format="tiff" name="fn_out" from_work_dir="output.tif" />
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
23 </outputs>
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
24 <tests>
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
25 <test>
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
26 <param name="fn_in" value="tensor.h5"/>
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
27 <param name="nCh" value="3"/>
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
28 <output name="fn_out" value="tensor_r.tif" ftype="tiff" compare="sim_size"/>
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
29 </test>
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
30 </tests>
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
31 <help>
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
32 **What it does**
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
33
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
34 This tool performs dimensionality reduction for features of 3D tensor data (rows x cols x features) using UMAP. The results will be saved as a multi-channel 32-bit TIFF image (features x rows x cols).
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
35 </help>
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
36 <citations>
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
37 </citations>
e8f64a98cbc6 "planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/3d_tensor_feature_dimension_reduction/ commit e82400162e337b36c29d6e79fb2deb9871475397"
imgteam
parents:
diff changeset
38 </tool>