comparison align_seqs.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
comparison
equal deleted inserted replaced
-1:000000000000 0:c1bd0c560018
1 <tool id="qiime_align_seqs" name="Align sequences" version="1.9.1">
2 <description>using a variety of alignment methods</description>
3
4 <macros>
5 <import>macros.xml</import>
6 </macros>
7
8 <expand macro="requirements" />
9
10 <version_command><![CDATA[
11 align_seqs.py --version
12 ]]>
13 </version_command>
14
15 <command>
16 <![CDATA[
17 align_seqs.py
18 -i $input_fasta_fp
19 -o align_seqs
20 -m $alignment.alignment_method
21
22 #if $alignment.alignment_method == 'pynast':
23 -a $alignment.pairwise_alignment_method
24 #end if
25
26 #if str($template_fp) != 'None':
27 -t $template_fp
28 #end if
29
30 #if $min_length:
31 -e $min_length
32 #end if
33
34 -p $min_percent_id
35 ]]>
36 </command>
37
38 <inputs>
39 <param name="input_fasta_fp" type="data" format="fasta"
40 label="Input fasta file" help="(-i/--input_fasta_fp)"/>
41
42 <conditional name="alignment">
43 <param name="alignment_method" type="select"
44 label="Method for aligning sequences" help="(-m/--alignment_method)">
45 <option value="pynast" selected="True" >pynast</option>
46 <option value="infernal" >infernal</option>
47 <option value="clustalw" >clustalw</option>
48 <option value="muscle" >muscle</option>
49 <option value="mafft" >mafft</option>
50 </param>
51 <when value="pynast">
52 <param name="pairwise_alignment_method" type="select"
53 label="Method for performing pairwise alignment in PyNAST"
54 help="(-a/--pairwise_alignment_method)">
55 <option value="muscle" >muscle</option>
56 <option value="pair_hmm" >pair_hmm</option>
57 <option value="clustal" >clustal</option>
58 <option value="blast" >blast</option>
59 <option value="uclust" selected="True" >uclust</option>
60 <option value="mafft" >mafft</option>
61 </param>
62 </when>
63 <when value="infernal" />
64 <when value="clustalw" />
65 <when value="muscle" />
66 <when value="mafft" />
67 </conditional>
68
69 <param name="template_fp" type="data" format="fasta"
70 label="Fasta file for template alignment" help="(-t/--template_fp)"
71 optional="True"/>
72
73 <param name="min_length" type="integer" label="Minimum sequence
74 length to include in alignment" help="By default, 75% of the median
75 input sequence length (-e/--min_length)" optional="True"/>
76
77 <param name="min_percent_id" type="float" value="0.75" label="Minimum
78 percent sequence identity to closest blast hit to include sequence
79 in alignment" help="(-p/--min_percent_id)"/>
80 </inputs>
81
82 <outputs>
83 <data name="aligned_sequences" format="fasta"
84 from_work_dir="align_seqs/*_aligned.fasta"
85 label="${tool.name} on ${on_string}: Aligned sequences" />
86
87 <data name="failures_sequences" format="fasta"
88 from_work_dir="align_seqs/*_failures.fasta"
89 label="${tool.name} on ${on_string}: Failure sequences">
90 <filter> alignment['alignment_method'] == 'pynast'</filter>
91 </data>
92
93 <data name="log" format="txt" from_work_dir="align_seqs/*_log.txt"
94 label="${tool.name} on ${on_string}: Log"/>
95 </outputs>
96
97 <tests>
98 <test>
99 <param name="input_fasta_fp" value=""/>
100 <param name="alignment_method" value="pynast"/>
101 <param name="pairwise_alignment_method" value="muscle"/>
102 <param name="min_percent_id" value="0.75" />
103 <output name="aligned_sequences"
104 value="align_seqs_aligned_sequences.fasta"/>
105 <output name="failures_sequences"
106 value="align_seqs_failures_sequences.fasta"/>
107 <output name="log" value="align_seqs_log.txt"/>
108 </test>
109 </tests>
110
111 <help><![CDATA[
112
113 **What it does?**
114
115 This tool aligns the sequences in a FASTA file to each other or to a template sequence alignment, depending on the method chosen.
116
117 More information about this tool is available on
118 `QIIME documentation <http://qiime.org/scripts/align_seqs.html>`_.
119 ]]>
120 </help>
121
122 <citations>
123 <expand macro="citations" />
124 <citation type="doi">10.1093/bioinformatics/btp636</citation>
125 <citation type="doi">10.1093/nar/gkh340</citation>
126 <citation type="doi">10.1093/bioinformatics/btp157</citation>
127 </citations>
128 </tool>