Mercurial > repos > perssond > basic_illumination
annotate macros.xml @ 2:acc6f509968c draft
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit 72a33d7c3ad18e717ec61c6b845099d69b9b7abd
author | goeckslab |
---|---|
date | Tue, 20 Sep 2022 17:34:14 +0000 |
parents | db20f09300bd |
children | 7ee5b6f7533e |
rev | line source |
---|---|
0
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
2 <macros> |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
3 <xml name="requirements"> |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
4 <requirements> |
1
db20f09300bd
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit d62977a02ee6e0e5100479d6d7b19eb4a8cf9761
goeckslab
parents:
0
diff
changeset
|
5 <container type="docker">labsyspharm/basic-illumination:@TOOL_VERSION@</container> |
0
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
6 </requirements> |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
7 </xml> |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
8 |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
9 <xml name="version_cmd"> |
1
db20f09300bd
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit d62977a02ee6e0e5100479d6d7b19eb4a8cf9761
goeckslab
parents:
0
diff
changeset
|
10 <version_command>echo @TOOL_VERSION@</version_command> |
0
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
11 </xml> |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
12 <xml name="citations"> |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
13 <citations> |
1
db20f09300bd
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit d62977a02ee6e0e5100479d6d7b19eb4a8cf9761
goeckslab
parents:
0
diff
changeset
|
14 <citation type="doi">10.1038/ncomms14836</citation> |
0
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
15 </citations> |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
16 </xml> |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
17 |
1
db20f09300bd
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit d62977a02ee6e0e5100479d6d7b19eb4a8cf9761
goeckslab
parents:
0
diff
changeset
|
18 <token name="@TOOL_VERSION@">1.0.3</token> |
2
acc6f509968c
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit 72a33d7c3ad18e717ec61c6b845099d69b9b7abd
goeckslab
parents:
1
diff
changeset
|
19 <token name="@VERSION_SUFFIX@">1</token> |
1
db20f09300bd
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit d62977a02ee6e0e5100479d6d7b19eb4a8cf9761
goeckslab
parents:
0
diff
changeset
|
20 <token name="@PROFILE@">19.01</token> |
db20f09300bd
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit d62977a02ee6e0e5100479d6d7b19eb4a8cf9761
goeckslab
parents:
0
diff
changeset
|
21 <token name="@CMD_BEGIN@"><![CDATA[ |
db20f09300bd
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit d62977a02ee6e0e5100479d6d7b19eb4a8cf9761
goeckslab
parents:
0
diff
changeset
|
22 ## if ImageJ isn't already present, this is the docker-dependency version |
db20f09300bd
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit d62977a02ee6e0e5100479d6d7b19eb4a8cf9761
goeckslab
parents:
0
diff
changeset
|
23 ## as such, ImageJ needs to be registered as a global executable on $PATH |
db20f09300bd
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit d62977a02ee6e0e5100479d6d7b19eb4a8cf9761
goeckslab
parents:
0
diff
changeset
|
24 |
db20f09300bd
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit d62977a02ee6e0e5100479d6d7b19eb4a8cf9761
goeckslab
parents:
0
diff
changeset
|
25 if ! [ -x "\$(which ImageJ)" ]; then |
db20f09300bd
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit d62977a02ee6e0e5100479d6d7b19eb4a8cf9761
goeckslab
parents:
0
diff
changeset
|
26 ln -sf "\$(which ImageJ-linux64)" "ImageJ"; |
db20f09300bd
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit d62977a02ee6e0e5100479d6d7b19eb4a8cf9761
goeckslab
parents:
0
diff
changeset
|
27 export PATH="\$PATH:\$(pwd)/"; |
db20f09300bd
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit d62977a02ee6e0e5100479d6d7b19eb4a8cf9761
goeckslab
parents:
0
diff
changeset
|
28 fi && |
db20f09300bd
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit d62977a02ee6e0e5100479d6d7b19eb4a8cf9761
goeckslab
parents:
0
diff
changeset
|
29 |
db20f09300bd
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit d62977a02ee6e0e5100479d6d7b19eb4a8cf9761
goeckslab
parents:
0
diff
changeset
|
30 BASIC_SCRIPT="" && |
db20f09300bd
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit d62977a02ee6e0e5100479d6d7b19eb4a8cf9761
goeckslab
parents:
0
diff
changeset
|
31 if [ -f "/opt/fiji/imagej_basic_ashlar.py" ]; then |
db20f09300bd
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit d62977a02ee6e0e5100479d6d7b19eb4a8cf9761
goeckslab
parents:
0
diff
changeset
|
32 export BASIC_SCRIPT="/opt/fiji/imagej_basic_ashlar.py"; |
db20f09300bd
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit d62977a02ee6e0e5100479d6d7b19eb4a8cf9761
goeckslab
parents:
0
diff
changeset
|
33 else |
db20f09300bd
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit d62977a02ee6e0e5100479d6d7b19eb4a8cf9761
goeckslab
parents:
0
diff
changeset
|
34 export BASIC_SCRIPT="${__tool_directory__}/imagej_basic_ashlar.py"; |
db20f09300bd
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit d62977a02ee6e0e5100479d6d7b19eb4a8cf9761
goeckslab
parents:
0
diff
changeset
|
35 fi && |
db20f09300bd
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit d62977a02ee6e0e5100479d6d7b19eb4a8cf9761
goeckslab
parents:
0
diff
changeset
|
36 |
db20f09300bd
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit d62977a02ee6e0e5100479d6d7b19eb4a8cf9761
goeckslab
parents:
0
diff
changeset
|
37 ImageJ --ij2 --headless --run \$BASIC_SCRIPT |
db20f09300bd
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit d62977a02ee6e0e5100479d6d7b19eb4a8cf9761
goeckslab
parents:
0
diff
changeset
|
38 ]]></token> |
0
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
39 </macros> |