annotate consalign.xml @ 0:3196a3144eb7 draft default tip

planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
author ecology
date Tue, 25 Apr 2023 10:05:14 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
1 <tool id="aligned_to_consensus" name="Consensus sequence from aligned FASTA" version="@VERSION@">
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
2 <description></description>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
3 <macros>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
4 <import>consalign_macros.xml</import>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
5 </macros>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
6 <requirements>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
7 <requirement type="package" version="0.1.4">r-bioseq</requirement>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
8 <requirement type="package" version="1.0.14">r-ptxqc</requirement>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
9 </requirements>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
10 <command detect_errors="exit_code"><![CDATA[
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
11 Rscript
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
12 '$__tool_directory__/consensus_from_alignments.R'
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
13 '$input'
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
14 '$seqtype'
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
15 '$method'
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
16 '$gaps'
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
17 '$outog'
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
18 '$output'
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
19 ]]>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
20 </command>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
21 <inputs>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
22 <param name="input" type="data" format="fasta" label="Input fasta file with at least two sequences"/>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
23 <param name="seqtype" type="select" label="Type of sequence" multiple="false" optional="false" display="radio">
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
24 <option value="DNA" selected="true">DNA</option>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
25 <option value="RNA">RNA</option>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
26 <option value="AA">Amino Acid</option>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
27 </param>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
28 <param name="method" type="select" label="Consensus method when differences are found between sequences" multiple="false" optional="false" display="radio">
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
29 <option value="chr_ambiguity" selected="true">Use an ambiguous nucleotide</option>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
30 <option value="chr_majority">Use the most frequent nucleotide</option>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
31 </param>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
32 <param name="gaps" type="boolean" checked="no" label="Take account of gaps?" help="/!\ If gaps are at the same place in all the sequences don't check 'no', you'll face an error"/>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
33 <param name="outog" type="boolean" checked="no" label="Output consensus sequence AND original sequences in the FASTA file?" help="/!\ If gaps are at the same place in all the sequences don't check 'no', you'll face an error"/>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
34 </inputs>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
35 <outputs>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
36 <data name="output" from_work_dir="output.fasta" format="fasta" label="Consensus sequence of ${input.display_name}"/>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
37 </outputs>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
38 <tests>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
39 <test>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
40 <param name="input" value="test_file.fasta"/>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
41 <param name="seqtype" value="DNA"/>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
42 <param name="method" value="chr_ambiguity"/>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
43 <param name="gaps" value="false"/>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
44 <param name="outog" value="false"/>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
45 <output name="output">
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
46 <assert_contents>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
47 <has_n_lines n="2"/>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
48 </assert_contents>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
49 </output>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
50 </test>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
51 </tests>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
52 <help><![CDATA[
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
53 =====================================================
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
54 Get consensus sequence from several aligned sequences
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
55 =====================================================
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
56
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
57 This tool uses the seq_consensus function from the bioseq package. @WARNING@ If gaps are at the same place in all the sequences don't check 'no' in the gaps parameter,
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
58 you'll face an error.
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
59
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
60 Input can be any fasta file containing at least two aligned sequences.
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
61
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
62 Output is a FASTA file containing the computed consensus sequence (along with original sequences if you want to).
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
63 ]]></help>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
64 <citations>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
65 <citation type="doi">10.1111/2041-210X.13490</citation>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
66 </citations>
3196a3144eb7 planemo upload for repository https://github.com/ColineRoyaux/Galaxy_tool_projects/tree/main/consensus_from_alignments commit ecc21de8f368c6a95c57d4e6511ed42af9e72a66
ecology
parents:
diff changeset
67 </tool>