Skip to content

Commit

Permalink
Use explicit types for header lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
heuermh authored and fnothaft committed Jul 23, 2017
1 parent f125f8c commit 9bc5e15
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ package org.bdgenomics.adam.converters
import htsjdk.variant.vcf.{
VCFConstants,
VCFFormatHeaderLine,
VCFHeaderLine,
VCFHeaderLineCount,
VCFHeaderLineType,
VCFInfoHeaderLine,
Expand Down Expand Up @@ -91,7 +92,7 @@ object DefaultHeaderLines {
/**
* Default set of VCF header lines for INFO fields supported in ADAM.
*/
lazy val infoHeaderLines = Seq(
lazy val infoHeaderLines: Seq[VCFInfoHeaderLine] = Seq(
ancestralAllele,
alleleCount,
readDepth,
Expand Down Expand Up @@ -169,7 +170,7 @@ object DefaultHeaderLines {
/**
* Default set of VCF header lines for GT format fields supported in ADAM.
*/
lazy val formatHeaderLines = Seq(
lazy val formatHeaderLines: Seq[VCFFormatHeaderLine] = Seq(
genotype,
genotypeQuality,
allelicDepth,
Expand All @@ -188,5 +189,5 @@ object DefaultHeaderLines {
/**
* Default set of VCF header lines for INFO and GT format fields supported in ADAM.
*/
lazy val allHeaderLines = infoHeaderLines ++ formatHeaderLines
lazy val allHeaderLines: Seq[VCFHeaderLine] = infoHeaderLines ++ formatHeaderLines
}

0 comments on commit 9bc5e15

Please sign in to comment.