comparison metaeuk_easy_predict.xml @ 0:5f6ebc3103ee draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaeuk commit a1b87b5a34d0f3971f0110a89f5e87a5937dc8d2"
author iuc
date Tue, 04 Aug 2020 15:43:31 -0400
parents
children f91548912113
comparison
equal deleted inserted replaced
-1:000000000000 0:5f6ebc3103ee
1 <tool id="metaeuk_easy_predict" name="MetaEuk Easy Predict" version="@TOOL_VERSION@+galaxy0">
2 <description>High-throughput gene discovery and annotation for large-scale eukaryotic metagenomics</description>
3 <macros>
4 <token name="@TOOL_VERSION@">2.ddf2742</token>
5 </macros>
6 <requirements>
7 <requirement type="package" version="@TOOL_VERSION@">metaeuk</requirement>
8 </requirements>
9 <command detect_errors="aggressive"><![CDATA[
10 mkdir -p ./tmp &&
11 metaeuk easy-predict
12 '$contigs'
13 '$query'
14 output.fasta
15 "./tmp/metaeuk_working"
16 --threads \${GALAXY_SLOTS:-1}
17 --min-length '${min_length}'
18 -e '${segment_eval}'
19 --metaeuk-eval '${metaeuk_eval}'
20 --metaeuk-tcov '${metaeuk_tcov}'
21 #if $adv.adv_options == "yes"
22 --max-intron '${adv.max_intron}'
23 --min-intron '${adv.min_intron}'
24 #end if
25 && mv output.fasta '$output'
26 ]]></command>
27 <inputs>
28 <param name="contigs" type="data" format="fasta" label="Contigs to search again" />
29 <param name="query" type="data" format="fasta" label="Proteins to search against contigs" />
30 <param argument="-e" name="segment_eval" type="float" value="100" label="Maximum e-value of individual match segment" />
31 <param argument="--min-length" name="min_length" type="integer" value="15" label="Minimum number of codons in predicted open reading frame" />
32 <param argument="--metaeuk-eval" name="metaeuk_eval" type="float" value="0.001" label="Maximum e-value of combined exon set" />
33 <param argument="--metaeuk-tcov" name="metaeuk_tcov" type="float" value="0.5" label="Minimum length ratio of combined exon set to target" />
34 <conditional name="adv">
35 <param type="select" name="adv_options" label="Show advanced options">
36 <option value="yes">Yes</option>
37 <option value="no" selected="true">No</option>
38 </param>
39 <when value="yes">
40 <param argument="--max-intron" name="max_intron" value="10000" type="integer" label="Maximum intron size" />
41 <param argument="--min-intron" name="min_intron" value="15" type="integer" label="Minimum intron size" />
42 </when>
43 <when value="no">
44 </when>
45 </conditional>
46 </inputs>
47 <outputs>
48 <data name="output" format="fasta" />
49 </outputs>
50
51 <tests>
52 <test>
53 <param name="contigs" ftype="fasta" value="contigs.fna" />
54 <param name="query" ftype="fasta" value="proteins.faa" />
55 <output name="output" ftype="fasta" value="output.fasta" />
56 </test>
57 <test>
58 <param name="contigs" ftype="fasta" value="contigs.fna" />
59 <param name="query" ftype="fasta" value="proteins.faa" />
60 <conditional name="adv">
61 <param name="adv_options" value="yes" />
62 <param name="max_intron" value="1000" />
63 </conditional>
64 <assert_command>
65 <has_text text="--max-intron '1000'" />
66 </assert_command>
67 <output name="output" ftype="fasta" value="output.fasta" />
68 </test>
69 </tests>
70 <help><![CDATA[
71
72 MetaEuk_ is a modular toolkit designed for large-scale gene discovery and
73 annotation in eukaryotic metagenomic contigs. Metaeuk combines the fast and
74 sensitive homology search capabilities of MMseqs2_ with a dynamic programming
75 procedure to recover optimal exons sets. It reduces redundancies in multiple
76 discoveries of the same gene and resolves conflicting gene predictions on
77 the same strand.
78
79 This tool implements the easy-predict command from metaeuk, which combines
80 metaeuk modules into a pipeline for protein alignment prediction. Input is
81 the contigs you want to search for protein hits and the proteins you want
82 to search against those contigs. Output is FASTA format predicted ORFs, with
83 exons annotated in the header according to the metaeuk header format_.
84
85 .. _MetaEuk: https://github.com/soedinglab/metaeuk
86 .. _MMseqs2: https://github.com/soedinglab/MMseqs2
87 .. _format: https://github.com/soedinglab/metaeuk#the-metaeuk-header
88 ]]></help>
89 <citations>
90 <citation type="doi">10.1186/s40168-020-00808-x</citation>
91 </citations>
92 </tool>