public final class GermlineCNVSegmentVariantComposer extends GermlineCNVVariantComposer<IntegerCopyNumberSegment>
PostprocessGermlineCNVCalls
for single-sample postprocessing of segmented
GermlineCNVCaller
calls.outputWriter, sampleName
Constructor and Description |
---|
GermlineCNVSegmentVariantComposer(htsjdk.variant.variantcontext.writer.VariantContextWriter outputWriter,
java.lang.String sampleName,
IntegerCopyNumberState refAutosomalCopyNumberState,
java.util.Set<java.lang.String> allosomalContigSet)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
composeVariantContextHeader(htsjdk.samtools.SAMSequenceDictionary sequenceDictionary,
java.util.Set<htsjdk.variant.vcf.VCFHeaderLine> vcfDefaultToolHeaderLines)
Compose the header of the variant context.
|
writeAll
public GermlineCNVSegmentVariantComposer(htsjdk.variant.variantcontext.writer.VariantContextWriter outputWriter, java.lang.String sampleName, IntegerCopyNumberState refAutosomalCopyNumberState, java.util.Set<java.lang.String> allosomalContigSet)
outputWriter
- variant context writersampleName
- sample namerefAutosomalCopyNumberState
- ref copy-number state on autosomal contigsallosomalContigSet
- set of allosomal contigs (ref copy-number allele be chosen according to
given contig baseline copy-number states)public void composeVariantContextHeader(htsjdk.samtools.SAMSequenceDictionary sequenceDictionary, java.util.Set<htsjdk.variant.vcf.VCFHeaderLine> vcfDefaultToolHeaderLines)
GermlineCNVVariantComposer
sequenceDictionary
- sequence dictionary to use for contig header linesvcfDefaultToolHeaderLines
- default header lines of the VCF generation tool