diff readmap.xml @ 1:e4874d1ae69d draft

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_readmap_and_size_histograms commit 450d1b3d954cc7d96e53652d468811546951f995
author drosofff
date Thu, 26 Nov 2015 11:56:07 -0500
parents ac7d8e55bb67
children ebfc73c72652
line wrap: on
line diff
--- a/readmap.xml	Wed Oct 21 11:13:18 2015 -0400
+++ b/readmap.xml	Thu Nov 26 11:56:07 2015 -0500
@@ -1,4 +1,4 @@
-<tool id="Readmap" name="Generate readmap and histograms from alignment files" version="1.0.4">
+<tool id="Readmap" name="Generate readmap and histograms from alignment files" version="1.0.5">
   <description>from sRbowtie aligment</description>
   <requirements>
         <requirement type="package" version="0.12.7">bowtie</requirement>
@@ -157,8 +157,10 @@
       ## GRAPHS
 
       if (n_genes > 7) {page_height_simple = 11.69; page_height_combi=11.69; rows_per_page=${rows_per_page}; extrarow=0 } else {
-                         rows_per_page= n_genes; page_height_simple = 11.69/n_genes/4; page_height_combi=11.69/(n_genes*2); extrarow=1 }
-      if (n_samples > 4) {page_width = 8.2677*n_samples/4} else {page_width = 8.2677*n_samples/3} # to test
+                         rows_per_page= 8; page_height_simple = 11.69; page_height_combi=11.69; extrarow=0 }
+                         ## rows_per_page= 8; page_height_simple = 11.69/7*n_genes; page_height_combi=11.69/9*(n_genes*2); extrarow=0 }
+                         ## rows_per_page= n_genes; page_height_simple = 11.69/n_genes/4; page_height_combi=11.69/(n_genes*2); extrarow=1 }
+     if (n_samples > 4) {page_width = 8.2677*n_samples/4} else {page_width = 8.2677*n_samples/3} # to test
 
       pdf(file="${readmap_PDF}", paper="special", height=page_height_simple, width=page_width)
       for (i in seq(1,n_genes,rows_per_page)) {