annotate blank_filter.xml @ 0:5e4fa4c41bde draft

"planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
author computational-metabolomics
date Sat, 11 Apr 2020 16:49:37 -0400
parents
children 109c81a4138f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
1 <tool id="dimspy_blank_filter" name="Blank Filter" version="@TOOL_VERSION@+galaxy@GALAXY_TOOL_VERSION@">
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
2 <description> - Remove 'blank' peaks from the biological mass spectra</description>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
3 <macros>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
4 <import>macros.xml</import>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
5 </macros>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
6 <expand macro="requirements" />
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
7 <command detect_errors="exit_code">
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
8 <![CDATA[
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
9 dimspy blank-filter
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
10 --input '$hdf5_file_in'
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
11 --output '$hdf5_file_out'
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
12 --blank-label '$blank_label'
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
13 --min-fraction $min_fraction
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
14 --function $function
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
15 --min-fold-change $min_fold_change
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
16 #if $remove_blank_samples == '--remove-blank-samples'
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
17 $remove_blank_samples
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
18 &&
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
19 dimspy create-sample-list
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
20 --input '$hdf5_file_out'
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
21 --output '$samplelist'
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
22 --delimiter tab
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
23 #end if
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
24 #if $hdf5_to_txt.standard
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
25 &&
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
26 @HDF5_PM_TO_TXT@
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
27 #end if
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
28 #if $hdf5_to_txt.comprehensive
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
29 &&
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
30 @HDF5_PM_TO_TXT_COMPREHENSIVE@
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
31 #end if
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
32 ]]>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
33 </command>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
34 <inputs>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
35 <param name="hdf5_file_in" argument="--input" type="data" format="h5" label="Peak Intensity Matrix (HDF5 file)" help="" />
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
36 <param name="blank_label" argument="--blank-label" type="text" value="blank" label="Label for the blank samples" >
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
37 <validator type="empty_field"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
38 <validator type="regex" message="Value may include alphanumeric characters, underscores, dashes and spaces.">[A-Za-z0-9_\- ]+</validator>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
39 </param>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
40 <param name="min_fraction" argument="--min-fraction" type="float" min="0.0" max="1.0" value="1.0" label="Minimum fraction (percentage)" help="The percentage of samples (with a intensity value) that must beat the blank samples (peak by peak basis)" />
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
41 <param name="function" argument="--function" type="select" label="Function" help="Select the function that should be used to calculate the peak intensity threshold (blanks only)" >
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
42 <option value="mean" selected="true">mean</option>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
43 <option value="median">median</option>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
44 <option value="max">max</option>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
45 </param>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
46 <param name="min_fold_change" argument="--min-fold-change" type="float" value="10.0" help="Minimum fold change" />
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
47 <param name="remove_blank_samples" argument="--remove-blank-samples" type="boolean" checked="true" truevalue="--remove-blank-samples" falsevalue="" label="Remove blank samples (rows)" help="" />
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
48 <param name="delimiter" argument="--delimiter" type="hidden" value="tab" />
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
49 <expand macro="hdf5_pm_to_txt" />
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
50 </inputs>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
51 <outputs>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
52 <expand macro="outputs_peak_intensity_matrix" />
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
53 <data name="samplelist" format="tsv" label="${tool.name} on ${on_string}: Sample Metadata (updated)" >
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
54 <filter>str($remove_blank_samples) == "--remove-blank-samples"</filter>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
55 </data>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
56 </outputs>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
57 <tests>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
58 <test>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
59 <param name="hdf5_file_in" value="pm_as.h5" ftype="h5"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
60 <param name="blank_label" value="blank"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
61 <param name="min_fraction" value="1.0"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
62 <param name="function" value="mean"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
63 <param name="min_fold_change" value="10.0"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
64 <param name="remove_blank_samples" value="--remove-blank-samples"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
65 <param name="delimiter" value="tab"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
66 <conditional name="hdf5_to_txt">
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
67 <param name="standard" value="True"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
68 <param name="comprehensive" value="False"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
69 <param name="representation_samples" value="rows"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
70 <param name="matrix_attr" value="intensity"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
71 </conditional>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
72 <output name="hdf5_file_out" file="pm_as_bf_rmbs.h5" ftype="h5" compare="sim_size"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
73 <output name="matrix_file_out" file="peak_matrix_as_bf_rmbs.txt" ftype="tsv"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
74 <output name="samplelist" file="sample_list_after_bf.txt" ftype="tsv"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
75 </test>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
76 <test>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
77 <param name="hdf5_file_in" value="pm_as.h5" ftype="h5"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
78 <param name="blank_label" value="blank"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
79 <param name="min_fraction" value="1.0"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
80 <param name="function" value="mean"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
81 <param name="min_fold_change" value="10.0"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
82 <param name="remove_blank_samples" value=""/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
83 <param name="delimiter" value="tab"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
84 <conditional name="hdf5_to_txt">
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
85 <param name="standard" value="True"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
86 <param name="comprehensive" value="True"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
87 <param name="representation_samples" value="rows"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
88 <param name="matrix_attr" value="intensity"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
89 </conditional>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
90 <output name="hdf5_file_out" file="pm_as_bf.h5" ftype="h5" compare="sim_size"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
91 <output name="matrix_file_out" file="peak_matrix_as_bf.txt" ftype="tsv"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
92 <output name="matrix_comprehensive_file_out" file="peak_matrix_as_bf_compr.txt" ftype="tsv"/>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
93 </test>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
94 </tests>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
95 <help>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
96 ------------
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
97 Blank Filter
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
98 ------------
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
99
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
100 ..
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
101
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
102 ------------------------------
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
103
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
104 Description
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
105 -----------
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
106
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
107 Standard DIMS processing workflow: Process Scans -> Replicate Filter -> Align Samples -> [Missing values sample filter] -> **Blank Filter** -> Sample Filter -> Matrix processing -> Statistics
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
108
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
109 |
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
110
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
111 This tool is typically used to subtract peaks from the input peak intensity matrix that are believed to originate from non-biological sources e.g. leachables/extractables from pipette tips, plates, tubes and other consumables, as well as electrical noise peaks and peaks originating from solvents, infusion instrumentation etc.
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
112
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
113 In a routine DIMS analytical workflow, a set of extraction blank samples are prepared and analysed alongside other study samples. These “reference” samples are equivalent to the other study samples, with the exception that they do not contain the biological material to be analysed in the study. Peaks detected in these samples are therefore likely to be of non-biological origin. These peaks are removed from the peak intensity matrix if fewer-than the user-defined 'minimum fraction' of non-reference study samples have an intensity ratio (relative to the blank class) greater-than the user-specified 'Miniumum fold change'; e.g. a minimum fraction of 0.5 and 'miniumum fold change' of 10 requires that, for any given peak, at least 50% of the non-reference study samples have an intensity value at least 10 times greater than average intensity value calculated from “reference” samples.
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
114
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
115 **Note** - while extraction blank samples are typically used to filter peaks from the peak intensity matrix, this tool can in principle be used to filter peaks originating from any class defined in the Process Scans or Replicate Filter metadata file. The class used for filtering the peak intensity matrix is defined using the **Label for the blank samples** parameter.
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
116
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
117 -------------------------------
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
118
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
119 Parameters
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
120 ----------
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
121
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
122 |
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
123
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
124 **Peak Intensity Matrix (HDF5 file)** (REQUIRED) - a peak intensity matrix (in .hdf5 format), typically returned from the 'Align Samples' tool.
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
125
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
126 **Label for the blank samples** (REQUIRED) - a string indicating the name of the class to be used for filtering (e.g. blank), i.e. the “reference” class. This string must have been included in the “classLabel” column of the metadata file associated with the Process Scans or Replicate Filter tool(s).
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
127
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
128 **Minimum fraction (percentage)** (REQUIRED; default = 1) - a numeric value ranging from 0 to 1. Setting this value to 0 will skip this filtering step. A value greater than 0 requires that for each peak in the peak intensity matrix, at least this proportion of non-reference samples have to have an intensity value that exceeds the product of: (A) the average intensity of “reference” class intensities and (B) the user-defined “Minimum fold change”. If this condition is not met, the peak is removed from the peak intensity matrix.
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
129
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
130 **Function** (REQUIRED; default = **mean**) - toggle, where selection of:
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
131
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
132 - **mean** - corresponds to using the non-weighted average of “reference” sample peak intensities (NA values are ignored) in calculating the “reference” to “non-reference” peak intensity ratio.
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
133
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
134 - **median** - corresponds to using the median of “reference” sample peak intensities (NA values are ignored) in calculating the “reference” to “non-reference” peak intensity ratio.
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
135
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
136 - **max** corresponds to the use of the maximum intensity among “reference” sample peak intensities (NA values are ignored) in calculating the “reference” to “non-reference” peak intensity ratio.
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
137
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
138 |
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
139
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
140 **Minimum fold change** (REQUIRED; default = 10) - numeric value from 0 upwards. When minimum fraction filtering is enabled, this value defines the minimum required ratio between the intensity of a peak in a “non-reference” sample and the average intensity of the “reference” sample(s). Peaks with ratios exceeding this threshold are considered to have been reliably detected in a “non-reference” sample.
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
141
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
142 |
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
143
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
144 **Remove blank samples (rows)** (REQUIRED; default = **Yes**) - toggle:
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
145
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
146 **Yes** - samples belonging to the user-defined “reference” class are removed from the output peak matrix
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
147
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
148 **No** - samples belonging to the user-defined “reference” class are retained in the output peak matrix.
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
149
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
150 |
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
151
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
152 @help_options_addtional_output@
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
153
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
154 ----------------------------
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
155
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
156 Output file(s)
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
157 --------------
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
158
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
159 **IMPORTANT** - in all outputs except for the (optional) comprehensive output, if fewer-than the user-defined “Minimum fraction” of “non-reference” samples had an intensity value that, when divided by the average “reference” class peak intensity value, were less than the user-defined “Minimum fold change” parameter, then that peak will be removed from the output peak matrix.
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
160
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
161
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
162 @help_outputs_matrix@
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
163
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
164 -----------------------------
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
165
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
166 @github_developers_contributors@
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
167 @license@
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
168 </help>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
169 <expand macro="citations" />
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
170 </tool>
5e4fa4c41bde "planemo upload for repository https://github.com/computational-metabolomics/dimspy-galaxy commit 6321871098b2c4bc9e321d20b7e66fff3d641839"
computational-metabolomics
parents:
diff changeset
171