Mercurial > repos > imgteam > landmark_registration
annotate landmark_registration.xml @ 2:4e089a0983b1 draft
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
author | imgteam |
---|---|
date | Sun, 20 Feb 2022 15:46:58 +0000 |
parents | a71239f3543a |
children | 9ccd642e7ae2 |
rev | line source |
---|---|
2
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
1 <tool id="ip_landmark_registration" name="Landmark Registration" version="0.0.3" profile="20.05"> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
2 <description>estimates the affine transformation matrix</description> |
0
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
3 <requirements> |
2
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
4 <requirement type="package" version="0.18.1">scikit-image</requirement> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
5 <requirement type="package" version="1.6.2">scipy</requirement> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
6 <requirement type="package" version="1.2.4">pandas</requirement> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
7 <requirement type="package" version="1.20.2">numpy</requirement> |
0
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
8 </requirements> |
2
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
9 <command detect_errors="aggressive"> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
10 <![CDATA[ |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
11 python '$__tool_directory__/landmark_registration.py' |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
12 '$fn_pts1' |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
13 '$fn_pts2' |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
14 '$fn_tmat' |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
15 #if $algo_option.algo == 'ransac' |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
16 --res_th $algo_option.res_thr |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
17 --max_ite $algo_option.max_iter |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
18 #end if |
0
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
19 ]]></command> |
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
20 <inputs> |
2
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
21 <param name="fn_pts1" type="data" format="tabular" label="Coordinates of SRC landmarks (tsv file)" /> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
22 <param name="fn_pts2" type="data" format="tabular" label="Coordinates of DST landmarks (tsv file)" /> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
23 <conditional name="algo_option"> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
24 <param name="algo" type="select" label="Select the algorithm"> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
25 <option value="ransac" selected="True">RANSAC</option> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
26 <option value="ls">Least Squares</option> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
27 </param> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
28 <when value="ransac"> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
29 <param name="res_thr" type="float" value="2.0" label="Maximum distance for a data point to be classified as an inlier." /> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
30 <param name="max_iter" type="integer" value="100" label="Maximum number of iterations for random sample selection." /> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
31 </when> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
32 <when value="ls"></when> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
33 </conditional> |
0
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
34 </inputs> |
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
35 <outputs> |
2
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
36 <data format="tabular" name="fn_tmat" /> |
0
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
37 </outputs> |
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
38 <tests> |
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
39 <test> |
2
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
40 <param name="fn_pts1" value="points_moving.tsv"/> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
41 <param name="fn_pts2" value="points_fixed.tsv"/> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
42 <param name="algo_option.algo" value="ls"/> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
43 <output name="fn_tmat" value="tmat.tsv" ftype="tabular" compare="diff" lines_diff="6"/> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
44 </test> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
45 <test> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
46 <param name="fn_pts1" value="points_moving.tsv"/> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
47 <param name="fn_pts2" value="points_fixed.tsv"/> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
48 <param name="algo_option.algo" value="ransac"/> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
49 <param name="algo_option.res_thr" value="2"/> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
50 <param name="algo_option.max_iter" value="100"/> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
51 <output name="fn_tmat" value="tmat.tsv" ftype="tabular" compare="diff" lines_diff="6"/> |
0
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
52 </test> |
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
53 </tests> |
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
54 <help> |
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
55 **What it does** |
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
56 |
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
57 This tool estimates the transformation matrix between two sets of 2d points. |
2
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
58 |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
59 About the format of landmark coordinates in the input TSV table: Columns with header "x" and "y" are for x- and y-coordinate, respectively. |
0
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
60 </help> |
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
61 <citations> |
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
62 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation> |
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
63 </citations> |
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
64 </tool> |