public final class VariantContextToGenotypes extends AbstractConverter<htsjdk.variant.variantcontext.VariantContext,List<org.bdgenomics.formats.avro.Genotype>>
| Constructor and Description |
|---|
VariantContextToGenotypes(htsjdk.variant.vcf.VCFHeader header)
Create a new VariantContext to list of Genotypes converter with the specified header.
|
| Modifier and Type | Method and Description |
|---|---|
List<org.bdgenomics.formats.avro.Genotype> |
convert(htsjdk.variant.variantcontext.VariantContext variantContext,
ConversionStringency stringency,
org.slf4j.Logger logger) |
checkNotNull, checkNotNull, checkNotNull, getSourceClass, getTargetClass, warnOrThrow@Inject public VariantContextToGenotypes(htsjdk.variant.vcf.VCFHeader header)
header - header, must not be nullpublic List<org.bdgenomics.formats.avro.Genotype> convert(htsjdk.variant.variantcontext.VariantContext variantContext, ConversionStringency stringency, org.slf4j.Logger logger) throws ConversionException
ConversionExceptionCopyright © 2020. All rights reserved.