Mercurial > repos > perssond > basic_illumination
comparison basic_illumination.xml @ 1:db20f09300bd draft
planemo upload for repository https://github.com/labsyspharm/basic-illumination commit d62977a02ee6e0e5100479d6d7b19eb4a8cf9761
| author | goeckslab |
|---|---|
| date | Thu, 01 Sep 2022 22:46:21 +0000 |
| parents | fd8dfd64f25e |
| children | acc6f509968c |
comparison
equal
deleted
inserted
replaced
| 0:fd8dfd64f25e | 1:db20f09300bd |
|---|---|
| 1 <tool id="basic_illumination" name="BaSiC Illumination" version="@VERSION@.3" profile="17.09"> | 1 <tool id="basic_illumination" name="BaSiC Illumination" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
| 2 <description>ImageJ BaSiC shading correction for use with Ashlar</description> | 2 <description>ImageJ BaSiC shading correction for use with Ashlar</description> |
| 3 <macros> | 3 <macros> |
| 4 <import>macros.xml</import> | 4 <import>macros.xml</import> |
| 5 </macros> | 5 </macros> |
| 6 | 6 |
| 7 <expand macro="requirements"/> | 7 <expand macro="requirements"/> |
| 8 @VERSION_CMD@ | 8 <expand macro="version_cmd"/> |
| 9 | 9 |
| 10 <command detect_errors="exit_code"><![CDATA[ | 10 <command detect_errors="exit_code"><![CDATA[ |
| 11 ln -s $in_files "${in_files.name}" && | 11 ln -s '$in_files' '${in_files.name}' && |
| 12 | 12 |
| 13 #set $outname = str($in_files.name).replace('.ome.tiff','') | 13 #set $outname = str('$in_files.name').replace('.ome.tiff','') |
| 14 | 14 |
| 15 @CMD_BEGIN@ | 15 @CMD_BEGIN@ |
| 16 | 16 |
| 17 "filename='${in_files.name}',output_dir='.',experiment_name='output'"; | 17 "filename='${in_files.name}',output_dir='.',experiment_name='output'"; |
| 18 | 18 |
| 24 | 24 |
| 25 <outputs> | 25 <outputs> |
| 26 <data format="tiff" name="output_dfp" label="${tool.name} on ${on_string}: DFP" from_work_dir="output-dfp.tif"/> | 26 <data format="tiff" name="output_dfp" label="${tool.name} on ${on_string}: DFP" from_work_dir="output-dfp.tif"/> |
| 27 <data format="tiff" name="output_ffp" label="${tool.name} on ${on_string}: FFP" from_work_dir="output-ffp.tif"/> | 27 <data format="tiff" name="output_ffp" label="${tool.name} on ${on_string}: FFP" from_work_dir="output-ffp.tif"/> |
| 28 </outputs> | 28 </outputs> |
| 29 <tests> | |
| 30 <test> | |
| 31 <param name="in_files" value="test.tiff" /> | |
| 32 <output name="output_dfp" ftype="tiff"> | |
| 33 <assert_contents> | |
| 34 <has_size value="350000" delta="50000" /> | |
| 35 </assert_contents> | |
| 36 </output> | |
| 37 <output name="output_ffp" ftype="tiff"> | |
| 38 <assert_contents> | |
| 39 <has_size value="350000" delta="50000" /> | |
| 40 </assert_contents> | |
| 41 </output> | |
| 42 </test> | |
| 43 </tests> | |
| 44 <help><![CDATA[ | |
| 45 ------------------- | |
| 46 basic-illumination | |
| 47 ------------------- | |
| 29 | 48 |
| 30 <help><![CDATA[ | 49 **ImageJ BaSiC shading correction for use with Ashlar** |
| 31 basic-illumination | 50 **basic-illumination** can read image data directly from BioFormats-supported microscope |
| 32 ImageJ BaSiC shading correction for use with Ashlar | 51 vendor file formats as well as a directory of plain TIFF files. Output includes a flat field and |
| 33 | 52 dark field image per input file. |
| 34 Running as a Docker container | |
| 35 Create a container: | |
| 36 | |
| 37 docker run -it -v /path/to/data:/data labsyspharm/basic-illumination bash | |
| 38 (where /path/to/data is the data directory on your local machine. Your data will be mapped to /data inside the container) | |
| 39 | |
| 40 Once inside the container, do ls /data to ensure your data is there, followed by | |
| 41 | |
| 42 ImageJ-linux64 --ij2 --headless --run imagej_basic_ashlar.py \ | |
| 43 "filename='/data/input.ome.tiff',output_dir='/data/',experiment_name='my_experiment'" | |
| 44 for each input.ome.tiff in your data directory. | |
| 45 | |
| 46 OHSU Wrapper Repo: https://github.com/ohsu-comp-bio/basic-illumination | |
| 47 Conda Package Available From: https://anaconda.org/ohsu-comp-bio/basic-illumination | |
| 48 ]]></help> | 53 ]]></help> |
| 49 <expand macro="citations" /> | 54 <expand macro="citations" /> |
| 50 </tool> | 55 </tool> |
