comparison bf2raw.xml @ 1:b32f5368e279 draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/bioformats2raw commit 98bcca8b963b30cf12dd7f659a4a52764c33e7cc
author imgteam
date Wed, 22 Nov 2023 19:10:25 +0000
parents 4b6c2135e547
children 1b3e7d53cec6
comparison
equal deleted inserted replaced
0:4b6c2135e547 1:b32f5368e279
1 <tool id="bf2raw" name="Convert to OME-Zarr" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@"> 1 <tool id="bf2raw" name="Convert to OME-Zarr" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
2 <description>with Bioformats</description> 2 <description>with Bioformats</description>
3 <macros> 3 <macros>
4 <token name="@TOOL_VERSION@">0.7.0</token> 4 <token name="@TOOL_VERSION@">0.7.0</token>
5 <token name="@VERSION_SUFFIX@">0</token> 5 <token name="@VERSION_SUFFIX@">1</token>
6 </macros> 6 </macros>
7 <edam_operations> 7 <edam_operations>
8 <edam_operation>operation_3443</edam_operation> 8 <edam_operation>operation_3443</edam_operation>
9 </edam_operations> 9 </edam_operations>
10 <requirements> 10 <requirements>
11 <container type="docker">quay.io/biocontainers/mulled-v2-ea5a9ffc5f22f92a78f0cd24aac43eb503c0e523:4c010c399f61cde74da64343581999ada3e11e24-0</container> 11 <container type="docker">quay.io/biocontainers/mulled-v2-ea5a9ffc5f22f92a78f0cd24aac43eb503c0e523:4c010c399f61cde74da64343581999ada3e11e24-0</container>
12 </requirements> 12 </requirements>
13 <command><![CDATA[ 13 <command><![CDATA[
14 14
15 if [ ! -d $output.extra_files_path ];then 15 if [ ! -d $output.files_path ];then
16 mkdir -p $output.extra_files_path; 16 mkdir -p $output.files_path;
17 fi; 17 fi;
18 18
19 #if str($io_options.input.ext)=='html': 19 #if str($io_options.input.ext)=='html':
20 #set dirlist=os.listdir($io_options.input.extra_files_path) 20 #set dirlist=os.listdir($io_options.input.files_path)
21 #assert len($dirlist) > 0 21 #assert len($dirlist) > 0
22 #set input_path=os.path.join(str($io_options.input.extra_files_path), str($dirlist[0])) 22 #set input_path=os.path.join(str($io_options.input.files_path), str($dirlist[0]))
23 #else: 23 #else:
24 #set input_path=$io_options.input 24 #set input_path=$io_options.input
25 #end if 25 #end if
26 26
27 bioformats2raw $input_path $output.extra_files_path/$io_options.output_name 27 bioformats2raw $input_path $output.files_path/$io_options.output_name
28 #if $bf2raw_params.multiscales['options'] == 'auto': 28 #if $bf2raw_params.multiscales['options'] == 'auto':
29 --target-min-size $bf2raw_params.multiscales.min_xy_size 29 --target-min-size $bf2raw_params.multiscales.min_xy_size
30 #elif $bf2raw_params.multiscales['options'] == 'manual': 30 #elif $bf2raw_params.multiscales['options'] == 'manual':
31 --resolutions $bf2raw_params.resolutions 31 --resolutions $bf2raw_params.resolutions
32 #end if 32 #end if
45 ###--overwrite 45 ###--overwrite
46 --debug off &> /dev/null; 46 --debug off &> /dev/null;
47 47
48 ]]></command> 48 ]]></command>
49 <inputs> 49 <inputs>
50 <section name="io_options" title="Input-output paths"> 50 <section name="io_options" title="Input-output paths" expanded="true">
51 <param name="input" type="data" format="atsf,scn,ali,labels,ffr,jpeg,ndpi,tf8,pty,fff,mnc,vms,mng,xml,pcx,img,pct,ims,bip,ome.xml,bin,flex,his,hdr,mov,psd,spi,ipl,dv,aiix,j2kr,pst,mod,ome.tif,tif,obf,dib,dic,im3,tga,pbm,c01,crw,mrcs,l2d,seq,mdb,cfg,htm,mvd2,arf,vsi,companion.ome,htd,aim,fts,ndpis,r3d.log,nef,res,jpx,ics,rec,nd2,cr2,dcm,mea,ome,lei,lms,j2k,oib,mtb,ima,ets,wlz,pict,sm3,sm2,nrrd,xdce,acff,al3d,zvi,1sc,xys,tiff,pgm,pcoraw,ppm,ipm,set,cxd,ipw,apl,fake,tnb,txt,xv,tf2,ps,log,zip,epsi,j2ki,dicom,top,msr,frm,hed,gif,dm2,dm3,dm4,zpo,wav,wat,2fl,sdt,liff,hx,pic,ome.btf,am,bmp,pnl,r3d_d3d,jpf,png,tfr,dti,nii.gz,cif,fdf,grey,df3,stk,fli,hdf,btf,stp,ch5,v,sld,ids,dv.log,jpk,mrw,r3d,xlog,ano,jpe,sxm,jpg,vws,raw,czi,spl,avi,ome.tf8,inf,spc,ome.tf2,spe,lsm,afm,lif,naf,afi,inr,lim,nd,tim,html,sif,env,tif,csv,map,nii,gel,ome.tiff,oif,par,amiramesh,pr3,fits,lut,jp2,oir,dat,aisf,zfr,zfp,xqd,eps,xqf,st,nhdr,i2i,thm,exp,svs,mrc" label="Input image located in Galaxy history"/> 51 <param name="input" type="data" format="atsf,scn,ali,labels,ffr,jpeg,ndpi,tf8,pty,fff,mnc,vms,mng,xml,pcx,img,pct,ims,bip,ome.xml,bin,flex,his,hdr,mov,psd,spi,ipl,dv,aiix,j2kr,pst,mod,ome.tif,tif,obf,dib,dic,im3,tga,pbm,c01,crw,mrcs,l2d,seq,mdb,cfg,htm,mvd2,arf,vsi,companion.ome,htd,aim,fts,ndpis,r3d.log,nef,res,jpx,ics,rec,nd2,cr2,dcm,mea,ome,lei,lms,j2k,oib,mtb,ima,ets,wlz,pict,sm3,sm2,nrrd,xdce,acff,al3d,zvi,1sc,xys,tiff,pgm,pcoraw,ppm,ipm,set,cxd,ipw,apl,fake,tnb,txt,xv,tf2,ps,log,zip,epsi,j2ki,dicom,top,msr,frm,hed,gif,dm2,dm3,dm4,zpo,wav,wat,2fl,sdt,liff,hx,pic,ome.btf,am,bmp,pnl,r3d_d3d,jpf,png,tfr,dti,nii.gz,cif,fdf,grey,df3,stk,fli,hdf,btf,stp,ch5,v,sld,ids,dv.log,jpk,mrw,r3d,xlog,ano,jpe,sxm,jpg,vws,raw,czi,spl,avi,ome.tf8,inf,spc,ome.tf2,spe,lsm,afm,lif,naf,afi,inr,lim,nd,tim,html,sif,env,tif,csv,map,nii,gel,ome.tiff,oif,par,amiramesh,pr3,fits,lut,jp2,oir,dat,aisf,zfr,zfp,xqd,eps,xqf,st,nhdr,i2i,thm,exp,svs,mrc" label="Input image located in Galaxy history"/>
52 <param name="output_name" type="text" value="data.zarr" label="Output zarr data"/> 52 <param name="output_name" type="text" value="output.ome.zarr" label="Output zarr data"/>
53 </section> 53 </section>
54 <section name="bf2raw_params" title="Parameters fed to file conversion module"> 54 <section name="bf2raw_params" title="Parameters fed to file conversion module">
55 <conditional name="multiscales" > 55 <conditional name="multiscales" >
56 <param name="options" type="select" multiple="false" label="How should the number of resolutions be determined?" > 56 <param name="options" type="select" multiple="false" label="How should the number of resolutions be determined?" >
57 <option value="auto" selected="true">auto</option> 57 <option value="auto" selected="true">auto</option>
104 <output name="output" ftype="html"> 104 <output name="output" ftype="html">
105 <extra_files type="file" name="xyz_8bit__mitotic_plate_calibrated.ome.zarr/.zattrs" value="xyz_8bit__mitotic_plate_calibrated.ome.zarr/.zattrs" /> 105 <extra_files type="file" name="xyz_8bit__mitotic_plate_calibrated.ome.zarr/.zattrs" value="xyz_8bit__mitotic_plate_calibrated.ome.zarr/.zattrs" />
106 </output> 106 </output>
107 </test> 107 </test>
108 <test expect_num_outputs="1"> 108 <test expect_num_outputs="1">
109 <param name="input" value="astronaut.png"/> 109 <param name="input" value="coins.png"/>
110 <param name="output_name" value="astronaut.ome.zarr" /> 110 <param name="output_name" value="coins.ome.zarr" />
111 <output name="output" ftype="html"> 111 <output name="output" ftype="html">
112 <extra_files type="file" name="astronaut.ome.zarr/.zgroup" value="astronaut.ome.zarr/.zgroup" /> 112 <extra_files type="file" name="coins.ome.zarr/.zgroup" value="coins.ome.zarr/.zgroup" />
113 </output> 113 </output>
114 </test> 114 </test>
115 <test expect_num_outputs="1"> 115 <test expect_num_outputs="1">
116 <param name="input" value="rocket.jpg"/> 116 <param name="input" value="camera.jpg"/>
117 <param name="output_name" value="rocket.ome.zarr" /> 117 <param name="output_name" value="camera.ome.zarr" />
118 <output name="output" ftype="html"> 118 <output name="output" ftype="html">
119 <extra_files type="file" name="rocket.ome.zarr/.zattrs" value="rocket.ome.zarr/.zattrs" /> 119 <extra_files type="file" name="camera.ome.zarr/.zattrs" value="camera.ome.zarr/.zattrs" />
120 </output> 120 </output>
121 </test> 121 </test>
122 </tests> 122 </tests>
123 <help> 123 <help>
124 **What it does** 124 **What it does**