Mercurial > repos > perssond > basic_illumination
annotate basic_illumination.xml @ 0:fd8dfd64f25e draft
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
author | perssond |
---|---|
date | Fri, 12 Mar 2021 00:13:46 +0000 |
parents | |
children | db20f09300bd |
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 <tool id="basic_illumination" name="BaSiC Illumination" version="@VERSION@.3" profile="17.09"> |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
2 <description>ImageJ BaSiC shading correction for use with Ashlar</description> |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
3 <macros> |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
4 <import>macros.xml</import> |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
5 </macros> |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
6 |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
7 <expand macro="requirements"/> |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
8 @VERSION_CMD@ |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
9 |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
10 <command detect_errors="exit_code"><![CDATA[ |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
11 ln -s $in_files "${in_files.name}" && |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
12 |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
13 #set $outname = str($in_files.name).replace('.ome.tiff','') |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
14 |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
15 @CMD_BEGIN@ |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
16 |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
17 "filename='${in_files.name}',output_dir='.',experiment_name='output'"; |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
18 |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
19 ]]></command> |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
20 |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
21 <inputs> |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
22 <param type="data" name="in_files" format="tiff" label="Raw Cycle Images"/> |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
23 </inputs> |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
24 |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
25 <outputs> |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
26 <data format="tiff" name="output_dfp" label="${tool.name} on ${on_string}: DFP" from_work_dir="output-dfp.tif"/> |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
27 <data format="tiff" name="output_ffp" label="${tool.name} on ${on_string}: FFP" from_work_dir="output-ffp.tif"/> |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
28 </outputs> |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
29 |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
30 <help><![CDATA[ |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
31 basic-illumination |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
32 ImageJ BaSiC shading correction for use with Ashlar |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
33 |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
34 Running as a Docker container |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
35 Create a container: |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
36 |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
37 docker run -it -v /path/to/data:/data labsyspharm/basic-illumination bash |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
38 (where /path/to/data is the data directory on your local machine. Your data will be mapped to /data inside the container) |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
39 |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
40 Once inside the container, do ls /data to ensure your data is there, followed by |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
41 |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
42 ImageJ-linux64 --ij2 --headless --run imagej_basic_ashlar.py \ |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
43 "filename='/data/input.ome.tiff',output_dir='/data/',experiment_name='my_experiment'" |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
44 for each input.ome.tiff in your data directory. |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
45 |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
46 OHSU Wrapper Repo: https://github.com/ohsu-comp-bio/basic-illumination |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
47 Conda Package Available From: https://anaconda.org/ohsu-comp-bio/basic-illumination |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
48 ]]></help> |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
49 <expand macro="citations" /> |
fd8dfd64f25e
"planemo upload for repository https://github.com/ohsu-comp-bio/basic-illumination commit a8d2367c8c66eecfc2586a593acc8547a7f8611c-dirty"
perssond
parents:
diff
changeset
|
50 </tool> |