# HG changeset patch # User iuc # Date 1615314307 0 # Node ID 29151e779524e717b997a405d7d1022227dee473 # Parent 8ec117da1796815565c80eb4eae59e245d4d02bd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/purge_dups commit 6b395e598c4a02bb193895da5a2d9dd4240b1848" diff -r 8ec117da1796 -r 29151e779524 purge_dups.xml --- a/purge_dups.xml Fri Feb 05 17:52:51 2021 +0000 +++ b/purge_dups.xml Tue Mar 09 18:25:07 2021 +0000 @@ -1,14 +1,17 @@ - - and overlaps in an assembly based on read depth + + and haplotigs in an assembly based on read depth (purge_dups) 1.2.5 - 0 + 1 purge_dups ./input.paf.gz && + #end if purge_dups #if $function_select.coverage: -c '$function_select.coverage' @@ -43,7 +46,11 @@ #if $function_select.max_extend: -E $function_select.max_extend #end if - '$function_select.input' > dups.bed 2> purge_dups.log + #if $function_select.input.is_of_type("paf"): + 'input.paf.gz' > dups.bed 2> purge_dups.log + #else: + '${function_select.input}' > dups.bed 2> purge_dups.log + #end if #else if $function_select.functions == "split_fa": split_fa #if $function_select.split: @@ -51,6 +58,9 @@ #end if '$function_select.input' > split.fasta #else if $function_select.functions == "pbcstat": + #if $function_select.input.is_of_type("paf"): + gzip -c '$function_select.input' > ./input.paf.gz && + #end if pbcstat #if $function_select.max_cov: -M $function_select.max_cov @@ -65,7 +75,11 @@ -l $function_select.flank #end if $function_select.primary_alignments - '$function_select.input' + #if $function_select.input.is_of_type("paf"): + 'input.paf.gz' + #else: + '${function_select.input}' + #end if #else if $function_select.functions == "ngscstat": ngscstat #if $function_select.min_align_qual: @@ -123,7 +137,7 @@ - + @@ -149,7 +163,7 @@ - + @@ -253,6 +267,27 @@ + + + + + + + + + + + + + + + + + + + + + @@ -276,6 +311,20 @@ + + + + + + + + + + + + + + diff -r 8ec117da1796 -r 29151e779524 test-data/test.paf.gz Binary file test-data/test.paf.gz has changed