annotate smudgeplot.xml @ 6:015283de3004 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 4b95b96461684de086fe7e8086af9385f3ed7930
author iuc
date Wed, 20 Dec 2023 18:03:16 +0000
parents 5a0ddb4dc3a4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
1 <tool id="smudgeplot" name="Smudgeplot" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05">
3
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 <macros>
5
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
4 <import>macros.xml</import>
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
5 </macros>
5
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
6 <expand macro="xrefs"/>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
7 <expand macro="requirements"/>
0
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 <command detect_errors="exit_code"><![CDATA[
4
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
10 set -o pipefail;
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
11
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
12 #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
13
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
14 ## ~~~~~~~~~~~~~~~ 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
15
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
16 ## Jellyfish kmer count
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
4
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
19 mkdir -p './files/' &&
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
20 #if $file.input.reads[0].ext.endswith(".gz")
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
21 zcat
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
22 #for $f in $file.input.reads
4
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
23 '$f'
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
24 #end for
4
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
25 | jellyfish count -m $file.input.mer_len -t \${GALAXY_SLOTS:-8} -s 1M -o 1_counts.jf -C /dev/stdin
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
26 #else
4
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
27 jellyfish count -m $file.input.mer_len -t \${GALAXY_SLOTS:-8} -s 1M -o 1_counts.jf -C
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
28 #for $f in $file.input.reads
4
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
29 '$f'
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
30 #end for
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
31 #end if
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
32
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
33 && 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
34
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
35 ## 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
36 ## ---------------------------------------------------------------------
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
37
4
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
38 #if $file.input.lower_cutoff:
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
39 && 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
40 #else
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
41 && 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
42 #end if
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
43
4
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
44 #if $file.input.upper_cutoff:
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
45 && 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
46 #else
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
47 && 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
48 #end if
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 ## ---------------------------------------------------------------------
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
51 ## Dump and extract coverage
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
52
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
53 && 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
54 && 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
55 && 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
56
5
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
57
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
58 #else
5
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
59 #if $file.input.input_mode.selector == 'meryl'
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
60 tar -zxf '${file.input.input_mode.meryl_database}' -C ./ &&
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
61 #if $file.input.input_mode.lower_cutoff:
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
62 L=$file.input.input_mode.lower_cutoff &&
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
63 #else
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
64 L=\$(smudgeplot.py cutoff '${file.input.input_mode.meryl_histogram}' L) &&
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
65 #end if
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
66
5
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
67 #if $file.input.input_mode.upper_cutoff:
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
68 U=$file.input.input_mode.upper_cutoff &&
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
69 #else
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
70 U=\$(smudgeplot.py cutoff '${file.input.input_mode.meryl_histogram}' U) &&
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
71 #end if
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
72
5
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
73 meryl print less-than \$U greater-than \$L threads=\${GALAXY_SLOTS:-8} memory=\$((\${GALAXY_MEMORY_MB:-8192}/1024)) read-db.meryl | sort > meryl.dump &&
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
74 smudgeplot.py hetkmers -o 2_kmer_pairs < meryl.dump
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
75
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
76 #else
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
77
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
78 smudgeplot.py hetkmers -o 2_kmer_pairs '$file.input.input_mode.dump'
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
79 #end if
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
80
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
81 #end if
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
82
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 ## Plot
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
85
4
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
86 && smudgeplot.py plot $homozygous 2_kmer_pairs_coverages.tsv -o my_genome
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
87
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
88 ]]></command>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
89
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
90 <inputs>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
91 <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
92 <conditional name="input">
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
93 <param
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
94 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
95 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
96 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
97 >
3
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
98 <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
99 <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
100 </param>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
101
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
102 <when value="reads">
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
103 <param
3
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
104 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
105 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
106 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
107 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
108 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
109 />
4
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
110
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
111 <param argument="--mer-len"
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
112 type="integer"
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
113 min="1"
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
114 value="21"
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
115 label="K-mer size"
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
116 help="The size of k-mers should be large enough allowing the k-mer to map uniquely to the genome" />
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
117
5
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
118 <expand macro="cutoff_macro"/>
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
119
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
120 </when>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
121
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
122 <when value="dump">
5
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
123 <conditional name="input_mode">
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
124 <param name="selector" type="select" label="Input mode">
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
125 <option value="default">Default k-mer dump dataset</option>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
126 <option value="meryl">Meryl database</option>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
127 </param>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
128 <when value="default">
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
129 <param
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
130 name="dump" type="data" format="txt"
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
131 label="Kmer dump"
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
132 help="Upload your own Kmer dump file created with the Jellyfish or KMC tool.
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
133 This enables control over kmer-counting parameters."
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
134 />
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
135 </when>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
136 <when value="meryl">
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
137 <param argument="meryl_histogram" type="data" format="tabular" label="Meryl histogram"/>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
138 <param argument="meryl_database" type="data" format="meryldb" label="Meryl database"/>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
139 <expand macro="cutoff_macro"/>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
140 </when>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
141 </conditional>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
142
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
143 </when>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
144 </conditional>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
145 </section>
4
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
146 <param argument="--homozygous" type="boolean" truevalue="--homozygous" falsevalue="" checked="false" label="Homozygous" help="Assume no heterozygosity in the genome - plotting a paralog structure." />
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
147
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
148 <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
149 <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
150 <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
151 </inputs>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
152
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
153 <outputs>
3
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
154 <data
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
155 name="smudgeplot" format="png"
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
156 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
157 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
158 />
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
159 <data
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
160 name="smudgeplot_log" format="png"
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
161 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
162 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
163 />
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
164 <data
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
165 name="genome_summary" format="tabular"
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
166 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
167 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
168 >
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
169 <filter>table_output</filter>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
170 </data>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
171 <data
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
172 name="genome_summary_verbose" format="txt"
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
173 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
174 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
175 >
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
176 <filter>verbose_output</filter>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
177 </data>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
178 <data
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
179 name="genome_warnings" format="txt"
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
180 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
181 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
182 >
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
183 <filter>warnings_output</filter>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
184 </data>
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
185 </outputs>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
186
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
187 <tests>
3
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
188 <!-- Standard run -->
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
189 <test expect_num_outputs="2">
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
190 <param name="input_select" value="reads"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
191 <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
192 <param name="lower_cutoff" value="2"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
193 <param name="upper_cutoff" value="25"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
194 <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
195 </test>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
196 <!-- Standard run with gzipped input -->
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
197 <test expect_num_outputs="2">
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
198 <param name="input_select" value="reads"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
199 <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
200 <param name="lower_cutoff" value="2"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
201 <param name="upper_cutoff" value="25"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
202 <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
203 </test>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
204 <!-- Multiple input read files -->
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
205 <test expect_num_outputs="2">
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
206 <param name="input_select" value="reads"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
207 <param name="lower_cutoff" value="2"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
208 <param name="upper_cutoff" value="80"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
209 <param
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
210 name="reads"
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
211 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
212 ftype="fasta"
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
213 />
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
214 <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
215 </test>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
216 <!-- With additional outputs-->
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
217 <test expect_num_outputs="5">
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
218 <param name="input_select" value="reads"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
219 <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
220 <param name="lower_cutoff" value="2"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
221 <param name="upper_cutoff" value="25"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
222 <param name="table_output" value="true"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
223 <param name="verbose_output" value="true"/>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
224 <param name="warnings_output" value="true"/>
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 <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
227 <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
228 <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
229 </test>
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
230 <!-- K-mer dump input -->
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
231 <test expect_num_outputs="2">
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
232 <param name="input_select" value="dump"/>
5
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
233 <conditional name="input_mode">
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
234 <param name="selector" value="default"/>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
235 <param name="dump" value="dump.jf" ftype="txt"/>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
236 </conditional>
3
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
237 <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
238 </test>
4
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
239 <!-- Standard run without specifying cutoffs and compressed file -->
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
240 <test expect_num_outputs="2">
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
241 <param name="input_select" value="reads"/>
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
242 <param name="reads" value="test_reads_4.fasta.gz,test_reads_5.fasta.gz"/>
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
243 <output name="smudgeplot" ftype="png" file="my_genome_smudgeplot_02.png" compare="sim_size"/>
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
244 <assert_stdout>
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
245 <has_text text="Dump with cutoffs L=10, U=70" />
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
246 </assert_stdout>
5e0825476fb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 72ae2e05f35098c4cb6dd4f038bff07fd36917ed
iuc
parents: 3
diff changeset
247 </test>
5
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
248 <!-- K-mer dump meryl input -->
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
249 <test expect_num_outputs="2">
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
250 <param name="input_select" value="dump"/>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
251 <conditional name="input_mode">
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
252 <param name="selector" value="meryl"/>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
253 <param name="meryl_histogram" value="histogram.tabular" ftype="tabular"/>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
254 <param name="meryl_database" value="kmerdb.meryldb" ftype="meryldb"/>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
255 </conditional>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
256 <output name="smudgeplot" ftype="png" file="my_genome_smudgeplot_03.png" compare="sim_size"/>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
257 </test>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
258 <!-- K-mer dump meryl input with specific cutoff-->
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
259 <test expect_num_outputs="2">
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
260 <param name="input_select" value="dump"/>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
261 <conditional name="input_mode">
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
262 <param name="selector" value="meryl"/>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
263 <param name="meryl_histogram" value="histogram.tabular" ftype="tabular"/>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
264 <param name="meryl_database" value="kmerdb.meryldb" ftype="meryldb"/>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
265 <param name="lower_cutoff" value="2"/>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
266 <param name="upper_cutoff" value="2500000"/>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
267 </conditional>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
268 <output name="smudgeplot" ftype="png" file="my_genome_smudgeplot_04.png" compare="sim_size"/>
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
269 </test>
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
270 </tests>
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
271
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
272 <help><![CDATA[
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
273
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
274 .. class:: infomark
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
275
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
276 **What it does**
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 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
279
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
280 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
281
3
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
282 .. 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
283 :height: 520
3
24e471d13fe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit cbe90253166d9908b68beb36b9488478178d225b
iuc
parents: 2
diff changeset
284 :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
285
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
286 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
287
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
288 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
289 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
290
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
291 **Inputs**
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
292
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
293 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
294
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
295 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
296
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
297 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
298 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
299 (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
300 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
301 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
302
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
303 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
304
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
305 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
306 `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
307
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
308 **Outputs**
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
309
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
310 - ``smudgeplot.png`` smudgeplot image
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
311 - ``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
312 - ``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
313 - ``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
314 - ``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
315
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
316 **Default operation**
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
317
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
318 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
319 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
320
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
321 - ``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
322 - ``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
323 - ``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
324 - ``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
325
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
326 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
327
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
328 - ``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
329 - ``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
330
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
331 ]]></help>
5
5a0ddb4dc3a4 planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
iuc
parents: 4
diff changeset
332 <expand macro="citations"/>
0
19462781bfe4 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7a48d3cb54e682fb7dad612417391f327288dd0a-dirty"
galaxy-australia
parents:
diff changeset
333 </tool>