Incorporated feedback from Kiran. Use the Javadoc first sentence extraction capability to just show the first sentence from each line of Javadoc. @help.description can still be used to produce exceptionally verbose descriptions.

Also increased the line width as much as I could tolerate (100 characters -> 120 characters).


git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@2336 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
hanna 2009-12-11 21:59:55 +00:00
parent 4fa4e95fbc
commit cdfe204d19
7 changed files with 10 additions and 10 deletions

View File

@ -5,8 +5,8 @@ import org.broadinstitute.sting.gatk.contexts.ReferenceContext;
import org.broadinstitute.sting.gatk.refdata.RefMetaDataTracker;
/**
* Basic example of a locus-backed analysis. Walks over the input data set, calculating the number of
* covered loci for diagnostic purposes.
* Walks over the input data set, calculating the total number of covered loci for diagnostic purposes.
* Simplest example of a locus walker.
*/
public class CountLociWalker extends LocusWalker<Integer, Long> implements TreeReducible<Long> {
public Integer map(RefMetaDataTracker tracker, ReferenceContext ref, AlignmentContext context) {

View File

@ -3,9 +3,9 @@ package org.broadinstitute.sting.gatk.walkers;
import net.sf.samtools.SAMRecord;
/**
* Basic example of a read-backed analysis. Walks over the input data set, calculating the number of
* reads seen for diagnostic purposes. Can also count the number of reads matching a given criterion using
* read filters (see the --read-filter command line argument).
* Walks over the input data set, calculating the number of reads seen for diagnostic purposes.
* Can also count the number of reads matching a given criterion using read filters (see the
* --read-filter command line argument). Simplest example of a read-backed analysis.
*/
@Requires({DataSource.READS, DataSource.REFERENCE})
public class CountReadsWalker extends ReadWalker<Integer, Integer> {

View File

@ -11,7 +11,7 @@ import java.util.Arrays;
import net.sf.samtools.SAMRecord;
/**
* Diagnostics analysis. At each locus in the input data set, prints the reference base, genomic location, and
* At each locus in the input data set, prints the reference base, genomic location, and
* all aligning reads in a compact but human-readable form.
*/
public class PrintLocusContextWalker extends LocusWalker<AlignmentContext, Integer> implements TreeReducible<Integer> {

View File

@ -37,7 +37,7 @@ import java.util.ArrayList;
*/
/**
* Diagnostics analysis. Checks all reads passed through the system to ensure that
* Checks all reads passed through the system to ensure that
* the same read is not passed to the walker multiple consecutive times.
* @author aaron
*/

View File

@ -14,7 +14,7 @@ import org.broadinstitute.sting.utils.StingException;
import java.util.Arrays;
/**
* Diagnostics analysis. At every locus in the input set, compares the pileup data (reference base, aligned base from
* At every locus in the input set, compares the pileup data (reference base, aligned base from
* each overlapping read, and quality score) to the reference pileup data generated by samtools. Samtools' pileup data
* should be specified using the command-line argument '-B pileup,SAMPileup,<your sam pileup file>'.
*/

View File

@ -16,7 +16,7 @@ public class TextFormattingUtils {
/**
* The default line width, for GATK output written to the screen.
*/
public static final int DEFAULT_LINE_WIDTH = 100;
public static final int DEFAULT_LINE_WIDTH = 120;
/**
* Simple implementation of word-wrap for a line of text. Idea and

View File

@ -72,7 +72,7 @@ public class HelpExtractorDoclet {
private static void renderHelpText(String elementName, Doc element, PrintStream out) {
// Extract overrides from the doc tags.
String overrideName = null;
String overrideDescription = element.commentText();
String overrideDescription = element.firstSentenceTags().length > 0 ? element.firstSentenceTags()[0].text() : "";
for(Tag tag: element.tags()) {
if(tag.name().equals("@"+DisplayNameTaglet.NAME)) {
if(overrideName != null)