diff --git a/tools/rseqc/FPKM_count.xml b/tools/rseqc/FPKM_count.xml
index 63a2c84784a..988a2ed46ab 100644
--- a/tools/rseqc/FPKM_count.xml
+++ b/tools/rseqc/FPKM_count.xml
@@ -3,15 +3,10 @@
rseqc_macros.xml
-
-
-
-
-
-
+
+
-
-
-
-
-
-
+
+
+
+
@@ -49,18 +43,16 @@
-
-
-
+
-
+
@@ -69,11 +61,10 @@
-
+
-
-
-
-
+
diff --git a/tools/rseqc/RNA_fragment_size.xml b/tools/rseqc/RNA_fragment_size.xml
index 1af4dd8f70f..d90ebc09428 100644
--- a/tools/rseqc/RNA_fragment_size.xml
+++ b/tools/rseqc/RNA_fragment_size.xml
@@ -6,49 +6,41 @@
rseqc_macros.xml
-
-
-
-
-
+
+
-
'${output}'
]]>
-
-
-
-
-
+
+
+
+
-
-
+
-
-
-
+
+
-
-
-
-
+
diff --git a/tools/rseqc/RPKM_saturation.xml b/tools/rseqc/RPKM_saturation.xml
index d81207795f1..381b6c53de5 100644
--- a/tools/rseqc/RPKM_saturation.xml
+++ b/tools/rseqc/RPKM_saturation.xml
@@ -4,13 +4,9 @@
rseqc_macros.xml
-
-
-
-
-
+
+
-
-
-
-
-
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
+
-
+
-
-
+
-
+
-
+
-
-
-
-
+
diff --git a/tools/rseqc/bam2wig.xml b/tools/rseqc/bam2wig.xml
index 62fdf9035a3..3dfa23e5332 100644
--- a/tools/rseqc/bam2wig.xml
+++ b/tools/rseqc/bam2wig.xml
@@ -1,19 +1,14 @@
- converts all types of RNA-seq data from .bam to .wig
+ converts all types of RNA-seq data from BAM to Wiggle
rseqc_macros.xml
-
-
-
-
-
-
+
+
-
-
+
-
+
@@ -57,9 +52,8 @@
-
+
-
strand_type['strand_specific'] == 'none'
@@ -71,21 +65,20 @@
strand_type['strand_specific'] != 'none'
-
-
+
-
+
-
+
@@ -93,7 +86,7 @@
-
+
@@ -101,7 +94,6 @@
-
-
-
-
+
diff --git a/tools/rseqc/bam_stat.xml b/tools/rseqc/bam_stat.xml
index 39370b9ee7d..4530c029b98 100644
--- a/tools/rseqc/bam_stat.xml
+++ b/tools/rseqc/bam_stat.xml
@@ -5,37 +5,28 @@
rseqc_macros.xml
-
-
-
-
-
-
+
+
-
'${output}'
]]>
-
-
-
+
+
-
-
-
-
+
+
-
-
-
+
diff --git a/tools/rseqc/clipping_profile.xml b/tools/rseqc/clipping_profile.xml
index 18c99a6f7a8..e91f516401b 100644
--- a/tools/rseqc/clipping_profile.xml
+++ b/tools/rseqc/clipping_profile.xml
@@ -5,49 +5,40 @@
rseqc_macros.xml
-
-
-
-
-
-
+
+
-
-
-
-
-
-
+
+
+
+
-
-
-
-
-
+
+
+
-
-
-
-
+
+
+
+
-
+
-
-
-
-
+
diff --git a/tools/rseqc/deletion_profile.xml b/tools/rseqc/deletion_profile.xml
index 8b8f5886b81..b3b38429a0a 100644
--- a/tools/rseqc/deletion_profile.xml
+++ b/tools/rseqc/deletion_profile.xml
@@ -5,46 +5,37 @@
rseqc_macros.xml
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
+
+
+
+
+
-
-
-
-
+
+
+
-
-
-
-
-
-
+
+
+
+
+
-
+
-
-
-
-
+
diff --git a/tools/rseqc/geneBody_coverage.xml b/tools/rseqc/geneBody_coverage.xml
index 765dcb14fa0..00dca20c96b 100644
--- a/tools/rseqc/geneBody_coverage.xml
+++ b/tools/rseqc/geneBody_coverage.xml
@@ -4,8 +4,8 @@
rseqc_macros.xml
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- batch_mode['batch_mode_selector'] == 'merge' and len(inputs) >= 3
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ batch_mode['batch_mode_selector'] == 'merge' and len(inputs) >= 3
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
diff --git a/tools/rseqc/infer_experiment.xml b/tools/rseqc/infer_experiment.xml
index 27132941e57..c5a1588db89 100644
--- a/tools/rseqc/infer_experiment.xml
+++ b/tools/rseqc/infer_experiment.xml
@@ -3,15 +3,10 @@
rseqc_macros.xml
-
-
-
-
-
-
+
+
-
'${output}'
]]>
-
-
-
-
-
+
+
+
+
-
-
+
-
-
+
-
-
-
-
+
diff --git a/tools/rseqc/inner_distance.xml b/tools/rseqc/inner_distance.xml
index 952511c96d2..5a9dfe613ba 100644
--- a/tools/rseqc/inner_distance.xml
+++ b/tools/rseqc/inner_distance.xml
@@ -3,15 +3,10 @@
rseqc_macros.xml
-
-
-
-
-
-
+
+
-
-
-
-
-
+
+
+
-
-
+
+
-
-
-
+
+
-
-
+
-
-
-
+
+
+
-
+
-
-
-
-
+
diff --git a/tools/rseqc/insertion_profile.xml b/tools/rseqc/insertion_profile.xml
index 050ef03d57b..fa420d94f3e 100644
--- a/tools/rseqc/insertion_profile.xml
+++ b/tools/rseqc/insertion_profile.xml
@@ -5,44 +5,35 @@
rseqc_macros.xml
-
-
-
-
-
-
+
+
-
-
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
-
-
-
-
-
+
+
+
+
-
+
-
-
-
-
+
diff --git a/tools/rseqc/junction_annotation.xml b/tools/rseqc/junction_annotation.xml
index 7e275c66d27..6eacdd1e987 100644
--- a/tools/rseqc/junction_annotation.xml
+++ b/tools/rseqc/junction_annotation.xml
@@ -3,9 +3,7 @@
rseqc_macros.xml
-
-
r-base
-
-
-
+
-
>(tee -a stats.txt >&2)
]]>
-
-
-
-
-
-
+
+
+
+
+
-
-
-
+
+
-
+
-
-
-
+
+
-
+
-
-
-
-
+
+
+
+
-
-
-
-
+
diff --git a/tools/rseqc/junction_saturation.xml b/tools/rseqc/junction_saturation.xml
index d9e897d63ac..90f78cda7eb 100644
--- a/tools/rseqc/junction_saturation.xml
+++ b/tools/rseqc/junction_saturation.xml
@@ -4,8 +4,8 @@
rseqc_macros.xml
-
-
+
+
-
-
-
-
-
-
+
+
+
+
+
@@ -37,40 +36,37 @@
-
+
-
+
-
+
-
+
-
-
-
-
+
+
-
+
-
+
-
-
-
-
+
diff --git a/tools/rseqc/mismatch_profile.xml b/tools/rseqc/mismatch_profile.xml
index f884f4cb7ce..744299077ad 100644
--- a/tools/rseqc/mismatch_profile.xml
+++ b/tools/rseqc/mismatch_profile.xml
@@ -6,44 +6,36 @@
rseqc_macros.xml
-
-
-
-
-
+
+
-
-
-
-
-
-
-
+
+
+
+
+
-
-
-
-
+
+
+
-
-
+
-
-
-
+
+
+
-
-
-
-
+
diff --git a/tools/rseqc/read_GC.xml b/tools/rseqc/read_GC.xml
index 50836c7987c..eb7f8dc877e 100644
--- a/tools/rseqc/read_GC.xml
+++ b/tools/rseqc/read_GC.xml
@@ -4,13 +4,9 @@
rseqc_macros.xml
-
-
-
-
-
+
+
-
-
-
-
-
+
+
+
-
-
-
-
-
+
+
+
-
-
+
+
-
-
-
-
+
diff --git a/tools/rseqc/read_NVC.xml b/tools/rseqc/read_NVC.xml
index 0b164aff041..a532d3d8b50 100644
--- a/tools/rseqc/read_NVC.xml
+++ b/tools/rseqc/read_NVC.xml
@@ -4,13 +4,9 @@
rseqc_macros.xml
-
-
-
-
-
+
+
-
-
-
+
-
-
+
+
-
-
-
-
+
+
+
-
-
-
-
+
+
+
-
-
+
+
-
-
-
-
+
diff --git a/tools/rseqc/read_distribution.xml b/tools/rseqc/read_distribution.xml
index 8dc1a44c0ee..102a3c48c75 100644
--- a/tools/rseqc/read_distribution.xml
+++ b/tools/rseqc/read_distribution.xml
@@ -4,36 +4,28 @@
rseqc_macros.xml
-
-
-
-
-
+
+
-
'${output}'
]]>
-
-
-
+
+
-
-
+
-
-
+
-
-
-
-
+
diff --git a/tools/rseqc/read_hexamer.xml b/tools/rseqc/read_hexamer.xml
index 3a700dfcfbd..3255284b575 100644
--- a/tools/rseqc/read_hexamer.xml
+++ b/tools/rseqc/read_hexamer.xml
@@ -6,12 +6,9 @@
rseqc_macros.xml
-
-
-
-
+
+
-
'${output}'
]]>
-
-
-
-
+
+
+
-
-
+
-
-
+
-
+
-
+
-
+
@@ -99,7 +93,6 @@
-->
-
-
-
-
+
diff --git a/tools/rseqc/read_quality.xml b/tools/rseqc/read_quality.xml
index 33a86ac2d6b..db5ac95384c 100644
--- a/tools/rseqc/read_quality.xml
+++ b/tools/rseqc/read_quality.xml
@@ -11,11 +11,8 @@
-->
r-base
-
-
-
+
-
-
-
+
-
-
+
+
-
-
-
-
+
+
+
-
-
+
-
+
-
-
+
+
-
-
-
-
+
diff --git a/tools/rseqc/rseqc_macros.xml b/tools/rseqc/rseqc_macros.xml
index 8109a98e4e1..77c2e857b05 100644
--- a/tools/rseqc/rseqc_macros.xml
+++ b/tools/rseqc/rseqc_macros.xml
@@ -15,52 +15,41 @@
-
-
+
+
-
-
-
-
-
+
-
-
-
-
-
+
-
-
@@ -69,21 +58,20 @@
-
-
-
+
+
+
-
-
-
+
+
+
-
+
-
@@ -91,34 +79,26 @@
-
+
-
+
-
-
+
-
-
-
-
+
-
-
+
-
rscript_output
-
-
-
-----
@@ -158,7 +136,6 @@ The RSeQC package is licensed under the GNU GPL v3 license.
-
10.1093/bioinformatics/bts356
diff --git a/tools/rseqc/tin.xml b/tools/rseqc/tin.xml
index 66e1fdff27a..0c7c9c33010 100644
--- a/tools/rseqc/tin.xml
+++ b/tools/rseqc/tin.xml
@@ -6,13 +6,9 @@
rseqc_macros.xml
-
-
-
-
-
+
+
-
-
-
-
-
-
+
+
+
+
-
-
-
+
+
-
@@ -65,7 +50,6 @@
-
-
-
-
+