Mercurial > repos > rjmw > dimspy_align_samples
comparison align_samples.xml @ 0:50a090761d51 draft
planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit d30de6d202e1b97aaca189acc612ae87e95d033f
| author | rjmw |
|---|---|
| date | Tue, 27 Feb 2018 14:01:25 -0500 |
| parents | |
| children | a941ec0fd2a4 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:50a090761d51 |
|---|---|
| 1 <tool id="dimspy_align_samples" name="Align Samples" version="1.0.0"> | |
| 2 <description> - Align peaks across Peaklists</description> | |
| 3 <macros> | |
| 4 <import>macros.xml</import> | |
| 5 </macros> | |
| 6 <expand macro="requirements" /> | |
| 7 <expand macro="stdio" /> | |
| 8 <command><![CDATA[ | |
| 9 dimspy align-samples | |
| 10 --input "$hdf5_file_in" | |
| 11 --output "$hdf5_file_out" | |
| 12 #if $filelist | |
| 13 --filelist "$filelist" | |
| 14 #end if | |
| 15 --ppm $ppm | |
| 16 #if $hdf5_to_txt.standard | |
| 17 && | |
| 18 @HDF5_PM_TO_TXT@ | |
| 19 #end if | |
| 20 #if $hdf5_to_txt.comprehensive | |
| 21 && | |
| 22 @HDF5_PM_TO_TXT_COMPREHENSIVE@ | |
| 23 #end if | |
| 24 ]]></command> | |
| 25 <inputs> | |
| 26 <param name="hdf5_file_in" type="data" format="h5" label="Peaklists (HDF5 file)" help="" argument="--input"/> | |
| 27 <param name="filelist" type="data" optional="true" format="tsv,tabular" label="Filelist / Samplelist" argument="--filelist"/> | |
| 28 <param name="ppm" type="float" value="2.0" label="ppm" help="Maximum tolerated m/z deviation across samples in parts per million (ppm)." argument="--ppm"/> | |
| 29 <param name="delimiter" type="hidden" value="tab" argument="--delimiter"/> | |
| 30 <expand macro="hdf5_pm_to_txt" /> | |
| 31 </inputs> | |
| 32 <outputs> | |
| 33 <expand macro="outputs_peak_intensity_matrix" /> | |
| 34 </outputs> | |
| 35 <tests> | |
| 36 <test> | |
| 37 <param name="hdf5_file_in" value="pls_rf.h5" ftype="h5"/> | |
| 38 <param name="ppm" value="2.0"/> | |
| 39 <param name="delimiter" value="tab"/> | |
| 40 <param name="hdf5_to_txt|standard" value="True"/> | |
| 41 <param name="hdf5_to_txt|comprehensive" value="False"/> | |
| 42 <param name="hdf5_to_txt|samples_representations" value="rows"/> | |
| 43 <param name="hdf5_to_txt|matrix_attr" value="intensity"/> | |
| 44 <output name="hdf5_file_out" file="pm_as.h5" ftype="h5" compare="sim_size"/> | |
| 45 <output name="matrix_file_out" file="peak_matrix_as.txt" ftype="tsv" compare="sim_size"/> | |
| 46 </test> | |
| 47 <test> | |
| 48 <param name="hdf5_file_in" value="pls_rf.h5" ftype="h5"/> | |
| 49 <param name="ppm" value="2.0"/> | |
| 50 <param name="delimiter" value="tab"/> | |
| 51 <param name="hdf5_to_txt|standard" value="True"/> | |
| 52 <param name="hdf5_to_txt|comprehensive" value="False"/> | |
| 53 <param name="hdf5_to_txt|representation_samples" value="columns"/> | |
| 54 <param name="hdf5_to_txt|matrix_attr" value="intensity"/> | |
| 55 <output name="hdf5_file_out" file="pm_as.h5" ftype="h5" compare="sim_size"/> | |
| 56 <output name="matrix_file_out" file="peak_matrix_as_t.txt" ftype="tsv" compare="sim_size"/> | |
| 57 </test> | |
| 58 <test> | |
| 59 <param name="hdf5_file_in" value="pls_rf.h5" ftype="h5"/> | |
| 60 <param name="ppm" value="2.0"/> | |
| 61 <param name="delimiter" value="tab"/> | |
| 62 <param name="hdf5_to_txt|standard" value="True"/> | |
| 63 <param name="hdf5_to_txt|comprehensive" value="True"/> | |
| 64 <param name="hdf5_to_txt|samples_representations" value="rows"/> | |
| 65 <param name="hdf5_to_txt|matrix_attr" value="mz"/> | |
| 66 <output name="hdf5_file_out" file="pm_as.h5" ftype="h5" compare="sim_size"/> | |
| 67 <output name="matrix_file_out" file="peak_matrix_as_mz.txt" ftype="tsv" compare="sim_size"/> | |
| 68 <output name="matrix_comprehensive_file_out" file="peak_matrix_as_mz_compr.txt" ftype="tsv" compare="sim_size"/> | |
| 69 </test> | |
| 70 </tests> | |
| 71 <help> | |
| 72 ------------- | |
| 73 Align Samples | |
| 74 ------------- | |
| 75 | |
| 76 Description | |
| 77 ----------- | |
| 78 | |
| 79 | Use this tool to align Peaklists according to their constituent mass spectral peaks. | |
| 80 | In the DIMS analysis workflow, align samples typically follows 'Replicate Filter'. | |
| 81 | This tool may, however, be used to align any Peaklists (e.g. aligning individual Peaklists for each replicate of a sample). | |
| 82 | |
| 83 Parameters | |
| 84 ---------- | |
| 85 | |
| 86 **\1. Set of Peaklists (HDF5 file)** (REQUIRED) | |
| 87 | |
| 88 For the default DIMS analysis workflow, this comprises a set of Peaklists output from the sequential application of the 'process_scans' tools, followed by the 'replicate_filter' tool. | |
| 89 | |
| 90 | |
| 91 **\2. Filelist / Samplelist** (OPTIONAL) | |
| 92 | |
| 93 | A tabular-formatted .txt file with columns: filename, batch, classLabel, injectionOrder. | |
| 94 | Additional collumns are allowed but are not used during processing. | |
| 95 | This file must be uploaded in to (or available from) the current history in order to allow for it to be selected from the drop-down menu. | |
| 96 | **NOTE:** Only provide a filelist if you like to exclude Peaklist or if you have not provided a filelist for 'Process Scans' or Replicate Filter'. | |
| 97 | | |
| 98 | |
| 99 <![CDATA[ | |
| 100 | |
| 101 +-------------------------------+-------+------------+----------------+ | |
| 102 | filename | batch | classLabel | injectionOrder | | |
| 103 +-------------------------------+-------+------------+----------------+ | |
| 104 | sample_rep1_rep3_rep4 | 1 | sample | 1 | | |
| 105 +-------------------------------+-------+------------+----------------+ | |
| 106 | blank_rep1_rep2_rep3 | 1 | sample | 2 | | |
| 107 +-------------------------------+-------+------------+----------------+ | |
| 108 | ... | ... | ... | ... | | |
| 109 +-------------------------------+-------+------------+----------------+ | |
| 110 | |
| 111 ]]> | |
| 112 | |
| 113 **\3. ppm** (REQUIRED; default = 2.0) | |
| 114 | |
| 115 | A numeric value from 0 upwards. | |
| 116 | Peaks with m/z differences (measured in parts-per-million) below this value are clustered together as a single feature. | |
| 117 | | |
| 118 | |
| 119 @help_options_addtional_output@ | |
| 120 | |
| 121 @github_developers_contributors@ | |
| 122 | |
| 123 </help> | |
| 124 <expand macro="citations" /> | |
| 125 </tool> |
