diff --git a/public/java/src/org/broadinstitute/sting/gatk/report/GATKReport.java b/public/java/src/org/broadinstitute/sting/gatk/report/GATKReport.java
index 7edadfc4b..bec1ea543 100755
--- a/public/java/src/org/broadinstitute/sting/gatk/report/GATKReport.java
+++ b/public/java/src/org/broadinstitute/sting/gatk/report/GATKReport.java
@@ -283,6 +283,41 @@ public class GATKReport {
return output;
}
+ /**
+ * The constructor for a simplified GATK Report. Simplified GATK report are designed for reports that do not need
+ * the advanced functionality of a full GATK Report.
+ *
+ * A simple GATK Report consists of:
+ *
+ * - A single table
+ * - No primary key ( it is hidden )
+ *
+ * Optional:
+ * - Only untyped columns. As long as the data is an Object, it will be accepted.
+ * - Default column values being empty strings.
+ *
+ * Limitations:
+ *
+ * - A simple GATK report cannot contain multiple tables.
+ * - It cannot contain typed columns, which prevents arithmetic gathering.
+ *
+ * @param tableName The name of your simple GATK report table
+ * @param columns The names of the columns in your table
+ * @return a simplified GATK report
+ */
+ public static GATKReport newSimpleReport(final String tableName, final List columns) {
+ GATKReportTable table = new GATKReportTable(tableName, "A simplified GATK table report", columns.size());
+
+ for (String column : columns) {
+ table.addColumn(column, "");
+ }
+
+ GATKReport output = new GATKReport();
+ output.addTable(table);
+
+ return output;
+ }
+
/**
* This method provides an efficient way to populate a simplified GATK report. This method will only work on reports
* that qualify as simplified GATK reports. See the newSimpleReport() constructor for more information.
@@ -303,4 +338,27 @@ public class GATKReport {
for ( int i = 0; i < values.length; i++ )
table.set(rowIndex, i, values[i]);
}
+
+ /**
+ * This method provides an efficient way to populate a simplified GATK report. This method will only work on reports
+ * that qualify as simplified GATK reports. See the newSimpleReport() constructor for more information.
+ *
+ * @param values the row of data to be added to the table.
+ * Note: the number of arguments must match the columns in the table.
+ */
+ public void addRowList(final List