# HG changeset patch
# User iuc
# Date 1657639411 0
# Node ID f8113c25bc6be99ac3d682f457b4b2546c1223d3
# Parent 589078edd230eb1fec0774689042ad72fb55bf8d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/merqury commit dab8c5d9603de18548f1a5bd973ffa92b016936f
diff -r 589078edd230 -r f8113c25bc6b merqury.xml
--- a/merqury.xml Mon Apr 25 11:20:41 2022 +0000
+++ b/merqury.xml Tue Jul 12 15:23:31 2022 +0000
@@ -16,8 +16,8 @@
&& gunzip -c $mode.assembly_options.assembly_01 > assembly.fasta
#else
&& ln -s '$mode.assembly_options.assembly_01' assembly.fasta
- #end if
- && merqury.sh read-db.meryl assembly.fasta ${label}
+ #end if
+ && merqury.sh read-db.meryl assembly.fasta ${label}
#if 'log' in $output_selector
&> $log_file
#end if
@@ -28,12 +28,12 @@
&& gunzip -c $mode.assembly_options.assembly_01 > assembly_01.fasta
#else
&& ln -s '$mode.assembly_options.assembly_01' assembly_01.fasta
- #end if
+ #end if
#if $mode.assembly_options.assembly_02.ext.endswith(".gz")
&& gunzip -c $mode.assembly_options.assembly_02 > assembly_02.fasta
#else
&& ln -s '$mode.assembly_options.assembly_02' assembly_02.fasta
- #end if
+ #end if
&& merqury.sh read-db.meryl assembly_01.fasta assembly_02.fasta ${label}
#if 'log' in $output_selector
&> $log_file
@@ -51,7 +51,7 @@
&& gunzip -c $mode.assembly_options.assembly_01 > assembly.fasta
#else
&& ln -s '$mode.assembly_options.assembly_01' assembly.fasta
- #end if
+ #end if
&& merqury.sh read-db.meryl pat.meryl mat.meryl assembly.fasta ${label}
#if 'log' in $output_selector
&> $log_file
@@ -63,7 +63,7 @@
&& gunzip -c $mode.assembly_options.assembly_01 > assembly_01.fasta
#else
&& ln -s '$mode.assembly_options.assembly_01' assembly_01.fasta
- #end if
+ #end if
#if $mode.assembly_options.assembly_02.ext.endswith(".gz")
&& gunzip -c $mode.assembly_options.assembly_02 > assembly_02.fasta
#else
@@ -77,18 +77,25 @@
&& find . -maxdepth 1 -name 'assembly_only*' -type f -print0 | xargs -0r mv -t output_files
#end if
#end if
-
+
+ #if $output_add_headers:
+ && sed -i '1s/^/assembly\tk-mer set\tsolid k-mers in assembly\tsolid k-mers in reads\tcompleteness %\n/'
+ 'output_files/${label}.completeness.stats'
+ && sed -i '1s/^/assembly\tunique k-mers\tcommon k-mers\tQV\terror rate\n/'
+ 'output_files/${label}.qv'
+ #end if
+
]]>
-
Two assemblies (diploid)
-
-
-
+ label="Paternal hap-mer database"
+ help="K-mer counts of the paternal haplotype (meryldb)."/>
Two assemblies (diploid)
-
-
-
-
+
@@ -159,6 +166,7 @@
+
@@ -191,7 +199,7 @@
-
+
@@ -205,12 +213,11 @@
-
-
-
+
+
@@ -220,35 +227,34 @@
-
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -258,7 +264,10 @@
+
@@ -277,7 +286,7 @@
-
+
@@ -293,8 +302,10 @@
+
@@ -337,6 +348,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 589078edd230 -r f8113c25bc6b test-data/output_05_log.txt
--- a/test-data/output_05_log.txt Mon Apr 25 11:20:41 2022 +0000
+++ b/test-data/output_05_log.txt Tue Jul 12 15:23:31 2022 +0000
@@ -37,7 +37,7 @@
Result saved as output_05.assembly_01.100_20000.phased_block.sizes
# Plot output_05.assembly_01.100_20000.phased_block.bed
-Rscript /home/laptop/miniconda3/envs/mulled-v1-df114ce4641e6c1c408ddc8230d91a93fc95c8ba1dfeff221f556e667abb43c0/share/merqury/plot/plot_block_N.R -b output_05.assembly_01.100_20000.phased_block.sizes -c output_05.assembly_01.contig.sizes -o output_05.assembly_01
+Rscript /usr/local/share/merqury/plot/plot_block_N.R -b output_05.assembly_01.100_20000.phased_block.sizes -c output_05.assembly_01.contig.sizes -o output_05.assembly_01
Loading required package: argparse
Loading required package: ggplot2
Loading required package: scales
@@ -49,7 +49,7 @@
Result saved as output_05.assembly_02.100_20000.phased_block.sizes
# Plot output_05.assembly_02.100_20000.phased_block.bed
-Rscript /home/laptop/miniconda3/envs/mulled-v1-df114ce4641e6c1c408ddc8230d91a93fc95c8ba1dfeff221f556e667abb43c0/share/merqury/plot/plot_block_N.R -b output_05.assembly_02.100_20000.phased_block.sizes -c output_05.assembly_02.contig.sizes -o output_05.assembly_02
+Rscript /usr/local/share/merqury/plot/plot_block_N.R -b output_05.assembly_02.100_20000.phased_block.sizes -c output_05.assembly_02.contig.sizes -o output_05.assembly_02
Loading required package: argparse
Loading required package: ggplot2
Loading required package: scales
diff -r 589078edd230 -r f8113c25bc6b test-data/output_06.completeness.stats.tabular
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/output_06.completeness.stats.tabular Tue Jul 12 15:23:31 2022 +0000
@@ -0,0 +1,2 @@
+assembly k-mer set solid k-mers in assembly solid k-mers in reads completeness %
+assembly all 32353 32353 100
diff -r 589078edd230 -r f8113c25bc6b test-data/output_06_qv.tabular
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/output_06_qv.tabular Tue Jul 12 15:23:31 2022 +0000
@@ -0,0 +1,2 @@
+assembly unique k-mers common k-mers QV error rate
+assembly 0 1037953