You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val codec = new VCFCodec()
val vcfReader: AbstractFeatureReader[HtsjdkVariantContext, LineIterator] = AbstractFeatureReader.getFeatureReader(filename, codec)
val header: VCFHeader = vcfReader.getHeader().asInstanceOf[VCFHeader]
val converter = new VariantContextConverter(
getHeaderLines(header),
ValidationStringency.LENIENT, false)
// defined in ADAM in VariantContextConverter line 266
def getHeaderLines(header: VCFHeader): Seq[VCFHeaderLine] = {
(header.getFilterLines ++
header.getFormatHeaderLines ++
header.getInfoHeaderLines ++
header.getOtherHeaderLines).toSeq
}
Yeah, but note the standard headers that ADAM uses are not exactly the same as the standard headers in htsjdk, because they don't actually follow the VCF specification.
No description provided.
The text was updated successfully, but these errors were encountered: