Mercurial > repos > padge > trimal
comparison trimal.xml @ 0:b15a3147e604 draft
"planemo upload for repository https://github.com/inab/trimal commit cbe1e8577ecb1a46709034a40dff36052e876e7a-dirty"
author | padge |
---|---|
date | Fri, 25 Mar 2022 17:10:43 +0000 |
parents | |
children | 0d53577b962f |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:b15a3147e604 |
---|---|
1 <tool id="trimal" name="trimAl: a tool for automated alignment trimming" version="0.1.0" python_template_version="3.5"> | |
2 <requirements> | |
3 <requirement type="package" version="1.4.1">trimal</requirement> | |
4 </requirements> | |
5 <command detect_errors="exit_code"><![CDATA[ | |
6 trimal -in $input1 -out $trimmed_output -htmlout $html_summary ${out_format_selector} | |
7 #if $trimming_mode.mode_selector == "custom" | |
8 -gapthreshold $trimming_mode.gapthreshold | |
9 -simthreshold $trimming_mode.simthreshold | |
10 -cons $trimming_mode.cons | |
11 #else: | |
12 $trimming_mode.mode_selector | |
13 #end if | |
14 ; | |
15 | |
16 ]]></command> | |
17 <inputs> | |
18 <param name="input1" type="data" format="fasta,clustal,pir,phylip,nexus" multiple="false" label="Alignment file (clustal, fasta, NBRF/PIR, nexus, phylip3.2, phylip)" optional="false" /> | |
19 <conditional name="trimming_mode"> | |
20 <param name="mode_selector" type="select" label="Select trimming mode from the list"> | |
21 <option value="-nogaps">nogaps. Remove all positions with gaps in the alignment.</option> | |
22 <option value="-noallgaps">noallgaps. Remove columns composed only by gaps.</option> | |
23 <option value="-gappyout">gappyout. Only uses information based on gaps' distribution. (see User Guide)</option> | |
24 <option value="-strict">strict. (see User Guide)</option> | |
25 <option value="-strictplus">strictplus. (see User Guide)</option> | |
26 <option value="custom">Custom mode</option> | |
27 </param> | |
28 <when value="custom"> | |
29 <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). Range: [0 - 1]" multiple="false"/> | |
30 <param argument="-simthreshold" type="float" optional="true" value="0.9" min="0.0" max="1.0" label="similarity threshold" help="Minimum average similarity allowed. Range: [0 - 1]" multiple="false"/> | |
31 <param argument="-cons" type="integer" optional="true" value="50" min="0" max="100" label="min conservance percentage" help="Minimum percentage of the positions in the original alignment to conserve." multiple="false"/> | |
32 | |
33 </when> | |
34 </conditional> | |
35 <param name="out_format_selector" type="select" label="Select trimmed alignment output format from the list"> | |
36 <option value="-clustal">CLUSTAL format</option> | |
37 <option value="-fasta">FASTA format</option> | |
38 <option value="-fasta_m10">FASTA format. Sequences name length up to 10 characters.</option> | |
39 <option value="-nbrf">NBRF/PIR format</option> | |
40 <option value="-nexus">NEXUS format</option> | |
41 <option value="-mega">MEGA format</option> | |
42 <option value="-phylip">PHYLIP/PHYLIP4 format</option> | |
43 <option value="-phylip_m10">PHYLIP/PHYLIP4 format. Sequences name length up to 10 characters</option> | |
44 <option value="-phylip_paml">PHYLIP format compatible with PAML</option> | |
45 <option value="-phylip_paml_m10">PHYLIP format compatible with PAML. Sequences name length up to 10 characters.</option> | |
46 <option value="-phylip3.2">PHYLIP3.2 format</option> | |
47 <option value="-phylip3.2_m10">PHYLIP3.2 format. Sequences name length up to 10 characters.</option> | |
48 </param> | |
49 </inputs> | |
50 <outputs> | |
51 <data name="trimmed_output" format="fasta" label="Trimmed alignment."/> | |
52 <data name="html_summary" format="html" label="trimal html summary."/> | |
53 </outputs> | |
54 <tests> | |
55 <test> | |
56 <param name="input1" value="example.009.AA.fasta"/> | |
57 <param name="mode_selector" value="-gappyout" /> | |
58 <param name="out_format_selector" value="-mega" /> | |
59 <output name="trimmed_output" file="trimmed_example.009.AA.mega" lines_diff="2"/> | |
60 <output name="html_summary" file="trimmed_example.009.AA.html"/> | |
61 </test> | |
62 <test> | |
63 <param name="input1" value="example.009.AA.fasta"/> | |
64 <param name="mode_selector" value="custom" /> | |
65 <param name="gapthreshold" value="0.5" /> | |
66 <param name="simthreshold" value="0.5" /> | |
67 <param name="cons" value="5" /> | |
68 <param name="out_format_selector" value="-phylip_paml_m10" /> | |
69 <output name="trimmed_output" file="custom_trimmed_example.009.AA.phy" /> | |
70 <output name="html_summary" file="custom_trimmed_example.009.AA.html"/> | |
71 </test> | |
72 </tests> | |
73 <help><![CDATA[ | |
74 Modes | |
75 -nogaps Remove all positions with gaps in the alignment. | |
76 -noallgaps Remove columns composed only by gaps. | |
77 -gappyout Use automatic selection on "gappyout" mode. This method only uses information based on gaps' distribution. (see User Guide). | |
78 -strict Use automatic selection on "strict" mode. (see User Guide). | |
79 -strictplus Use automatic selection on "strictplus" mode. (see User Guide). | |
80 trimAl v1.4.rev15 build[2013-12-17]. 2009-2013. Salvador Capella-Gutierrez and Toni Gabaldón. | |
81 | |
82 Custom mode parameters | |
83 -gt -gapthreshold <n> 1 - (fraction of sequences with a gap allowed). | |
84 -st -simthreshold <n> Minimum average similarity allowed. | |
85 -cons <n> Minimum percentage of the positions in the original alignment to conserve. | |
86 | |
87 Output formats | |
88 -nbrf Output file in NBRF/PIR format | |
89 -mega Output file in MEGA format | |
90 -nexus Output file in NEXUS format | |
91 -clustal Output file in CLUSTAL format | |
92 -fasta Output file in FASTA format | |
93 -fasta_m10 Output file in FASTA format. Sequences name length up to 10 characters. | |
94 -phylip Output file in PHYLIP/PHYLIP4 format | |
95 -phylip_m10 Output file in PHYLIP/PHYLIP4 format. Sequences name length up to 10 characters. | |
96 -phylip_paml Output file in PHYLIP format compatible with PAML | |
97 -phylip_paml_m10 Output file in PHYLIP format compatible with PAML. Sequences name length up to 10 characters. | |
98 -phylip3.2 Output file in PHYLIP3.2 format | |
99 -phylip3.2_m10 Output file in PHYLIP3.2 format. Sequences name length up to 10 characters. | |
100 | |
101 trimAl webpage: http://trimal.cgenomics.org | |
102 | |
103 This program is free software: you can redistribute it and/or modify | |
104 it under the terms of the GNU General Public License as published by | |
105 the Free Software Foundation, the last available version. | |
106 | |
107 Please cite: | |
108 trimAl: a tool for automated alignment trimming in large-scale phylogenetic analyses. | |
109 Salvador Capella-Gutierrez; Jose M. Silla-Martinez; Toni Gabaldon. | |
110 Bioinformatics 2009, 25:1972-1973. | |
111 ]]></help> | |
112 <citations> | |
113 <citation type="bibtex"> | |
114 @misc{githubTrimAl, | |
115 author = {LastTODO, FirstTODO}, | |
116 year = {TODO}, | |
117 title = {TrimAl}, | |
118 publisher = {GitHub}, | |
119 journal = {GitHub repository}, | |
120 url = {https://github.com/inab/trimal}, | |
121 }</citation> | |
122 </citations> | |
123 </tool> |