Mercurial > repos > imgteam > landmark_registration
annotate landmark_registration.xml @ 3:9ccd642e7ae2 draft
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 0500f513ee291ae0f6fad32a0b4fad05cd59cb71"
author | imgteam |
---|---|
date | Sat, 26 Feb 2022 17:14:05 +0000 |
parents | 4e089a0983b1 |
children | aee73493bf53 |
rev | line source |
---|---|
3
9ccd642e7ae2
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 0500f513ee291ae0f6fad32a0b4fad05cd59cb71"
imgteam
parents:
2
diff
changeset
|
1 <tool id="ip_landmark_registration" name="Landmark Registration" version="0.0.4" profile="20.05"> |
2
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' |
3
9ccd642e7ae2
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 0500f513ee291ae0f6fad32a0b4fad05cd59cb71"
imgteam
parents:
2
diff
changeset
|
15 #if '$algo_option.algo' == 'ransac': |
9ccd642e7ae2
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 0500f513ee291ae0f6fad32a0b4fad05cd59cb71"
imgteam
parents:
2
diff
changeset
|
16 --res_th $algo_option.res_thr |
9ccd642e7ae2
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 0500f513ee291ae0f6fad32a0b4fad05cd59cb71"
imgteam
parents:
2
diff
changeset
|
17 --max_ite $algo_option.max_iter |
2
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"/> |
3
9ccd642e7ae2
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 0500f513ee291ae0f6fad32a0b4fad05cd59cb71"
imgteam
parents:
2
diff
changeset
|
42 <conditional name="algo_option"> |
9ccd642e7ae2
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 0500f513ee291ae0f6fad32a0b4fad05cd59cb71"
imgteam
parents:
2
diff
changeset
|
43 <param name="algo" value="ls"/> |
9ccd642e7ae2
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 0500f513ee291ae0f6fad32a0b4fad05cd59cb71"
imgteam
parents:
2
diff
changeset
|
44 </conditional> |
2
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
45 <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
|
46 </test> |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
47 <test> |
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="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
|
49 <param name="fn_pts2" value="points_fixed.tsv"/> |
3
9ccd642e7ae2
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 0500f513ee291ae0f6fad32a0b4fad05cd59cb71"
imgteam
parents:
2
diff
changeset
|
50 <conditional name="algo_option"> |
9ccd642e7ae2
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 0500f513ee291ae0f6fad32a0b4fad05cd59cb71"
imgteam
parents:
2
diff
changeset
|
51 <param name="algo" value="ransac"/> |
9ccd642e7ae2
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 0500f513ee291ae0f6fad32a0b4fad05cd59cb71"
imgteam
parents:
2
diff
changeset
|
52 <param name="res_thr" value="2"/> |
9ccd642e7ae2
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 0500f513ee291ae0f6fad32a0b4fad05cd59cb71"
imgteam
parents:
2
diff
changeset
|
53 <param name="max_iter" value="100"/> |
9ccd642e7ae2
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 0500f513ee291ae0f6fad32a0b4fad05cd59cb71"
imgteam
parents:
2
diff
changeset
|
54 </conditional> |
2
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
55 <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
|
56 </test> |
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
57 </tests> |
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
58 <help> |
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
59 **What it does** |
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
60 |
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
61 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
|
62 |
4e089a0983b1
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit 927b78d47c31714776ccdf3d16f26c3779298abb"
imgteam
parents:
0
diff
changeset
|
63 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
|
64 </help> |
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
65 <citations> |
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
66 <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
|
67 </citations> |
a71239f3543a
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/landmark_registration/ commit d5df0e2f37920d09b5d942a7b128041ee1f0b6f5
imgteam
parents:
diff
changeset
|
68 </tool> |