annotate funannotate_clean.xml @ 6:258198490c3c draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/funannotate commit 2589d2785ca90160a22a5fe14e03311e189ea51d
author iuc
date Thu, 13 Apr 2023 17:15:41 +0000
parents 922ff4f431b3
children 989f7c061f35
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
1 <tool id="funannotate_clean" name="Funannotate assembly clean" profile="20.01" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
2 <description></description>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
3 <macros>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
4 <import>macros.xml</import>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
5 </macros>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
6 <requirements>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
7 <expand macro="requirements" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
8 </requirements>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
9 <version_command>funannotate check --show-versions</version_command>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
10 <command><![CDATA[
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
11 funannotate clean
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
12 --input '${input}'
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
13 --out '${output}'
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
14 --pident ${pident}
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
15 --cov ${cov}
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
16 --minlen ${minlen}
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
17 ${exhaustive}
2
922ff4f431b3 "planemo upload commit febca656bf539c044816abebfeef3c84adc4056e"
iuc
parents: 0
diff changeset
18 --cpus \${GALAXY_SLOTS:-1}
0
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
19 ]]></command>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
20 <inputs>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
21 <param argument="--input" type="data" format="fasta" label="Assembly to clean" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
22
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
23 <param argument="--pident" type="integer" value="95" label="Percent identity of overlap" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
24 <param argument="--cov" type="integer" value="95" label="Percent coverage of overlap" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
25 <param argument="--minlen" type="integer" value="500" label="Minimum length of contig to keep" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
26
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
27 <param argument="--exhaustive" type="boolean" checked="false" truevalue="--exhaustive" falsevalue="" label="Test every contig" help="Default is to stop at N50 value" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
28 </inputs>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
29 <outputs>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
30 <data name='output' format='fasta' label="${tool.name} on ${on_string}: cleaned assembly" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
31 </outputs>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
32 <tests>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
33 <test>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
34 <param name="input" value="genome.fa" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
35 <output name="output" file="cleaned.fa" compare="diff" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
36 </test>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
37 <test>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
38 <param name="input" value="genome.fa" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
39 <param name="pident" value="100" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
40 <param name="cov" value="100" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
41 <output name="output" file="cleaned_ident.fa" compare="diff" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
42 </test>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
43 </tests>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
44 <help><![CDATA[
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
45 Funannotate_ clean
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
46 ------------------
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
47
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
48 Funannotate_ is a pipeline for genome annotation (built specifically for fungi, but will also work with higher eukaryotes).
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
49
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
50 When working with haploid assemblies, sometimes you want to remove some repetitive contigs that are contained in other scaffolds of the assembly. If the repeats are indeed unique, then we want to keep them in the assembly. Funannotate can help “clean” up repetitive contigs in your assembly. This is done using a “leave one out” methodology using minimap2 or mummer (nucmer), where the the shortest contigs/scaffolds are aligned to the rest of the assembly to determine if it is repetitive. The script loops through the contigs starting with the shortest and workings its way to the N50 of the assembly, dropping contigs/scaffolds that are greater than the percent coverage of overlap (--cov) and the percent identity of overlap (--pident).
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
51
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
52 .. _Funannotate: http://funannotate.readthedocs.io
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
53 ]]></help>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
54 <expand macro="citations" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
55 </tool>