private static Set < String > determineVcfInfoFlagFields ( VcfMeta vcfMeta ) { return stream ( vcfMeta . getInfoMeta ( ) ) . filter ( vcfInfoMeta -> vcfInfoMeta . getType ( ) . equals ( VcfMetaInfo . Type . FLAG ) ) . map ( VcfMetaInfo :: getId ) . collect ( toSet ( ) ) ; }
Returns a set of all possible VCF info fields of type Flag