annotate purge_dups.xml @ 0:8ec117da1796 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
author iuc
date Fri, 05 Feb 2021 17:52:51 +0000
parents
children 29151e779524
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
1 <tool id="purge_dups" name="Purge haplotigs" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
2 <description>and overlaps in an assembly based on read depth</description>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
3 <macros>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
4 <token name="@TOOL_VERSION@">1.2.5</token>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
5 <token name="@VERSION_SUFFIX@">0</token>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
6 </macros>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
7 <requirements>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
8 <requirement type="package" version="@TOOL_VERSION@">purge_dups</requirement>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
9 </requirements>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
10 <command detect_errors="exit_code"><![CDATA[
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
11 #if $function_select.functions == "purge_dups":
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
12 purge_dups
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
13 #if $function_select.coverage:
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
14 -c '$function_select.coverage'
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
15 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
16 #if $function_select.cutoffs:
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
17 -T '$function_select.cutoffs'
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
18 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
19 #if $function_select.min_bad:
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
20 -f $function_select.min_bad
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
21 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
22 #if $function_select.min_align:
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
23 -a $function_select.min_align
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
24 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
25 #if $function_select.min_match:
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
26 -b $function_select.min_match
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
27 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
28 #if $function_select.min_chain:
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
29 -m $function_select.min_chain
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
30 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
31 #if $function_select.max_gap:
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
32 -M $function_select.max_gap
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
33 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
34 #if $function_select.double_chain.chaining_rounds == "two":
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
35 -2
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
36 #if $function_select.double_chain.max_gap_2:
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
37 -G $function_select.double_chain.max_gap_2
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
38 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
39 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
40 #if $function_select.min_chain_score:
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
41 -l $function_select.min_chain_score
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
42 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
43 #if $function_select.max_extend:
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
44 -E $function_select.max_extend
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
45 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
46 '$function_select.input' > dups.bed 2> purge_dups.log
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
47 #else if $function_select.functions == "split_fa":
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
48 split_fa
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
49 #if $function_select.split:
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
50 -n $function_select.split
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
51 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
52 '$function_select.input' > split.fasta
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
53 #else if $function_select.functions == "pbcstat":
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
54 pbcstat
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
55 #if $function_select.max_cov:
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
56 -M $function_select.max_cov
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
57 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
58 #if $function_select.min_map_ratio:
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
59 -f $function_select.min_map_ratio
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
60 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
61 #if $function_select.min_map_qual:
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
62 -q $function_select.min_map_qual
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
63 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
64 #if $function_select.flank:
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
65 -l $function_select.flank
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
66 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
67 $function_select.primary_alignments
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
68 '$function_select.input'
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
69 #else if $function_select.functions == "ngscstat":
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
70 ngscstat
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
71 #if $function_select.min_align_qual:
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
72 -q $function_select.min_align_qual
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
73 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
74 ## #if $function_select.max_depth:
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
75 ## -M $function_select.max_depth
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
76 ## #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
77 #if $function_select.max_insert:
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
78 -L $function_select.max_insert
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
79 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
80 '$function_select.input'
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
81 #else if $function_select.functions == "calcuts":
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
82 calcuts
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
83 #if $function_select.min_depth:
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
84 -f $function_select.min_depth
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
85 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
86 #if $function_select.low_depth:
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
87 -l $function_select.low_depth
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
88 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
89 #if $function_select.transition:
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
90 -m $function_select.transition
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
91 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
92 #if $function_select.upper_depth:
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
93 -u $function_select.upper_depth
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
94 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
95 $function_select.ploidy
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
96 '$function_select.input' > cutoffs.tsv 2>calcuts.log
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
97 #else if $function_select.functions == "get_seqs":
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
98 get_seqs
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
99 $function_select.coverage
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
100 $function_select.haplotigs
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
101 $function_select.end_trim
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
102 $function_select.split
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
103 #if $function_select.length:
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
104 -l $function_select.length
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
105 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
106 #if $function_select.min_ratio:
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
107 -m $function_select.min_ratio
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
108 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
109 #if $function_select.min_gap:
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
110 -g $function_select.min_gap
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
111 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
112 '$function_select.bed_input' '$function_select.fasta_input'
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
113 #end if
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
114 ]]></command>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
115 <inputs>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
116 <conditional name="function_select">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
117 <param type="select" name="functions" label="Select the purge_dups function">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
118 <option value="purge_dups">purge haplotigs and overlaps for an assembly</option>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
119 <option value="split_fa">split FASTA file by 'N's</option>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
120 <option value="pbcstat">create read depth histogram and base-level read depth for pacbio data</option>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
121 <option value="ngscstat">create read depth histogram and base-level read detph for illumina data</option>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
122 <option value="calcuts">calculate coverage cutoffs</option>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
123 <option value="get_seqs">obtain seqeuences after purging</option>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
124 </param>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
125 <when value="purge_dups">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
126 <param name="input" type="data" format="paf" label="PAF input file"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
127 <param name="coverage" type="data" format="tabular" optional="true" argument="-c" label="Base-level coverage file" />
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
128 <param name="cutoffs" type="data" format="tabular" label ="Cutoffs file" optional="true" argument="-T"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
129 <param name="min_bad" type="float" min="0" max="1" argument="-f" optional="true" label="Minimum fraction of haploid/diploid/bad/repetitive bases in a sequence" help="Default = 0.8"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
130 <param name="min_align" type="integer" label="Minimum alignment score" argument="-a" optional="true"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
131 <param name="min_match" type="integer" label="Minimum max match score" argument="-b" optional="true"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
132 <param name="min_chain" label="Minimum matching bases for chaining" type="integer" argument="-m" optional="true"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
133 <param name="max_gap" label="Maximum gap size for chaining" type="integer" argument="-M" optional="true"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
134 <conditional name="double_chain">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
135 <param type="select" name="chaining_rounds" label="Rounds of chaining">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
136 <option value="one">1 round</option>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
137 <option value="two">2 rounds</option>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
138 </param>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
139 <when value="two">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
140 <param name="max_gap_2" argument="-G" optional="true" label="Maximum gap size for second round of chaining" type="integer"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
141 </when>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
142 <when value="one"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
143 </conditional>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
144 <param name="min_chain_score" argument="-l" optional="true" label="Minimum chaining score for a match" type="integer" />
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
145 <param name="max_extend" argument="-E" optional="true" label="Maximum extension for contig ends" type="integer" />
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
146 </when>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
147 <when value="split_fa">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
148 <param name="input" type="data" format="fasta" label="Base-level coverage file"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
149 <param name="split" type="boolean" truevalue="-n" falsevalue="" checked="false" label="Base-level coverage file" />
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
150 </when>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
151 <when value="pbcstat">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
152 <param name="input" type="data" format="paf" label="PAF input file"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
153 <param name="max_cov" type="integer" label="Maximum coverage" argument="-M" optional="true"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
154 <param name="min_map_ratio" argument="-f" type="float" min="0" max="1" value="0" label="Minimum mapping length ratio"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
155 <param name="min_map_qual" type="integer" argument="-q" optional="true" label="Minimum mapping quality"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
156 <param name="flank" type="integer" argument="-l" optional="true" label="Flanking space" />
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
157 <param name="primary_alignments" argument="-p" type="boolean" truevalue="-p" falsevalue="" checked="true" label="Use only primary alignments" />
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
158 </when>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
159 <when value="ngscstat">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
160 <param name="input" type="data" format="bam" label="BAM input file"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
161 <param name="min_align_qual" type="integer" argument="-q" optional="true" label="Minimum alignment quality" />
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
162 <!-- Param exists in help text, but isn't actually part of the code. Maybe in the next release? -->
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
163 <!-- <param name="max_depth" type="integer" label="Maximum read depth" argument="-M" optional="true"/> -->
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
164 <param name="max_insert" type="integer" argument="-L" optional="true" label="Maximum insert size"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
165 </when>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
166 <when value="calcuts">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
167 <param name="input" type="data" format="tabular" label="STAT input file"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
168 <param name="min_depth" type="float" label="Minimum depth count fraction to maximum depth coun" min="0" max="1" argument="-f" optional="true" help="Default = 0.1"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
169 <param name="low_depth" label="Lower bound for read depth" type="integer" argument="-l" optional="true"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
170 <param name="transition" label="Transition between haploid and diploid" type="integer" argument="-m" optional="true"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
171 <param name="upper_depth" label="Upper bound for read depth" type="integer" argument="-u" optional="true"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
172 <param name="ploidy" argument="-d" type="select" label="Ploidy">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
173 <option value="-d 0" selected="true">Diploid [0]</option>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
174 <option value="-d 1">Haploid [1]</option>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
175 </param>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
176 </when>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
177 <when value="get_seqs">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
178 <param name="fasta_input" type="data" format="fasta" label="Fasta input file"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
179 <param name="bed_input" type="data" format="bed" label="Bed input file"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
180 <param name="coverage" type="boolean" argument="-c" truevalue="-c" falsevalue="" checked="false" label="Keep high coverage contigs in the primary contig set"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
181 <param name="haplotigs" type="boolean" argument="-a" truevalue="-a" falsevalue="" checked="false" label="Do not add prefix to haplotigs"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
182 <param name="length" type="integer" argument="-l" optional="true" label="Minimum primary contig length" help="Default: 1000"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
183 <param name="min_ratio" type="float" min="0" max="1" argument="-m" optional="true" label="Minimum ratio of remaining primary contig length to the original contig length"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
184 <param name="end_trim" type="boolean" argument="-e" truevalue="-e" falsevalue="" checked="true" label="Trim end sequences" help="Only remove sequences at end of halplotigs If you also want to remove the duplications in the middle, set to false, however that may delete false positive duplications."/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
185 <param name="split" type="boolean" argument="-s" truevalue="-s" falsevalue="" checked="false" label="Split contigs"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
186 <param name="min_gap" type="integer" argument="-g" optional="true" help="default=10k" label="Minimum gap size between duplications" />
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
187 </when>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
188 </conditional>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
189 </inputs>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
190 <outputs>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
191 <!-- Get Seqs -->
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
192 <data name="get_seqs_hap" format="fasta" from_work_dir="hap.fa" label="${tool.name} on ${on_string}: get seqs haplotype fasta" >
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
193 <filter>function_select['functions'] == 'get_seqs'</filter>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
194 </data>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
195 <data name="get_seqs_purged" format="fasta" from_work_dir="purged.fa" label="${tool.name} on ${on_string}: get seqs purged fasta">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
196 <filter>function_select['functions'] == 'get_seqs'</filter>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
197 </data>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
198 <!-- Split FA -->
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
199 <data name="split_fasta" format="fasta" from_work_dir="split.fasta" label="${tool.name} on ${on_string}: split fasta">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
200 <filter>function_select['functions'] == 'split_fa'</filter>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
201 </data>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
202 <!-- Ngscstat -->
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
203 <data name="ngscstat_cov" format="tabular" from_work_dir="TX.base.cov" label="${tool.name} on ${on_string}: ngscstat base coverage file">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
204 <filter>function_select['functions'] == 'ngscstat'</filter>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
205 </data>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
206 <data name="ngscstat_stat" format="tabular" from_work_dir="TX.stat" label="${tool.name} on ${on_string}: ngscstat stat file">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
207 <filter>function_select['functions'] == 'ngscstat'</filter>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
208 </data>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
209 <!-- Pbcstat -->
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
210 <data name="pbcstat_cov" format="tabular" from_work_dir="PB.base.cov" label="${tool.name} on ${on_string}: pbcstat base coverage file">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
211 <filter>function_select['functions'] == 'pbcstat'</filter>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
212 </data>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
213 <data name="pbcstat_wig" format="wig" from_work_dir="PB.cov.wig" label="${tool.name} on ${on_string}: pbcstat base wig file">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
214 <filter>function_select['functions'] == 'pbcstat'</filter>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
215 </data>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
216 <data name="pbcstat_stat" format="tabular" from_work_dir="PB.stat" label="${tool.name} on ${on_string}: stat file">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
217 <filter>function_select['functions'] == 'pbcstat'</filter>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
218 </data>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
219 <!-- Calcuts -->
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
220 <data name="calcuts_log" format="txt" from_work_dir="calcuts.log" label="${tool.name} on ${on_string}: calcuts log file">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
221 <filter>function_select['functions'] == 'calcuts'</filter>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
222 </data>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
223 <data name="calcuts_tab" format="tabular" from_work_dir="cutoffs.tsv" label="${tool.name} on ${on_string}: calcuts cutoff file">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
224 <filter>function_select['functions'] == 'calcuts'</filter>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
225 </data>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
226 <!-- Purge dups -->
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
227 <data name="purge_dups_log" format="txt" from_work_dir="purge_dups.log" label="${tool.name} on ${on_string}: purge_dups log file">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
228 <filter>function_select['functions'] == 'purge_dups'</filter>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
229 </data>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
230 <data name="purge_dups_bed" format="bed" from_work_dir="dups.bed" label="${tool.name} on ${on_string}: purge_dups bed file">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
231 <filter>function_select['functions'] == 'purge_dups'</filter>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
232 </data>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
233 </outputs>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
234 <tests>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
235 <!-- Purge dups -->
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
236 <test expect_num_outputs="2">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
237 <conditional name="function_select">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
238 <param name="functions" value="purge_dups"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
239 <param name="input" value="test.paf"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
240 <param name="coverage" value="test.cov" ftype="tabular"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
241 <param name="cutoffs" value="cutoffs.tsv" ftype="tabular"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
242 <param name="min_bad" value="0.01"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
243 <param name="min_align" value="10"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
244 <param name="min_match" value="100"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
245 <param name="min_chain" value="1"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
246 <param name="max_gap" value="1000"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
247 <conditional name="double_chain">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
248 <param name="chaining_rounds" value="two"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
249 <param name="max_gap_2" value="1001"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
250 </conditional>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
251 <param name="min_chain_score" value="1"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
252 <param name="max_extend" value="100"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
253 </conditional>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
254 <output name="purge_dups_bed" value="purge_dups_out.bed"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
255 </test>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
256 <!-- Split fa -->
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
257 <test expect_num_outputs="1">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
258 <conditional name="function_select">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
259 <param name="functions" value="split_fa"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
260 <param name="input" value="test.fasta"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
261 <param name="split" value="-n"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
262 </conditional>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
263 <output name="split_fasta" value="split_out.fasta"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
264 </test>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
265 <!-- pbcstat -->
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
266 <test expect_num_outputs="3">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
267 <conditional name="function_select">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
268 <param name="functions" value="pbcstat"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
269 <param name="input" value="test.paf"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
270 <param name="max_cov" value="1000"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
271 <param name="min_map_ratio" value="0.01"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
272 <param name="min_map_qual" value="1"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
273 <param name="flank" value="1"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
274 <param name="primary_alignments" value="-p"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
275 </conditional>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
276 <output name="pbcstat_cov" value="out.cov"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
277 <output name="pbcstat_wig" value="out.wig"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
278 </test>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
279 <!-- ngscstat -->
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
280 <test expect_num_outputs="2">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
281 <conditional name="function_select">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
282 <param name="functions" value="ngscstat"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
283 <param name="input" value="test.bam"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
284 <param name="min_align_qual" value="10"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
285 <param name="max_insert" value="100"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
286 </conditional>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
287 <output name="ngscstat_cov" value="ngsc_out.cov"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
288 </test>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
289 <!-- Calcuts -->
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
290 <test expect_num_outputs="2">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
291 <conditional name="function_select">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
292 <param name="functions" value="calcuts"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
293 <param name="input" value="test.stat"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
294 <param name="min_depth" value="0.01"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
295 <param name="low_depth" value="1"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
296 <param name="transition" value="1"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
297 <param name="upper_depth" value="100"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
298 <param name="ploidy" value="-d 0"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
299 </conditional>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
300 <output name="calcuts_tab" value="calcuts_out.tsv"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
301 </test>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
302 <!-- Get seqs -->
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
303 <test expect_num_outputs="2">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
304 <conditional name="function_select">
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
305 <param name="functions" value="get_seqs"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
306 <param name="fasta_input" value="split_out.fasta"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
307 <param name="bed_input" value="dups.bed"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
308 <param name="coverage" value="-c"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
309 <param name="length" value="10"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
310 <param name="haplotigs" value="-a"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
311 <param name="min_ratio" value=".01"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
312 <param name="end_trim" value="-e"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
313 <param name="split" value="-s"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
314 <param name="min_gap" value="100000"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
315 </conditional>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
316 <output name="get_seqs_purged" value="purged_out.fa"/>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
317 </test>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
318 </tests>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
319 <help><![CDATA[
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
320 .. class:: infomark
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
321
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
322 **What it does**
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
323
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
324 The purge_dups tools are designed to remove haplotigs and contig overlaps in a de novo assembly based on read depth.
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
325
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
326 ]]></help>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
327 <citations>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
328 <citation type="doi">10.1093/bioinformatics/btaa025</citation>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
329 </citations>
8ec117da1796 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit ed3bf33e007841e359d164b2aa9e2ecf7fa5fa96"
iuc
parents:
diff changeset
330 </tool>