annotate trimal.xml @ 2:e379c0202766 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
author iuc
date Wed, 20 Nov 2024 22:30:36 +0000
parents 2a156ec81e7a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
1 <tool id="trimal" name="trimAl" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.0" license="MIT">
0
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
2 <description>for automated alignment trimming</description>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
3 <macros>
1
2a156ec81e7a planemo upload for repository https://github.com/inab/trimal commit 5475577b9d14867b089ae5c4b58d4bc25868720e
iuc
parents: 0
diff changeset
4 <token name="@TOOL_VERSION@">1.5.0</token>
2
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
5 <token name="@VERSION_SUFFIX@">1</token>
0
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
6 </macros>
2
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
7 <edam_topics>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
8 <edam_topic>topic_3293</edam_topic> <!-- phylogenetics -->
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
9 <edam_topic>topic_0080</edam_topic> <!-- sequence analysis -->
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
10 </edam_topics>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
11 <edam_operations>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
12 <edam_operation>operation_3192</edam_operation> <!--sequence trimming -->
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
13 </edam_operations>
0
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
14 <xrefs>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
15 <xref type="bio.tools">trimal</xref>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
16 </xrefs>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
17 <requirements>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
18 <requirement type="package" version="@TOOL_VERSION@">trimal</requirement>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
19 </requirements>
2
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
20 <command detect_errors="aggressive"><![CDATA[
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
21
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
22 trimal -in '$in'
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
23 -out '$trimmed_output'
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
24 ${out_format_selector}
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
25
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
26 #unless $trimming_mode.mode_selector == "manual"
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
27 -htmlout '$html_summary'
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
28 #end unless
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
29
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
30 #if $trimming_mode.mode_selector == "custom"
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
31 -gapthreshold $trimming_mode.gapthreshold
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
32 -simthreshold $trimming_mode.simthreshold
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
33 -cons $trimming_mode.cons
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
34
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
35 #if $trimming_mode.w
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
36 -w $trimming_mode.w
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
37 #else
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
38 #if $trimming_mode.gw
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
39 -gw $trimming_mode.gw
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
40 #end if
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
41 #if $trimming_mode.sw
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
42 -sw $trimming_mode.sw
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
43 #end if
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
44 #if $trimming_mode.cw
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
45 -cw $trimming_mode.cw
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
46 #end if
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
47 #end if
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
48 #else if $trimming_mode.mode_selector == "manual"
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
49 #if $trimming_mode.selectcols
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
50 -selectcols { $trimming_mode.selectcols }
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
51 #end if
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
52 #if $trimming_mode.selectseqs
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
53 -selectseqs { $trimming_mode.selectseqs }
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
54 #end if
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
55 #else
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
56 $trimming_mode.mode_selector
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
57 #end if
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
58
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
59 #if $resoverlap
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
60 -resoverlap $resoverlap
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
61 #end if
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
62 #if $seqoverlap
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
63 -seqoverlap $seqoverlap
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
64 #end if
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
65
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
66 #if $statistics
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
67 -sgc
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
68 -sgt
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
69 -ssc
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
70 -sst
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
71 -sident
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
72 -soverlap
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
73 | tee '$statsout'
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
74 #end if
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
75
0
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
76
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
77 ]]></command>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
78 <inputs>
2
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
79 <param argument="-in" type="data" format="fasta,clustal,pir,phylip,nexus,mega,txt" label="Alignment file (clustal, fasta, NBRF/PIR, nexus, phylip3.2, phylip)" />
0
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
80 <conditional name="trimming_mode">
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
81 <param name="mode_selector" type="select" label="Select trimming mode from the list">
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
82 <option value="-nogaps">nogaps - remove all positions with gaps in the alignment.</option>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
83 <option value="-noallgaps">noallgaps - remove columns composed only by gaps.</option>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
84 <option value="-gappyout">gappyout - only uses information based on gaps' distribution.</option>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
85 <option value="-strict">strict - combine gappyout trimming with subsequent trimming based on an automatically selected similarity threshold. </option>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
86 <option value="-strictplus">strictplus - very similar to the strict method but the final step of the algorithm is slightly different. </option>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
87 <option value="-automated1">automated1 - heuristic approach to determine the optimal automatic method for trimming a given alignment. </option>
2
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
88 <option value="custom">custom mode - define trimming parameters yourself.</option>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
89 <option value="manual">manual mode - specify columns or sequences to remove</option>
0
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
90 </param>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
91 <when value="-nogaps" />
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
92 <when value="-noallgaps"/>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
93 <when value="-gappyout"/>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
94 <when value="-strict"/>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
95 <when value="-strictplus"/>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
96 <when value="-automated1"/>
2
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
97 <when value="manual">
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
98 <param argument="-selectcols" type="text" optional="true" label="Columns to be removed from alignment" help="Example: '2,4,8-12'; Range: [0 - (Number of Columns - 1)]">
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
99 <validator type="regex" message="must be comma-separated list of whole numbers">(\d+)([,-]\d+)*</validator>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
100 </param>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
101 <param argument="-selectseqs" type="text" optional="true" label="Sequences to be removed from alignment" help="Example: '2,4,8-12'; Range: [0 - (Number of Sequences - 1)]">
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
102 <validator type="regex" message="must be comma-separated list of whole numbers">(\d+)([,-]\d+)*</validator>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
103 </param>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
104 </when>
0
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
105 <when value="custom">
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
106 <param argument="-gapthreshold" type="float" optional="true" value="0.9" min="0.0" max="1.0" label="Gap threshold" help="1 - (fraction of sequences with a gap allowed)."/>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
107 <param argument="-simthreshold" type="float" optional="true" value="0.9" min="0.0" max="1.0" label="Similarity threshold" help="Minimum average similarity allowed."/>
2
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
108 <param argument="-conthreshold" type="float" optional="true" min="0" max="100" label="Consistency Threshold. Minimum consistency value required" help="Range: [0 - 1]. Not allowed in combination with inputfile."/>
0
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
109 <param argument="-cons" type="integer" optional="true" value="50" min="0" max="100" label="Minimum conservance percentage" help="Minimum percentage of the positions in the original alignment to conserve."/>
2
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
110 <param argument="-clusters" type="integer" optional="true" min="0" label="Clusters. Get the most Nth representatives sequences from a given alignment." help="Range: [1 - (Number of sequences)]"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
111 <param argument="-maxidentity" type="float" optional="true" min="0" max="1" label="Max Identity. Get the representatives sequences for a given identity threshold. " help="Range: [0 - 1]"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
112
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
113 <param argument="-w" type="integer" optional="true" min="0" label="Window frame size - general" help="score of position i is the average of the window (i - n) to (i + n). Will override specific sizes set below"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
114 <param argument="-gw" type="integer" optional="true" min="0" label="Window frame size applied to Gaps" help="score of position i is the average of the window (i - n) to (i + n)."/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
115 <param argument="-sw" type="integer" optional="true" min="0" label="Window frame size applied to Similarity" help="score of position i is the average of the window (i - n) to (i + n)."/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
116 <param argument="-cw" type="integer" optional="true" min="0" label="Window frame size applied to Consistency" help="score of position i is the average of the window (i - n) to (i + n)."/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
117
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
118
0
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
119 </when>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
120 </conditional>
2
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
121 <param argument="-resoverlap" type="float" optional="true" min="0" max="1" label="Residue overlap" help="Minimum overlap of a positions with other positions in the column to be considered a “good position”. Range: [0-1]. Must be used in combination with Sequence overlap."/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
122 <param argument="-seqoverlap" type="integer" optional="true" min="0" max="100" label="Sequence overlap" help="Minimum percentage of “good positions” that a sequence must have in order to be conserved. Range: [0-100]. Must be used in combination with Residue overlap."/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
123
0
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
124 <param name="out_format_selector" type="select" label="Select trimmed alignment output format from the list">
2
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
125 <option value="" selected="true">Same as input (default)</option>
0
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
126 <option value="-clustal">CLUSTAL format</option>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
127 <option value="-fasta">FASTA format</option>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
128 <option value="-fasta_m10">FASTA format. Sequences name length up to 10 characters.</option>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
129 <option value="-nbrf">NBRF/PIR format</option>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
130 <option value="-nexus">NEXUS format</option>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
131 <option value="-mega">MEGA format</option>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
132 <option value="-phylip">PHYLIP/PHYLIP4 format</option>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
133 <option value="-phylip_m10">PHYLIP/PHYLIP4 format. Sequences name length up to 10 characters</option>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
134 <option value="-phylip_paml">PHYLIP format compatible with PAML</option>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
135 <option value="-phylip_paml_m10">PHYLIP format compatible with PAML. Sequences name length up to 10 characters.</option>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
136 <option value="-phylip3.2">PHYLIP3.2 format</option>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
137 <option value="-phylip3.2_m10">PHYLIP3.2 format. Sequences name length up to 10 characters.</option>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
138 </param>
2
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
139 <param name="statistics" type="boolean" checked="false" label="Output trimming statistics?"/>
0
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
140 </inputs>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
141 <outputs>
2
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
142 <data name="trimmed_output" format_source="in" label="${tool.name} on ${on_string}: Trimmed alignment.">
0
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
143 <change_format>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
144 <when input="out_format_selector" value="-fasta" format="fasta" />
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
145 <when input="out_format_selector" value="-fasta_m10" format="fasta" />
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
146 <when input="out_format_selector" value="-phylip" format="phylip" />
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
147 <when input="out_format_selector" value="-phylip_m10" format="phylip" />
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
148 <when input="out_format_selector" value="-phylip_paml" format="phylip" />
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
149 <when input="out_format_selector" value="-phylip_paml_m10" format="phylip" />
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
150 <when input="out_format_selector" value="-phylip3.2" format="phylip" />
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
151 <when input="out_format_selector" value="-phylip3.2_m10" format="phylip" />
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
152 <when input="out_format_selector" value="-clustal" format="clustal" />
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
153 <when input="out_format_selector" value="-mega" format="mega" />
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
154 <when input="out_format_selector" value="-nbrf" format="pir" />
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
155 <when input="out_format_selector" value="-nexus" format="nexus" />
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
156 </change_format>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
157 </data>
2
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
158 <data name="html_summary" format="html" label="${tool.name} on ${on_string}: HTML report">
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
159 <filter> trimming_mode['mode_selector'] != 'manual' </filter>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
160 </data>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
161 <data name="statsout" format="txt" label="${tool.name} on ${on_string}: statistics">
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
162 <filter> statistics </filter>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
163 </data>
0
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
164 </outputs>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
165 <tests>
2
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
166 <test expect_num_outputs="2"><!-- test automated trim setting -->
0
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
167 <param name="in" value="example.009.AA.fasta"/>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
168 <param name="mode_selector" value="-gappyout" />
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
169 <param name="out_format_selector" value="-mega" />
2
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
170 <output name="trimmed_output" file="trimmed_example.009.AA.mega" ftype="mega" lines_diff="2"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
171 <output name="html_summary" file="trimmed_example.009.AA.html" ftype="html"/>
0
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
172 </test>
2
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
173 <test expect_num_outputs="2"><!-- test custom trim setting -->
0
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
174 <param name="in" value="example.009.AA.fasta"/>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
175 <param name="mode_selector" value="custom" />
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
176 <param name="gapthreshold" value="0.5" />
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
177 <param name="simthreshold" value="0.5" />
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
178 <param name="cons" value="5" />
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
179 <param name="out_format_selector" value="-phylip_paml_m10" />
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
180 <output name="trimmed_output" file="custom_trimmed_example.009.AA.phy" ftype="phylip"/>
2
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
181 <output name="html_summary" file="custom_trimmed_example.009.AA.html" ftype="html"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
182 </test>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
183 <test expect_num_outputs="2"><!-- test additionalcustom trim setting -->
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
184 <param name="in" value="example.009.AA.fasta"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
185 <param name="mode_selector" value="custom" />
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
186 <param name="gapthreshold" value="0.75" />
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
187 <param name="simthreshold" value="0.8" />
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
188 <param name="cons" value="5" />
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
189 <param name="conthreshold" value="0.5" />
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
190 <param name="clusters" value="4" />
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
191 <param name="maxidentity" value="0.8" />
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
192 <param name="out_format_selector" value="-nexus" />
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
193 <output name="trimmed_output" file="custom_trimmed_example.009.AA.nexus" ftype="nexus"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
194 <output name="html_summary" file="custom_trimmed_example.009.AA.html" ftype="html"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
195 </test>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
196 <test expect_num_outputs="2"><!-- test window settings -->
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
197 <param name="in" value="example.005.AA.fasta"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
198 <param name="mode_selector" value="custom" />
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
199 <param name="gapthreshold" value="0.5" />
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
200 <param name="simthreshold" value="0.5" />
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
201 <param name="conthreshold" value="0.5" />
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
202 <param name="gw" value="3"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
203 <param name="sw" value="4"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
204 <param name="cw" value="5"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
205 <output name="trimmed_output" file="custom_trimmed_window_example.005.AA.fasta" ftype="fasta"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
206 <output name="html_summary" file="custom_trimmed_window_example.009.AA.html" ftype="html"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
207 </test>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
208 <test expect_num_outputs="3"><!-- test with phylip input and output statistics -->
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
209 <param name="in" value="example.002.AA.phy" ftype="phylip"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
210 <param name="mode_selector" value="-strict"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
211 <param name="statistics" value="true"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
212 <output name="trimmed_output" file="example.002.AA.out.phy" ftype="phylip" lines_diff="0"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
213 <output name="html_summary" file="example.002.AA.report.html" ftype="html" lines_diff="0"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
214 <output name="statsout" file="example.002.AA.stats.txt" ftype="txt" lines_diff="0"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
215 </test>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
216 <test expect_num_outputs="2"><!-- test with overlap trimming -->
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
217 <param name="in" value="example.005.AA.fasta" ftype="fasta"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
218 <param name="mode_selector" value="-nogaps"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
219 <param name="resoverlap" value="0.8"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
220 <param name="seqoverlap" value="6"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
221 <output name="trimmed_output" file="example.005.AA.out.overlaptrim.fasta" ftype="fasta" lines_diff="0"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
222 <output name="html_summary" file="example.005.AA.report.overlaptrim.html" ftype="html" lines_diff="0"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
223 </test>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
224 <test expect_num_outputs="1"><!-- test with manual trimming -->
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
225 <param name="in" value="example.009.AA.fasta" ftype="fasta"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
226 <param name="mode_selector" value="manual"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
227 <param name="selectcols" value="2,4,7-9"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
228 <param name="selectseqs" value="1,3,5-7"/>
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
229 <output name="trimmed_output" file="example.009.AA.out.notrim.fasta" ftype="fasta" lines_diff="0"/>
0
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
230 </test>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
231 </tests>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
232 <help><![CDATA[
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
233
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
234 TrimAl is a tool for the automated removal of spurious sequences or poorly aligned regions from a multiple sequence alignment.
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
235
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
236 TrimAl can consider several parameters, alone or in multiple combinations, in order to select the most-reliable positions in the alignment.
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
237 These include the proportion of sequences with a gap, the level of residue similarity and, if several alignments for the same set of sequences are provided,
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
238 the consistency level of columns among alignments. Moreover, trimAl allows to manually select a set of columns and sequences to be removed from the alignment.
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
239
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
240 TrimAl implements a series of automated algorithms that trim the alignment searching for optimum thresholds based on inherent characteristics
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
241 of the input alignment, to be used so that the signal-to-noise ratio after alignment trimming phase is increased. Learn more about the available trimming modes here: https://trimal.readthedocs.io/en/latest/algorithms.html
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
242
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
243 Among trimAl's additional features, trimAl allows:
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
244
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
245 - getting the complementary alignment (columns that were trimmed),
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
246 - to compute statistics from the alignment,
2
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
247 - to select the output file format,
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
248 - to get a summary of trimAl's trimming in HTML and SVG formats,
0
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
249 - and many other options.
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
250
2
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
251 TrimAl webpage: https://trimal.readthedocs.io
0
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
252
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
253 License
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
254 -------
2
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
255 This program is free software: you can redistribute it and/or modify
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
256 it under the terms of the GNU General Public License as published by
0
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
257 the Free Software Foundation, the last available version.
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
258 ]]></help>
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
259 <citations>
2
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
260 <citation type="doi">10.1093/bioinformatics/btp348</citation>
0
ebe28cac8d8b planemo upload for repository https://github.com/inab/trimal commit b537658ca3fbabe1bc6669efc22ac10a18f30671
iuc
parents:
diff changeset
261 </citations>
2
e379c0202766 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trimal commit f6575973c143041bfbcb8afa12077c77e65e91a5
iuc
parents: 1
diff changeset
262 </tool>