annotate validate_mapping_file.xml @ 0:c1bd0c560018 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
author bebatut
date Tue, 02 Feb 2016 05:50:37 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
1 <tool id="qiime_validate_mapping_file" name="Validate mapping file" version="1.9.1">
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
2 <description>to check for required data and format</description>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
3
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
4 <macros>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
5 <import>macros.xml</import>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
6 </macros>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
7
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
8 <expand macro="requirements" />
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
9
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
10 <version_command><![CDATA[
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
11 validate_mapping_file.py --version
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
12 ]]></version_command>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
13
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
14 <command><![CDATA[
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
15 validate_mapping_file.py
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
16 -m $mapping_fp
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
17 -o validate_mapping_file_output
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
18 $verbose
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
19 -c $char_replace
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
20 $not_barcoded
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
21 $variable_len_barcodes
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
22 $disable_primer_check
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
23
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
24 #if str($added_demultiplex_field):
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
25 -j $added_demultiplex_field
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
26 #end if
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
27
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
28 $suppress_html
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
29
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
30 #if not $suppress_html:
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
31 &&
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
32 mkdir -p $html_report.files_path
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
33 &&
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
34 cp validate_mapping_file_output/*.html $html_report.files_path
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
35 &&
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
36 cp "validate_mapping_file_output/overlib.js" "$html_report.extra_files_path"
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
37 &&
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
38 mv $html_report.files_path/*.html $html_report
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
39 #end if
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
40 ]]>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
41 </command>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
42
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
43 <inputs>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
44 <param name="mapping_fp" label="Metadata mapping filepath" type="data"
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
45 format="tabular,csv,txt,tsv" help="(-m/--mapping_fp)"/>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
46
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
47 <param name="verbose" type="boolean" label="Enable printing information
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
48 to standard out?" truevalue="-v" falsevalue="" checked="False"
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
49 help="(-v/--verbose)" />
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
50
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
51 <param name="char_replace" type="text" value="_" label="Default character
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
52 used to replace invalid characters found in the mapping file"
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
53 help="Must be a valid character (alphanumeric, period, or underscore).
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
54 (-c/--char_replace)"/>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
55
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
56 <param name="not_barcoded" type="boolean" label="Are barcodes present?"
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
57 truevalue="" falsevalue="--not_barcoded" checked="True"
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
58 help="BarcodeSequence header is still required in mapping file
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
59 (-b/--not_barcoded)"/>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
60
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
61 <param name="variable_len_barcodes" type="boolean" label="Are barcodes with
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
62 variable length?" truevalue="" falsevalue="--variable_len_barcodes"
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
63 checked="True" help="(-B/--variable_len_barcodes)"/>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
64
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
65 <param name="disable_primer_check" type="boolean" label="Disable checks
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
66 for primers?" truevalue="-disable_primer_check" falsevalue=""
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
67 checked="False" help="LinkerPrimerSequence header is still required
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
68 in mapping file (-p/--disable_primer_check)"/>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
69
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
70 <param name="added_demultiplex_field" type="text" label="Field
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
71 to use in the mapping file as additional demultiplexing (optional)"
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
72 help="It can be used with or without barcodes. All combinations of
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
73 barcodes/primers and these fields must be unique. The fields must contain
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
74 values that can be parsed from the fasta labels such as 'plate=R_2008_12_09'.
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
75 In this case, 'plate' would be the column header and 'R_2008_12_09'
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
76 would be the field data (minus quotes) in the mapping file.
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
77 To use the run prefix from the fasta label, such as 'FLP3FBN01ELBSX',
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
78 where 'FLP3FBN01' is generated from the run ID, use 'run_prefix' and
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
79 set the run prefix to be used as the data under the column header
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
80 'run_prefix' (-j/--added_demultiplex_field)" optional="True"/>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
81
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
82 <param name="suppress_html" type="boolean" label="Disable html file
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
83 generation?" truevalue="-s" falsevalue="" checked="False"
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
84 help="It can be useful for extremely large mapping files
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
85 (-s/--suppress_html)"/>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
86 </inputs>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
87
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
88 <outputs>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
89 <data name="html_report" format="html"
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
90 label="${tool.name} on ${on_string}: html report">
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
91 <filter>suppress_html is False</filter>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
92 </data>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
93 <data name="log" format="txt"
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
94 from_work_dir="validate_mapping_file_output/*.log"
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
95 label="${tool.name} on ${on_string}: log"/>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
96 <data format="tabular" name="mapping_fp_corrected"
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
97 from_work_dir="validate_mapping_file_output/*corrected.txt"
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
98 label="${tool.name} on ${on_string}: corrected map" />
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
99 </outputs>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
100
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
101 <tests>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
102 <test>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
103 <param name="mapping_fp" value="map.tsv"/>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
104 <param name="verbose" value="" />
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
105 <param name="char_replace" value="_" />
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
106 <param name="not_barcoded" value="" />
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
107 <param name="variable_len_barcodes" value="" />
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
108 <param name="disable_primer_check" value="" />
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
109 <param name="suppress_html" value="" />
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
110
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
111 <output name="log" file="validate_mapping_file_log.txt"/>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
112 <output name="mapping_fp_corrected"
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
113 file="validate_mapping_file_corrected_map.tabular"/>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
114 </test>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
115 </tests>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
116
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
117 <help><![CDATA[
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
118 **What it does?**
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
119
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
120 This tool checks user’s metadata mapping file for required data, valid format
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
121
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
122 Specifically, it checks that:
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
123
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
124 - The BarcodeSequence, LinkerPrimerSequences, and ReversePrimer fields have valid IUPAC DNA characters, and BarcodeSequence characters are non-degenerate (error)
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
125 - The SampleID, BarcodeSequence, LinkerPrimerSequence, and Description headers are present. (error)
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
126 - There are not duplicate header fields (error)
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
127 - There are not duplicate barcodes (error)
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
128 - Barcodes are of the same length. Suppressed when variable_len_barcode flag is passed (warning)
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
129 - The headers do not contain invalid characters (alphanumeric and underscore only) (warning)
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
130 - The data fields do not contain invalid characters (alphanumeric, underscore, space, and +-%./:,; characters) (warning)
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
131 - SampleID fields are MIENS compliant (only alphanumeric and . characters). (warning)
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
132 - There are no duplicates when the primer and variable length barcodes are appended (error)
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
133 - There are no duplicates when barcodes and added demultiplex fields (-j option) are combined (error)
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
134 - Data fields are not found beyond the Description column (warning)
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
135
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
136 More information about this tool is available on
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
137 `QIIME documentation <http://qiime.org/scripts/validate_mapping_file.html>`_.
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
138 ]]>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
139 </help>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
140
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
141 <citations>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
142 <expand macro="citations" />
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
143 </citations>
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
144
c1bd0c560018 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime commit bcbe76277f3e60303faf826f8ce7f018bc663a9a-dirty
bebatut
parents:
diff changeset
145 </tool>