Repository 'probecoverage'
hg clone https://toolshed.g2.bx.psu.edu/repos/artbio/probecoverage

Changeset 4:daec4df60281 (2017-09-24)
Previous changeset 3:4f744d3aaf0b (2017-09-24) Next changeset 5:2ec6529e555d (2018-06-02)
Commit message:
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/probecoverage commit 2b4a222804a40730abdaec6fb6aefc2295e89e11
modified:
probecoverage.r
probecoverage.xml
test-data/graph_pysam.pdf
b
diff -r 4f744d3aaf0b -r daec4df60281 probecoverage.r
--- 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))]) {
b
diff -r 4f744d3aaf0b -r daec4df60281 probecoverage.xml
--- a/probecoverage.xml Sun Sep 24 14:47:11 2017 -0400
+++ b/probecoverage.xml Sun Sep 24 18:10:12 2017 -0400
b
@@ -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>
b
diff -r 4f744d3aaf0b -r daec4df60281 test-data/graph_pysam.pdf
b
Binary file test-data/graph_pysam.pdf has changed