# HG changeset patch
# User iuc
# Date 1683217989 0
# Node ID 5a0ddb4dc3a408b786811b527d69f7374a1399d3
# Parent 5e0825476fb75c5c313fd9d03185a9b392547231
planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 77e22c56f8da58853100ef1be59ba8d077ab1bf4
diff -r 5e0825476fb7 -r 5a0ddb4dc3a4 macros.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/macros.xml Thu May 04 16:33:09 2023 +0000
@@ -0,0 +1,48 @@
+
+ 0.2.5
+ 3
+
+
+ smudgeplot
+ meryl
+ kmer-jellyfish
+ tar
+
+
+
+
+ 10.1038/s41467-020-14998-3
+
+
+
+
+ smudgeplots
+
+
+
+
+
+
+
+
+
diff -r 5e0825476fb7 -r 5a0ddb4dc3a4 smudgeplot.xml
--- a/smudgeplot.xml Tue Apr 04 17:23:19 2023 +0000
+++ b/smudgeplot.xml Thu May 04 16:33:09 2023 +0000
@@ -1,19 +1,10 @@
-
+
inference of ploidy and heterozygosity structure using whole genome sequencing
-
- 0.2.5
- 2
+ macros.xml
-
-
- smudgeplots
-
-
-
- smudgeplot
- kmer-jellyfish
-
+
+
2_dump.jf
&& smudgeplot.py hetkmers -o 2_kmer_pairs 2_dump.jf
+
#else
+ #if $file.input.input_mode.selector == 'meryl'
+ tar -zxf '${file.input.input_mode.meryl_database}' -C ./ &&
+ #if $file.input.input_mode.lower_cutoff:
+ L=$file.input.input_mode.lower_cutoff &&
+ #else
+ L=\$(smudgeplot.py cutoff '${file.input.input_mode.meryl_histogram}' L) &&
+ #end if
- ## ~~~~~~~~~~~~~~~~~~~ Use provided kmer dump ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ #if $file.input.input_mode.upper_cutoff:
+ U=$file.input.input_mode.upper_cutoff &&
+ #else
+ U=\$(smudgeplot.py cutoff '${file.input.input_mode.meryl_histogram}' U) &&
+ #end if
- smudgeplot.py hetkmers -o 2_kmer_pairs '$file.input.dump'
+ meryl print less-than \$U greater-than \$L threads=\${GALAXY_SLOTS:-8} memory=\$((\${GALAXY_MEMORY_MB:-8192}/1024)) read-db.meryl | sort > meryl.dump &&
+ smudgeplot.py hetkmers -o 2_kmer_pairs < meryl.dump
+
+ #else
+
+ smudgeplot.py hetkmers -o 2_kmer_pairs '$file.input.input_mode.dump'
+ #end if
#end if
@@ -106,39 +115,31 @@
label="K-mer size"
help="The size of k-mers should be large enough allowing the k-mer to map uniquely to the genome" />
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -229,7 +230,10 @@
-
+
+
+
+
@@ -241,6 +245,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
- 10.1038/s41467-020-14998-3
-
+
diff -r 5e0825476fb7 -r 5a0ddb4dc3a4 test-data/histogram.tabular
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/histogram.tabular Thu May 04 16:33:09 2023 +0000
@@ -0,0 +1,74 @@
+1 114512
+2 3739
+3 1711
+4 296
+5 140
+6 306
+7 91
+8 72
+9 53
+10 36
+11 36
+12 26
+13 22
+14 16
+15 17
+16 17
+17 15
+18 8
+19 8
+20 4
+21 2
+22 32
+23 86
+24 374
+25 753
+26 2
+27 1
+28 9
+31 1
+33 1
+34 1
+37 9
+38 2
+39 3
+40 13
+41 1
+42 18
+43 25
+44 6
+45 100
+46 215
+47 112
+48 380
+49 12
+50 108
+51 316
+61 1
+62 14
+63 3
+64 5
+65 64
+66 55
+67 92
+68 238
+69 312
+70 714
+71 1014
+72 743
+73 1395
+74 185
+75 471
+76 867
+100 17
+101 49
+144 9
+145 12
+147 5
+148 17
+149 46
+150 45
+151 46
+152 50
+155 2
+224 11
diff -r 5e0825476fb7 -r 5a0ddb4dc3a4 test-data/kmerdb.meryldb
Binary file test-data/kmerdb.meryldb has changed
diff -r 5e0825476fb7 -r 5a0ddb4dc3a4 test-data/my_genome_smudgeplot.png
Binary file test-data/my_genome_smudgeplot.png has changed
diff -r 5e0825476fb7 -r 5a0ddb4dc3a4 test-data/my_genome_smudgeplot_02.png
Binary file test-data/my_genome_smudgeplot_02.png has changed
diff -r 5e0825476fb7 -r 5a0ddb4dc3a4 test-data/my_genome_smudgeplot_03.png
Binary file test-data/my_genome_smudgeplot_03.png has changed
diff -r 5e0825476fb7 -r 5a0ddb4dc3a4 test-data/my_genome_smudgeplot_04.png
Binary file test-data/my_genome_smudgeplot_04.png has changed