Mercurial > repos > imgteam > bfconvert
comparison bfconvert.xml @ 4:10eed33aa9b2 draft
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/bfconvert/ commit e27798cf1f9eb7fd34bf9b6fce21f6825f3872a1
author | imgteam |
---|---|
date | Wed, 30 Aug 2023 13:14:08 +0000 |
parents | f3360fbeda64 |
children | 85edbb7a436b |
comparison
equal
deleted
inserted
replaced
3:f3360fbeda64 | 4:10eed33aa9b2 |
---|---|
1 <tool id="ip_convertimage" name="Convert image" version="6.7.0+galaxy0"> | 1 <tool id="ip_convertimage" name="Convert image" version="6.7.0+galaxy1"> |
2 <description>Convert image</description> | 2 <description>Convert image</description> |
3 <requirements> | 3 <requirements> |
4 <requirement type="package" version="6.7.0">bftools</requirement> | 4 <requirement type="package" version="6.7.0">bftools</requirement> |
5 </requirements> | 5 </requirements> |
6 <command> | 6 <command> |
25 -crop "$crop_options.crop_x,$crop_options.crop_y,$crop_options.crop_width,$crop_options.crop_height" | 25 -crop "$crop_options.crop_x,$crop_options.crop_y,$crop_options.crop_width,$crop_options.crop_height" |
26 #end if | 26 #end if |
27 #if $tile_options['extract'] == 'True' | 27 #if $tile_options['extract'] == 'True' |
28 -tilex $tile_options.tile_x -tiley $tile_options.tile_y | 28 -tilex $tile_options.tile_x -tiley $tile_options.tile_y |
29 #end if | 29 #end if |
30 #if $pyramid_options.generate == 'True' | 30 #if $pyramid_options.generate == 'True' and $out_format not in ['png', 'jpg', 'eps', 'avi'] |
31 -pyramid-resolutions $pyramid_options.pyramid_resolutions | 31 -pyramid-resolutions $pyramid_options.pyramid_resolutions |
32 -pyramid-scale $pyramid_options.pyramid_scale | 32 -pyramid-scale $pyramid_options.pyramid_scale |
33 #end if | 33 #end if |
34 $bigtiff | 34 $bigtiff |
35 $noflat | 35 $noflat |
36 #if $compression != 'False' | 36 #if $compression != 'False' |
37 -compression $compression | 37 -compression $compression |
38 #end if | 38 #end if |
39 '$input_file' './res.$out_format' && | 39 '$input_file' './res.$out_format' && |
40 mv './res.$out_format' ./result_image | 40 mv './res.$out_format' ./result_image |
41 ]]> | 41 ]]> |
42 </command> | 42 </command> |
43 <inputs> | 43 <inputs> |
44 <param label="Input Image" name="input_file" 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"/> | 44 <param label="Input Image" name="input_file" 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"/> |
126 <param name="tile_x" type="integer" value="512 " label="Tile width" /> | 126 <param name="tile_x" type="integer" value="512 " label="Tile width" /> |
127 <param name="tile_y" type="integer" value="512 " label="Tile height" /> | 127 <param name="tile_y" type="integer" value="512 " label="Tile height" /> |
128 </when> | 128 </when> |
129 </conditional> | 129 </conditional> |
130 <conditional name="pyramid_options"> | 130 <conditional name="pyramid_options"> |
131 <param label="Pyramid image" name="generate" type="select"> | 131 <param label="Pyramid image" name="generate" type="select" help="Pyramids will be generated only if the selected output format supports pyramids (OME TIFF, JPEG 2000)."><!-- see: https://docs.openmicroscopy.org/bio-formats/6.7.0/supported-formats.html --> |
132 <option selected="True" value="True">Generate Pyramid</option> | 132 <option selected="True" value="True">Generate Pyramid</option> |
133 <option value="False">No Pyramid</option> | 133 <option value="False">No Pyramid</option> |
134 </param> | 134 </param> |
135 <when value="True"> | 135 <when value="True"> |
136 <param name="pyramid_resolutions" type="integer" value="4" label="Pyramid Resolutions"/> | 136 <param name="pyramid_resolutions" type="integer" value="4" label="Pyramid Resolutions"/> |
137 <param name="pyramid_scale" type="integer" value="2" label="Pyramid Scale" /> | 137 <param name="pyramid_scale" type="integer" value="2" label="Pyramid Scale" /> |
138 </when> | 138 </when> |
139 <when value="False" /> | |
139 </conditional> | 140 </conditional> |
140 <param name="bigtiff" label="Big TIFF" type="boolean" checked="false" truevalue="-bigtiff" falsevalue=""/> | 141 <param name="bigtiff" label="Big TIFF" type="boolean" checked="false" truevalue="-bigtiff" falsevalue=""/> |
141 <param name="noflat" label="No Flatten" type="boolean" checked="true" truevalue="-noflat" falsevalue=""/> | 142 <param name="noflat" label="No Flatten" type="boolean" checked="true" truevalue="-noflat" falsevalue=""/> |
142 <param label="Compression" name="compression" type="select"> | 143 <param label="Compression" name="compression" type="select"> |
143 <option selected="True" value="False">No Compression</option> | 144 <option selected="True" value="False">No Compression</option> |
168 <output name="output" value="res.tiff" ftype="tiff" compare="sim_size"/> | 169 <output name="output" value="res.tiff" ftype="tiff" compare="sim_size"/> |
169 </test> | 170 </test> |
170 <test> | 171 <test> |
171 <param name="input_file" value="input.png" /> | 172 <param name="input_file" value="input.png" /> |
172 <param name="out_format" value="ome.tiff" /> | 173 <param name="out_format" value="ome.tiff" /> |
173 <param name="pyramid_options.generate" value="True"/> | 174 <conditional name="pyramid_options"> |
174 <param name="pyramid_options.pyramid_resolutions" value="4"/> | 175 <param name="generate" value="True"/> |
175 <param name="pyramid_options.pyramid_scale" value="2"/> | 176 <param name="pyramid_resolutions" value="4"/> |
177 <param name="pyramid_scale" value="2"/> | |
178 </conditional> | |
176 <output name="output" value="res.ome.tiff" ftype="ome.tiff" compare="sim_size"/> | 179 <output name="output" value="res.ome.tiff" ftype="ome.tiff" compare="sim_size"/> |
180 </test> | |
181 <test> | |
182 <param name="input_file" value="input.tiff" /> | |
183 <param name="out_format" value="png" /> | |
184 <output name="output" value="input.tiff.png" ftype="png" compare="sim_size"/> | |
177 </test> | 185 </test> |
178 </tests> | 186 </tests> |
179 <help> | 187 <help> |
180 **What it does** | 188 **What it does** |
181 | 189 |