annotate smudgeplot.xml @ 3:24e471d13fe9 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
author iuc
date Thu, 30 Jun 2022 22:45:21 +0000
parents e53b0473d575
children 5e0825476fb7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
1 <tool id="smudgeplot" name="Smudgeplot" version="@TOOL_VERSION@+galaxy+@VERSION_SUFFIX@" profile="21.05">
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
2 <description>inference of ploidy and heterozygosity structure using whole genome sequencing</description>
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
3
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
4 <macros>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
5 <token name="@TOOL_VERSION@">0.2.5</token>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
6 <token name="@VERSION_SUFFIX@">1</token>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
7 </macros>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
8
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
9 <xrefs>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
10 <xref type="bio.tools">smudgeplots</xref>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
11 </xrefs>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
12
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
13 <requirements>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
14 <requirement type="package" version="@TOOL_VERSION@">smudgeplot</requirement>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
15 <requirement type="package" version="2.3.0">kmer-jellyfish</requirement>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
16 </requirements>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
17
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
18 <command detect_errors="exit_code"><![CDATA[
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
19
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
20 #if $file.input.input_select == 'reads'
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
21
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
22 ## ~~~~~~~~~~~~~~~ Generate kmer-dump with presets ~~~~~~~~~~~~~~~~~~~~~
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
23
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
24 ## Jellyfish kmer count
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
25 ## ---------------------------------------------------------------------
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
26
3
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
27 #if $file.input.reads[0].is_of_type("fastqsanger.gz") or $file.input.reads[0].is_of_type("fasta.gz")
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
28 gunzip -c
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
29 #for $f in $file.input.reads
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
30 #if $f
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
31 '$f'
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
32 #end if
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
33 | jellyfish count -m 21 -t 4 -s 1M -o 1_counts.jf -C /dev/stdin
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
34 #end for
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
35
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
36 #else
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
37 jellyfish count -m 21 -t 4 -s 1M -o 1_counts.jf -C
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
38 #for $f in $file.input.reads
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
39 #if $f
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
40 '$f'
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
41 #end if
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
42 #end for
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
43 #end if
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
44
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
45 && jellyfish histo 1_counts.jf > 1_kmer_k21.hist
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
46
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
47 ## Calculate lower and upper kmer count cutoffs
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
48 ## ---------------------------------------------------------------------
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
49
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
50 #if $file.input.lower_cutoff is not None:
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
51 && L=$file.input.lower_cutoff
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
52 #else
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
53 && L=\$(smudgeplot.py cutoff 1_kmer_k21.hist L)
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
54 #end if
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
55
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
56 #if $file.input.upper_cutoff is not None:
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
57 && U=$file.input.upper_cutoff
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
58 #else
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
59 && U=\$(smudgeplot.py cutoff 1_kmer_k21.hist U)
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
60 #end if
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
61
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
62 ## ---------------------------------------------------------------------
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
63 ## Dump and extract coverage
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
64
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
65 && echo "Dump with cutoffs L=\$L, U=\$U"
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
66 && jellyfish dump -c -L \$L -U \$U 1_counts.jf > 2_dump.jf
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
67 && smudgeplot.py hetkmers -o 2_kmer_pairs 2_dump.jf
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
68
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
69 #else
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
70
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
71 ## ~~~~~~~~~~~~~~~~~~~ Use provided kmer dump ~~~~~~~~~~~~~~~~~~~~~~~~~~
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
72
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
73 smudgeplot.py hetkmers -o 2_kmer_pairs '$file.input.dump'
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
74
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
75 #end if
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
76
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
77 ## ---------------------------------------------------------------------
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
78 ## Plot
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
79
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
80 && smudgeplot.py plot 2_kmer_pairs_coverages.tsv -o my_genome
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
81
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
82 ]]></command>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
83
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
84 <inputs>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
85 <section name="file" title="File inputs" expanded="true">
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
86 <conditional name="input">
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
87 <param
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
88 name="input_select" type="select" label="Select input type"
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
89 help="For more control, create your own Kmer dump using Jellyfish.
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
90 See Smudgeplot on GitHub for more details: https://github.com/KamilSJaron/smudgeplot"
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
91 >
3
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
92 <option value="reads" selected="true">Sequencing reads</option>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
93 <option value="dump">Kmer dump file</option>
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
94 </param>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
95
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
96 <when value="reads">
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
97 <param
3
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
98 name="reads" type="data" format="fastqsanger,fastqsanger.gz,fasta.gz,fasta"
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
99 label="Sequencing reads" multiple="true"
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
100 help="Sequencing reads corresponding to your genome.
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
101 Don't worry about read pairing as it is not used in Kmer-counting.
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
102 If selecting multiple datasets, please do not mix datatypes!"
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
103 />
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
104
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
105 <param
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
106 name="lower_cutoff"
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
107 label="Lower kmer cutoff"
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
108 type="integer"
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
109 optional="true"
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
110 help="Optionally set a manual lower limit for filtering kmers with
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
111 smudgeplot hetkmers. If no value is set, a cutoff will be
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
112 estimated with smudgeplot cutoff. Use the GenomeScope tool to
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
113 visualize your kmer histogram when choosing cutoff values."
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
114 />
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
115
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
116 <param
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
117 name="upper_cutoff"
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
118 label="Upper kmer cutoff"
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
119 type="integer"
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
120 optional="true"
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
121 help="Optionally set a manual upper limit for filtering kmers with
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
122 smudgeplot hetkmers. If no value is set, a cutoff will be
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
123 estimated with smudgeplot cutoff. Use the GenomeScope tool to
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
124 visualize your kmer histogram when choosing cutoff values."
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
125 />
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
126 </when>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
127
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
128 <when value="dump">
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
129 <param
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
130 name="dump" type="data" format="txt"
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
131 label="Kmer dump"
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
132 help="Upload your own Kmer dump file created with the Jellyfish or KMC tool.
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
133 This enables control over kmer-counting parameters."
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
134 />
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
135 </when>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
136 </conditional>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
137 </section>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
138
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
139 <param name="table_output" type="boolean" label="Output summary table"></param>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
140 <param name="verbose_output" type="boolean" label="Output verbose summary"></param>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
141 <param name="warnings_output" type="boolean" label="Output genome warnings"></param>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
142 </inputs>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
143
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
144 <outputs>
3
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
145 <data
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
146 name="smudgeplot" format="png"
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
147 from_work_dir="my_genome_smudgeplot.png"
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
148 label="${tool.name} on ${on_string}: Smudgeplot"
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
149 />
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
150 <data
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
151 name="smudgeplot_log" format="png"
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
152 from_work_dir="my_genome_smudgeplot_log10.png"
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
153 label="${tool.name} on ${on_string}: Smudgeplot (log10)"
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
154 />
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
155 <data
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
156 name="genome_summary" format="tabular"
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
157 from_work_dir="my_genome_summary_table.tsv"
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
158 label="${tool.name} on ${on_string}: Genome summary table"
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
159 >
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
160 <filter>table_output</filter>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
161 </data>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
162 <data
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
163 name="genome_summary_verbose" format="txt"
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
164 from_work_dir="my_genome_verbose_summary.txt"
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
165 label="${tool.name} on ${on_string}: Genome verbose summary"
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
166 >
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
167 <filter>verbose_output</filter>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
168 </data>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
169 <data
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
170 name="genome_warnings" format="txt"
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
171 from_work_dir="my_genome_warnings.txt"
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
172 label="${tool.name} on ${on_string}: Genome warnings"
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
173 >
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
174 <filter>warnings_output</filter>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
175 </data>
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
176 </outputs>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
177
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
178 <tests>
3
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
179 <!-- Standard run -->
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
180 <test expect_num_outputs="2">
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
181 <param name="input_select" value="reads"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
182 <param name="reads" value="test_reads.fasta" ftype="fasta"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
183 <param name="lower_cutoff" value="2"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
184 <param name="upper_cutoff" value="25"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
185 <output name="smudgeplot" ftype="png" file="my_genome_smudgeplot.png" compare="sim_size"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
186 </test>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
187 <!-- Standard run with gzipped input -->
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
188 <test expect_num_outputs="2">
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
189 <param name="input_select" value="reads"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
190 <param name="reads" value="test_reads.fasta.gz" ftype="fasta.gz"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
191 <param name="lower_cutoff" value="2"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
192 <param name="upper_cutoff" value="25"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
193 <output name="smudgeplot" ftype="png" file="my_genome_smudgeplot.png" compare="sim_size"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
194 </test>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
195 <!-- Multiple input read files -->
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
196 <test expect_num_outputs="2">
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
197 <param name="input_select" value="reads"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
198 <param name="lower_cutoff" value="2"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
199 <param name="upper_cutoff" value="80"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
200 <param
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
201 name="reads"
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
202 value="test_reads.fasta,test_reads_2.fasta,test_reads_3.fasta"
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
203 ftype="fasta"
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
204 />
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
205 <output name="smudgeplot" ftype="png" file="my_genome_smudgeplot.png" compare="sim_size"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
206 </test>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
207 <!-- With additional outputs-->
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
208 <test expect_num_outputs="5">
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
209 <param name="input_select" value="reads"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
210 <param name="reads" value="test_reads.fasta" ftype="fasta"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
211 <param name="lower_cutoff" value="2"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
212 <param name="upper_cutoff" value="25"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
213 <param name="table_output" value="true"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
214 <param name="verbose_output" value="true"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
215 <param name="warnings_output" value="true"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
216 <output name="smudgeplot" ftype="png" file="my_genome_smudgeplot.png" compare="sim_size"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
217 <output name="genome_summary" ftype="tabular" file="my_genome_summary_table.tsv"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
218 <output name="genome_summary_verbose" ftype="txt" file="my_genome_verbose_summary.txt"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
219 <output name="genome_warnings" ftype="txt" file="my_genome_warnings.txt"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
220 </test>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
221 <!-- K-mer dump input -->
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
222 <test expect_num_outputs="2">
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
223 <param name="input_select" value="dump"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
224 <param name="dump" value="dump.jf" ftype="txt"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
225 <output name="smudgeplot" ftype="png" file="my_genome_smudgeplot.png" compare="sim_size"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
226 </test>
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
227 </tests>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
228
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
229 <help><![CDATA[
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
230
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
231 .. class:: infomark
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
232
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
233 **What it does**
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
234
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
235 This tool extracts heterozygous kmer pairs from kmer count databases and performs gymnastics with them. We are able to disentangle genome structure by comparing the sum of kmer pair coverages (CovA + CovB) to their relative coverage (CovB / (CovA + CovB)). Such an approach also allows us to analyze obscure genomes with duplications, various ploidy levels, etc.
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
236
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
237 Smudgeplots are computed from raw or even better from trimmed reads and show the haplotype structure using heterozygous kmer pairs. For example:
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
238
3
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
239 .. image:: $PATH_TO_IMAGES/smudge.png
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
240 :height: 520
3
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
241 :alt: Example smudgeplot graph
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
242
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
243 Every haplotype structure has a unique smudge on the graph and the heat of the smudge indicates how frequently the haplotype structure is represented in the genome compared to the other structures. The image above is an ideal case, where the sequencing coverage is sufficient to beautifully separate all the smudges, providing very strong and clear evidence of triploidy.
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
244
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
245 Please see `Smudgeplot on GitHub <https://github.com/KamilSJaron/smudgeplot>`_
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
246 for further documentation and tutorials.
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
247
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
248 **Inputs**
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
249
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
250 You have two choices when running Smudgeplot in Galaxy:
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
251
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
252 1. Input reads file(s) for default kmer-counting with Jellyfish
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
253
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
254 This should be at least one file which providing coverage of your genome of interest.
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
255 The tool accepts compressed (.gz) inputs. If choosing this option, you can
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
256 (optionally) specify manual cutoff values for the kmer dump step. The Smudgeplot
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
257 docs suggest that you can use GenomeScope on a kmer histogram in order to choose
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
258 reasonable lower and upper cutoff values.
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
259
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
260 2. Input your own kmer dump file for more control of kmer counting parameters
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
261
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
262 This file would be created by running ``jellyfish count`` and then ``jellyfish dump`` - the process is well described
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
263 `on GitHub <https://github.com/KamilSJaron/smudgeplot>`_.
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
264
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
265 **Outputs**
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
266
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
267 - ``smudgeplot.png`` smudgeplot image
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
268 - ``smudgeplot_log10.png`` smudgeplot with log scale
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
269 - ``my_genome_summary.tsv`` summarized genome statistics
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
270 - ``my_genome_verbose.txt`` detailed genome statistics
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
271 - ``my_genome_warnings.txt`` warnings emitted from the Smudgeplot tool
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
272
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
273 **Default operation**
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
274
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
275 If choosing reads as the input, a default kmer counting procedure will be used
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
276 to create a kmer dump. This default process is summarized as follows:
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
277
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
278 - ``jellyfish count -m 21 > counts.jf``
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
279 - ``jellyfish histo counts.jf > counts.hist``
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
280 - ``smudgeplot.py cutoff counts.hist`` to get kmer cutoff values (U & L)
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
281 - ``jellyfish dump -c -L <L> -U <U> counts.jf > dump.jf``
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
282
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
283 The kmer dump file is then used to create a smudgeplot:
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
284
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
285 - ``smudgeplot.py hetkmers -o kmer_pairs dump.jf``
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
286 - ``smudgeplot.py plot kmer_pairs_coverages.tsv -o my_genome``
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
287
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
288 ]]></help>
2
e53b0473d575 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 72c2236cfd6e175ca3b0aed888e3de544d884e3f-dirty"
galaxy-australia
parents: 1
diff changeset
289 <citations>
3
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
290 <citation type="doi">10.1038/s41467-020-14998-3</citation>
2
e53b0473d575 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 72c2236cfd6e175ca3b0aed888e3de544d884e3f-dirty"
galaxy-australia
parents: 1
diff changeset
291 </citations>
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
292 </tool>