|
1 | | -<tool id="dimspy_align_samples" name="Align Samples" version="@TOOL_VERSION@+galaxy@GALAXY_TOOL_VERSION@"> |
| 1 | +<tool id="dimspy_align_samples" name="Align Samples" version="@TOOL_VERSION@+galaxy1"> |
2 | 2 | <description> - Align peaks across Peaklists</description> |
3 | 3 | <macros> |
4 | 4 | <import>macros.xml</import> |
|
13 | 13 | --filelist '$filelist' |
14 | 14 | #end if |
15 | 15 | --ppm $ppm |
| 16 | + --ncpu \${GALAXY_SLOTS:-1} |
| 17 | + --block-size $adv.block_size |
16 | 18 | #if $hdf5_to_txt.standard |
17 | 19 | && |
18 | 20 | @HDF5_PM_TO_TXT@ |
|
29 | 31 | <param name="ppm" argument="--ppm" type="float" value="2.0" label="Ppm error tolerance" help="Maximum tolerated m/z deviation across samples in parts per million (ppm)." /> |
30 | 32 | <param name="delimiter" argument="--delimiter" type="hidden" value="tab" /> |
31 | 33 | <expand macro="hdf5_pm_to_txt" /> |
| 34 | + <section name="adv" title="Advanced options" expanded="False"> |
| 35 | + <param name="block_size" argument="--block-size" type="integer" value="5000" label="Block size" help="The size of each block of peaks to perform clustering on." /> |
| 36 | + </section> |
32 | 37 | </inputs> |
33 | 38 | <outputs> |
34 | 39 | <expand macro="outputs_peak_intensity_matrix" /> |
|
47 | 52 | <output name="hdf5_file_out" file="pm_as.h5" ftype="h5" compare="sim_size"/> |
48 | 53 | <output name="matrix_file_out" file="peak_matrix_as.txt" ftype="tsv"/> |
49 | 54 | </test> |
| 55 | + <test> |
| 56 | + <param name="hdf5_file_in" value="pls_rf.h5" ftype="h5"/> |
| 57 | + <param name="ppm" value="2.0"/> |
| 58 | + <param name="delimiter" value="tab"/> |
| 59 | + <conditional name="hdf5_to_txt" > |
| 60 | + <param name="standard" value="True"/> |
| 61 | + <param name="comprehensive" value="False"/> |
| 62 | + <param name="samples_representations" value="rows"/> |
| 63 | + <param name="matrix_attr" value="intensity"/> |
| 64 | + </conditional> |
| 65 | + <section name="adv"> |
| 66 | + <param name="block_size" value="10000"/> |
| 67 | + </section> |
| 68 | + <output name="hdf5_file_out" file="pm_as.h5" ftype="h5" compare="sim_size"/> |
| 69 | + <output name="matrix_file_out" file="peak_matrix_as.txt" ftype="tsv"/> |
| 70 | + </test> |
50 | 71 | <test> |
51 | 72 | <param name="hdf5_file_in" value="pls_rf.h5" ftype="h5"/> |
52 | 73 | <param name="ppm" value="2.0"/> |
|
0 commit comments