annotate funannotate_clean.xml @ 0:b5ec3983deda draft

"planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
author iuc
date Thu, 26 Aug 2021 06:57:03 +0000
parents
children 922ff4f431b3
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}
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
18 ]]></command>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
19 <inputs>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
20 <param argument="--input" type="data" format="fasta" label="Assembly to clean" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
21
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
22 <param argument="--pident" type="integer" value="95" label="Percent identity of overlap" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
23 <param argument="--cov" type="integer" value="95" label="Percent coverage of overlap" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
24 <param argument="--minlen" type="integer" value="500" label="Minimum length of contig to keep" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
25
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
26 <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
27 </inputs>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
28 <outputs>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
29 <data name='output' format='fasta' label="${tool.name} on ${on_string}: cleaned assembly" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
30 </outputs>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
31 <tests>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
32 <test>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
33 <param name="input" value="genome.fa" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
34 <output name="output" file="cleaned.fa" compare="diff" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
35 </test>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
36 <test>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
37 <param name="input" value="genome.fa" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
38 <param name="pident" value="100" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
39 <param name="cov" value="100" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
40 <output name="output" file="cleaned_ident.fa" compare="diff" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
41 </test>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
42 </tests>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
43 <help><![CDATA[
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
44 Funannotate_ clean
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
45 ------------------
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
46
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
47 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
48
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
49 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
50
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
51 .. _Funannotate: http://funannotate.readthedocs.io
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
52 ]]></help>
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
53 <expand macro="citations" />
b5ec3983deda "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
54 </tool>