Mercurial > repos > goeckslab > tiling_pyhist
annotate tiling_pyhist.xml @ 0:c051e9688932 draft default tip
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
author | goeckslab |
---|---|
date | Thu, 03 Jul 2025 23:48:01 +0000 |
parents | |
children |
rev | line source |
---|---|
0
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
1 <tool id="tiling_pyhist" name="Tile Images with PyHIST" version="1.0.0"> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
2 <description>Tile pathology images using PyHIST in parallel</description> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
3 |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
4 <requirements> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
5 <container type="docker">quay.io/goeckslab/galaxy-tiler:1.0.0</container> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
6 </requirements> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
7 <stdio> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
8 <exit_code range="137" level="fatal_oom" description="Out of Memory" /> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
9 <exit_code range="1:" level="fatal" description="Error occurred. Please check Tool Standard Error" /> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
10 </stdio> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
11 <command><![CDATA[ |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
12 python "$__tool_directory__/tiling_pyhist.py" |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
13 #for $i, $img in enumerate($input_collection) |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
14 --input '${img}' --original_name "${img.element_identifier}" |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
15 #end for |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
16 --output_zip '$output_zip' |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
17 ]]></command> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
18 |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
19 <inputs> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
20 <param name="input_collection" type="data_collection" collection_type="list" format="svs,tiff,tif" label="Input Image Collection" |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
21 help="Provide a dataset collection of pathology images (.svs, .tiff, .tif)." /> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
22 </inputs> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
23 |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
24 <outputs> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
25 <data name="output_zip" format="zip" label="Image Tiles (zip)" /> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
26 </outputs> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
27 <tests> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
28 <test> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
29 <param name="input_collection"> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
30 <collection type="list"> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
31 <element name="sample1" ftype="svs" value="CMU-1-Small-Region.svs" /> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
32 </collection> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
33 </param> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
34 <output name="output_zip" file="expected_output_CMU-1-Small-Region.zip" compare="sim_size" delta="10000"/> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
35 </test> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
36 </tests> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
37 <help><![CDATA[ |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
38 **Tile Images with PyHIST** |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
39 |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
40 This tool tiles pathology images using PyHIST in parallel using Docker. It accepts a **collection** of pathology images: |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
41 |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
42 - A dataset collection of individual pathology images (e.g., `.svs`, `.tiff`, `.tif`). |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
43 |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
44 Each image in the collection will be processed in a batch using PyHIST. The output is a ZIP file containing tiled image folders named after the input images. |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
45 |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
46 **Inputs:** |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
47 - **Input Image Collection**: Provide a collection of images to tile. |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
48 - **Output ZIP Filename**: The resulting ZIP file of tiled patches. |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
49 |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
50 **Outputs:** |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
51 - **Tiled Images ZIP**: A single ZIP archive with all tiled outputs. |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
52 |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
53 **Note**: Requires Docker on the Galaxy server. Ensure sufficient disk and CPU resources for parallel processing. |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
54 ]]></help> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
55 <citations> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
56 <citation type="doi">10.1371/journal.pcbi.1008349</citation> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
57 </citations> |
c051e9688932
planemo upload for repository https://github.com/goeckslab/gleam.git commit 11356473f09dd54d86af28b74bd9ed097d07ca04
goeckslab
parents:
diff
changeset
|
58 </tool> |