Fixing VCF header for filter elements (thanks Eric)

This commit is contained in:
Mauricio Carneiro 2012-06-01 15:45:15 -04:00
parent 3b20b4615d
commit 12a8c54f9a
1 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,7 @@ public class DiagnoseTargets extends LocusWalker<Long, Long> {
addNewOverlappingIntervals(refLocus); // add all new intervals that may overlap this reference locus
for (IntervalStatistics intervalStatistics : intervalMap.values())
intervalStatistics.addLocus(context, ref, thresholds); // Add current locus to stats
intervalStatistics.addLocus(context, ref, thresholds); // Add current locus to stats
return 1L;
}
@ -312,7 +312,7 @@ public class DiagnoseTargets extends LocusWalker<Long, Long> {
// FILTER fields
for (CallableStatus stat : CallableStatus.values())
headerLines.add(new VCFHeaderLine(stat.name(), stat.description));
headerLines.add(new VCFFilterHeaderLine(stat.name(), stat.description));
return headerLines;
}