Package org.pharmgkb.parser.vcf
Interface VcfTransformation
public interface VcfTransformation
A transformation applied to VCF data lines and metadata.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleantransformDataLine(VcfMetadata metadata, VcfPosition position, List<VcfSample> sampleData) Modifies the argumentspositionandsampleData.default voidtransformMetadata(VcfMetadata metadata) Modifies the argumentmetadata.
-
Method Details
-
transformMetadata
Modifies the argumentmetadata. The default method does nothing. -
transformDataLine
default boolean transformDataLine(@Nonnull VcfMetadata metadata, @Nonnull VcfPosition position, @Nonnull List<VcfSample> sampleData) Modifies the argumentspositionandsampleData. Should not modifymetadata. The default method does nothing.- Returns:
- If false, the VcfPosition will be removed
-