Commit 3b139a79 authored by Peter van 't Hof's avatar Peter van 't Hof

Format fix

parent cfc95280
......@@ -210,7 +210,8 @@ object VcfStats extends ToolCommand {
case _ => BedRecordList.fromReference(cmdArgs.referenceFile)
}).combineOverlap.scatter(cmdArgs.binSize)
val intervals: List[Interval] = BedRecordList.fromList(bedRecords.flatten).toSamIntervals.toList
val intervals: List[Interval] =
BedRecordList.fromList(bedRecords.flatten).toSamIntervals.toList
val totalBases = bedRecords.length
......@@ -254,7 +255,8 @@ object VcfStats extends ToolCommand {
val samInterval = interval.toSamInterval
val query = reader.query(samInterval.getContig, samInterval.getStart, samInterval.getEnd)
val query =
reader.query(samInterval.getContig, samInterval.getStart, samInterval.getEnd)
if (!query.hasNext) {
Stats.mergeNestedStatsMap(stats.generalStats, fillGeneral(adInfoTags))
for (sample <- samples) yield {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment