changeset 4:daec4df60281 draft

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/probecoverage commit 2b4a222804a40730abdaec6fb6aefc2295e89e11
author artbio
date Sun, 24 Sep 2017 18:10:12 -0400
parents 4f744d3aaf0b
children 2ec6529e555d
files probecoverage.r probecoverage.xml test-data/graph_pysam.pdf
diffstat 3 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/probecoverage.r	Sun Sep 24 14:47:11 2017 -0400
+++ b/probecoverage.r	Sun Sep 24 18:10:12 2017 -0400
@@ -40,7 +40,12 @@
 
 ## end of function
 ## let's do a dataframe before plotting
-maxdepth <- trunc(max(Table[,5:length(Table)]/(Table$end-Table$start))) + 20
+if (args$method == 'bedtools') {
+    maxdepth <- trunc(max(Table[,5:length(Table)]/(Table$end-Table$start))) + 20
+    } else {
+    maxdepth <- trunc(max(Table[,5:length(Table)])) + 20
+    }
+
 graphpoints <- data.frame(1:maxdepth)
 i <- 5
 for (colonne in colnames(Table)[5:length(colnames(Table))]) {
--- a/probecoverage.xml	Sun Sep 24 14:47:11 2017 -0400
+++ b/probecoverage.xml	Sun Sep 24 18:10:12 2017 -0400
@@ -1,4 +1,4 @@
-<tool id="probecoverage" name="Probe Coverage" version="0.4.0">
+<tool id="probecoverage" name="Probe Coverage" version="0.4.1">
   <description></description>
   <requirements>
         <requirement type="package" version="1.4.1">samtools</requirement>
Binary file test-data/graph_pysam.pdf has changed