comparison macros.xml @ 0:e13ac00e6a4d draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 374a2824a264468316f04281ed211079015503b5"
author iuc
date Tue, 07 Dec 2021 10:16:58 +0000
parents
children 10360f9989ee
comparison
equal deleted inserted replaced
-1:000000000000 0:e13ac00e6a4d
1 <macros>
2 <token name="@TOOL_VERSION@">6.21.7</token>
3 <token name="@VERSION_SUFFIX@">0</token>
4 <token name="@PROFILE@">20.09</token>
5 <xml name="bio_tools">
6 <xrefs>
7 <xref type="bio.tools">megan</xref>
8 </xrefs>
9 </xml>
10 <xml name="requirements">
11 <requirements>
12 <requirement type="package" version="@TOOL_VERSION@">megan</requirement>
13 </requirements>
14 </xml>
15 <macro name="input_type_cond">
16 <conditional name="input_type_cond">
17 <param name="input_type" type="select" label="Choose the category of the reads files to be analyzed">
18 <option value="single" selected="true">Single dataset</option>
19 <option value="pair">Dataset pair</option>
20 <option value="paired">List of dataset pairs</option>
21 </param>
22 <when value="single">
23 <param name="read1" type="data" format="fasta,fasta.gz,fastqsanger.gz,fastqsanger" label="Forward read file" help="This read file should be the one used by Blast to generate the Blast file below"/>
24 <param name="blast1" type="data" format="daa,blastxml,sam,tabular,txt" label="Output file of Blast on input forward read file"/>
25 </when>
26 <when value="pair">
27 <param name="read1" type="data" format="fasta,fasta.gz,fastqsanger.gz,fastqsanger" label="Forward read file" help="This read file should be the one used by Blast to generate the Blast file below"/>
28 <param name="read2" type="data" format="fasta,fasta.gz,fastqsanger.gz,fastqsanger" label="Reverse read file" help="This read file should be the one used by Blast to generate the Blast file below"/>
29 <param argument="--pairedSuffixLength" type="integer" value="0" label="Length of name suffix used to distinguish read names" help="Use 0 if read and mate have the same name"/>
30 <param name="blast1" type="data" format="daa,blastxml,sam,tabular,txt" label="Output file of Blast on input forward read file"/>
31 <param name="blast2" type="data" format="daa,blastxml,sam,tabular,txt" label="Output file of Blast on input reverse read file"/>
32 </when>
33 <when value="paired">
34 <param name="reads_collection" type="data_collection" format="fasta,fasta.gz,fastqsanger,fastqsanger.gz" collection_type="paired" label="Collection of paired read files"/>
35 <param argument="--pairedSuffixLength" type="integer" value="0" label="Length of name suffix used to distinguish read names" help="Use 0 if read and mate have the same name"/>
36 <param name="blast1" type="data" format="daa,blastxml,sam,tabular,txt" label="Blast file for forward read"/>
37 <param name="blast2" type="data" format="daa,blastxml,sam,tabular,txt" label="Blast file for reverse read"/>
38 </when>
39 </conditional>
40 </macro>
41 <macro name="input_daa_param">
42 <param argument="--in" type="data" format="daa" label="Input DAA file"/>
43 </macro>
44 <macro name="long_reads_param">
45 <param argument="--longReads" type="boolean" truevalue="--longReads" falsevalue="" checked="false" label="Parse and analyse input reads as long reads?"/>
46 </macro>
47 <macro name="max_matches_per_read_param">
48 <param argument="--maxMatchesPerRead" type="integer" value="100" label="Maximum matches per read"/>
49 </macro>
50 <macro name="only_named_classifications_param">
51 <param argument="--only" type="text" value="" label="Names of classifications to use" help="Leave blank to use all classifications">
52 <sanitizer>
53 <valid initial="@VALIDINITIAL@">
54 <remove value="&apos;" />
55 <add value="|" />
56 </valid>
57 <mapping initial="none">
58 <add source="&apos;" target="&apos;&quot;&apos;&quot;&apos;" />
59 </mapping>
60 </sanitizer>
61 </param>
62 </macro>
63 <macro name="classification_options">
64 <option value="EC" selected="true">EC</option>
65 <option value="EGGNOG">EGGNOG</option>
66 <option value="GTDB">GTDB</option>
67 <option value="INTERPRO2GO">INTERPRO2GO</option>
68 <option value="KEGG">KEGG</option>
69 <option value="SEED">SEED</option>
70 <option value="Taxonomy">Taxonomy</option>
71 </macro>
72 <macro name="blast_mode_options">
73 <option value="Unknown" selected="true">Unknown</option>
74 <option value="BlastN">BlastN</option>
75 <option value="BlastP">BlastP</option>
76 <option value="BlastX">BlastX</option>
77 <option value="Classifier">Classifier</option>
78 </macro>
79 <macro name="classify_param">
80 <param argument="--classify" type="boolean" truevalue="--classify" falsevalue="" checked="true" label="Run classification algorithm?"/>
81 </macro>
82 <macro name="blast_params">
83 <param argument="--minScore" type="float" value="50.0" label="Minimum score"/>
84 <param argument="--maxExpected" type="float" value="0.01" label="Maximum expected"/>
85 <param argument="--minPercentIdentity" type="float" value="0.0" min="0.0" max="100.0" label="Minimum percent identity"/>
86 <param argument="--topPercent" type="float" value="10.0" min="0.0" max="100.0" label="Top percent"/>
87 </macro>
88 <macro name="min_max_params">
89 <param argument="--minSupportPercent" type="float" value="0.05" min="0.0" max="100.0" label="Minimum support as percent of assigned reads" help="0 value ignores"/>
90 <param argument="--minSupport" type="integer" value="0" label="Minimum support" help="0 value ignores"/>
91 <param argument="--minPercentReadCover" type="float" value="0.0" min="0.0" max="100.0" label="Minimum percent of read length to be covered by alignments"/>
92 <param argument="--minPercentReferenceCover" type="float" value="0.0" min="0.0" max="100.0" label="Minimum percent of reference length to be covered by alignments"/>
93 <param argument="--minReadLength" type="integer" value="0" label="Minimum read length"/>
94 </macro>
95 <macro name="lca_params">
96 <param argument="--lcaAlgorithm" type="select" label="Select the LCA algorithm to use for taxonomic assignment">
97 <option value="naive" selected="true">naive</option>
98 <option value="weighted">weighted</option>
99 <option value="longReads">longReads</option>
100 </param>
101 <param argument="--lcaCoveragePercent" type="float" value="100.0" min="0.0" max="100.0" label="Percent for the LCA to cover"/>
102 </macro>
103 <macro name="read_assignment_mode_param">
104 <param argument="--readAssignmentMode" type="select" label="Select the read assignment mode">
105 <option value="alignedBases" selected="true">alignedBases</option>
106 <option value="readCount">readCount</option>
107 </param>
108 </macro>
109 <macro name="con_file_param">
110 <param argument="--conFile" type="data" format="txt" optional="true" label="File of contaminant taxa (one id or name per line)" help="Optional, no selection ignores"/>
111 </macro>
112 <macro name="mapdb_param">
113 <param argument="--mapDB" type="data" format="sqlite" optional="true" label="MEGAN mapping db" help="Optional, no selection ignores"/>
114 </macro>
115 <xml name="sanitize_query" token_validinitial="string.printable">
116 <sanitizer>
117 <valid initial="@VALIDINITIAL@">
118 <remove value="&apos;" />
119 <add value="|" />
120 </valid>
121 <mapping initial="none">
122 <add source="&apos;" target="&apos;&quot;&apos;&quot;&apos;" />
123 </mapping>
124 </sanitizer>
125 </xml>
126 <xml name="citations">
127 <citations>
128 <citation type="doi">10.1038/nmeth.3176</citation>
129 <citation type="doi">10.1101/gr.120618.111</citation>
130 <citation type="doi">10.1101/gr.5969107</citation>
131 </citations>
132 </xml>
133 </macros>
134