diff --git a/tools/gatk/analyze_covariates.xml b/tools/gatk/analyze_covariates.xml
index 93732666d0f..01855e7a4a5 100644
--- a/tools/gatk/analyze_covariates.xml
+++ b/tools/gatk/analyze_covariates.xml
@@ -74,7 +74,7 @@ GenomeAnalysisTK: AnalyzeCovariates accepts an recal CSV file.
**Outputs**
-The output is in and HTML file with links to PDF graphs and a data files.
+The output is in CSV and HTML files with links to PDF graphs and a data files.
Go `here <http://www.broadinstitute.org/gsa/wiki/index.php/Input_files_for_the_GATK>`_ for details on GATK file formats.
diff --git a/tools/gatk/count_covariates.xml b/tools/gatk/count_covariates.xml
index 1e044acc240..c8df346894f 100644
--- a/tools/gatk/count_covariates.xml
+++ b/tools/gatk/count_covariates.xml
@@ -2,12 +2,15 @@
on BAM files
gatk
+ samtools
gatk_wrapper.py
--max_jvm_heap_fraction "1"
--stdout "${output_log}"
-d "-I" "${reference_source.input_bam}" "${reference_source.input_bam.ext}" "gatk_input"
- -d "" "${reference_source.input_bam.metadata.bam_index}" "bam_index" "gatk_input" ##hardcode galaxy ext type as bam_index
+ #if str( $reference_source.input_bam.metadata.bam_index ) != "None":
+ -d "" "${reference_source.input_bam.metadata.bam_index}" "bam_index" "gatk_input" ##hardcode galaxy ext type as bam_index
+ #end if
-p 'java
-jar "${GALAXY_DATA_INDEX_DIR}/shared/jars/gatk/GenomeAnalysisTK.jar"
-T "CountCovariates"
@@ -143,7 +146,6 @@
-
@@ -155,7 +157,6 @@
-
diff --git a/tools/gatk/depth_of_coverage.xml b/tools/gatk/depth_of_coverage.xml
index c4fa518aa86..85fb0a46e76 100644
--- a/tools/gatk/depth_of_coverage.xml
+++ b/tools/gatk/depth_of_coverage.xml
@@ -2,13 +2,16 @@
on BAM files
gatk
+ samtools
gatk_wrapper.py
--max_jvm_heap_fraction "1"
--stdout "${output_log}"
#for $i, $input_bam in enumerate( $reference_source.input_bams ):
-d "-I" "${input_bam.input_bam}" "${input_bam.input_bam.ext}" "gatk_input_${i}"
- -d "" "${input_bam.input_bam.metadata.bam_index}" "bam_index" "gatk_input_${i}" ##hardcode galaxy ext type as bam_index
+ #if str( $input_bam.input_bam.metadata.bam_index ) != "None":
+ -d "" "${input_bam.input_bam.metadata.bam_index}" "bam_index" "gatk_input_${i}" ##hardcode galaxy ext type as bam_index
+ #end if
#end for
-p 'java
-jar "${GALAXY_DATA_INDEX_DIR}/shared/jars/gatk/GenomeAnalysisTK.jar"
@@ -190,7 +193,6 @@
-
@@ -204,7 +206,6 @@
-
diff --git a/tools/gatk/gatk_wrapper.py b/tools/gatk/gatk_wrapper.py
index b6d2f3f508f..17e8379811d 100644
--- a/tools/gatk/gatk_wrapper.py
+++ b/tools/gatk/gatk_wrapper.py
@@ -43,6 +43,23 @@ def html_report_from_directory( html_out, dir ):
html_out.write( '%s\n' % ( fname, fname ) )
html_out.write( '\n