diff --git a/public/java/src/org/broadinstitute/sting/utils/help/GATKDoclet.java b/public/java/src/org/broadinstitute/sting/utils/help/GATKDoclet.java
index f63a9162b..677bbf2e5 100644
--- a/public/java/src/org/broadinstitute/sting/utils/help/GATKDoclet.java
+++ b/public/java/src/org/broadinstitute/sting/utils/help/GATKDoclet.java
@@ -224,7 +224,7 @@ public class GATKDoclet {
File forumKeyFile = new File(FORUM_KEY_FILE);
if (forumKeyFile.exists()) {
String forumKey = null;
- // Read ing a one-line file so we can do a for loop
+ // Read in a one-line file so we can do a for loop
for (String line : new XReadLines(forumKeyFile))
forumKey = line;
updateForum(myWorkUnits, forumKey);
@@ -283,7 +283,7 @@ public class GATKDoclet {
DocumentedGATKFeatureObject feature = getFeatureForClassDoc(doc);
DocumentedGATKFeatureHandler handler = createHandler(doc, feature);
if (handler != null && handler.includeInDocs(doc)) {
- logger.info("Generating documentation for class " + doc);
+ //logger.info("Generating documentation for class " + doc);
String filename = handler.getDestinationFilename(doc, clazz);
GATKDocWorkUnit unit = new GATKDocWorkUnit(doc.name(),
filename, feature.groupName(), feature, handler, doc, clazz,
diff --git a/public/java/src/org/broadinstitute/sting/utils/help/GenericDocumentationHandler.java b/public/java/src/org/broadinstitute/sting/utils/help/GenericDocumentationHandler.java
index bb0dc670b..fe6b1fa18 100644
--- a/public/java/src/org/broadinstitute/sting/utils/help/GenericDocumentationHandler.java
+++ b/public/java/src/org/broadinstitute/sting/utils/help/GenericDocumentationHandler.java
@@ -35,6 +35,7 @@ import org.broad.tribble.Feature;
import org.broadinstitute.sting.commandline.*;
import org.broadinstitute.sting.gatk.CommandLineGATK;
import org.broadinstitute.sting.gatk.refdata.tracks.FeatureManager;
+import org.broadinstitute.sting.gatk.walkers.ReadFilters;
import org.broadinstitute.sting.utils.Utils;
import org.broadinstitute.sting.utils.classloader.JVMUtils;
import org.broadinstitute.sting.utils.collections.Pair;
@@ -42,6 +43,7 @@ import org.broadinstitute.sting.utils.exceptions.ReviewedStingException;
import org.broadinstitute.sting.utils.exceptions.StingException;
import java.io.IOException;
+import java.lang.annotation.Annotation;
import java.lang.reflect.*;
import java.util.*;
@@ -91,6 +93,9 @@ public class GenericDocumentationHandler extends DocumentedGATKFeatureHandler {
addRelatedBindings(root);
root.put("group", toProcess.group);
+ // Adding in retrieval of peripheral info (rf annotations etc)
+ getClazzAnnotations(toProcess.clazz, root);
+
toProcess.setHandlerContent((String) root.get("summary"), root);
}
@@ -135,7 +140,6 @@ public class GenericDocumentationHandler extends DocumentedGATKFeatureHandler {
put("filename", otherUnit.filename);
put("name", otherUnit.name);
}});
-
}
root.put("extradocs", extraDocsData);
}
@@ -270,6 +274,66 @@ public class GenericDocumentationHandler extends DocumentedGATKFeatureHandler {
}
}
+ /**
+ * Umbrella function that groups the collection of values for specific annotations applied to an
+ * instance of class c. Lists of collected values are added directly to the "toProcess" object.
+ * Requires being able to instantiate the class.
+ *
+ * @param classToProcess the object to instantiate and query for the annotation
+ * @param root the root of the document handler, to which we'll store collected annotations
+ */
+ private void getClazzAnnotations(Class classToProcess, Map
This Read Filter is automatically applied to the data by the Engine before processing by ${name}.
+ #if> + <#if (readfilters?size > 1) > +These Read Filters are automatically applied to the data by the Engine before processing by ${name}.
+ #if> +The arguments described in the entries below can be supplied to this tool to modify its behavior. For example, the -L argument directs the GATK engine restricts processing - to specific genomic intervals. This capability is available to all GATK walkers. + to specific genomic intervals (this is an Engine capability and is therefore available to all GATK walkers).