Class

io.projectglow.vcf

VCFStreamWriter

Related Doc: package vcf

Permalink

class VCFStreamWriter extends Closeable with GlowLogging with Serializable

This internal row -> variant context stream writer maintains a header that is set exactly once. The sample IDs are set by sampleIdInfo if predetermined, or inferred from the first written row otherwise.

If missing sample IDs were used to set the header, sample IDs in all rows to be written will be replaced with those from the header. If all sample IDs are present when setting the header, sample IDs in written rows will not be replaced. Mixed missing/present sample IDs are not permitted.

Linear Supertypes
Serializable, Serializable, GlowLogging, LazyLogging, LazyLogging, Logging, Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VCFStreamWriter
  2. Serializable
  3. Serializable
  4. GlowLogging
  5. LazyLogging
  6. LazyLogging
  7. Logging
  8. Closeable
  9. AutoCloseable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new VCFStreamWriter(stream: OutputStream, headerLineSet: Set[VCFHeaderLine], sampleIdInfo: SampleIdInfo, writeHeader: Boolean)

    Permalink

    stream

    The stream to write to

    headerLineSet

    Header lines used to set the VCF header

    sampleIdInfo

    Sample IDs, which may be predetermined or must be inferred

    writeHeader

    Whether to write the header in this stream

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def checkInferredSampleIds(vcBuilder: VariantContextBuilder): VariantContextBuilder

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def close(): Unit

    Permalink
    Definition Classes
    VCFStreamWriter → Closeable → AutoCloseable
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. var header: VCFHeader

    Permalink
  14. var headerSampleSet: HashSet[String]

    Permalink
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging → Logging
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def replaceMissingSampleIds(vcBuilder: VariantContextBuilder): VariantContextBuilder

    Permalink
  21. var replaceSampleIds: Boolean

    Permalink
  22. def setHeader(vcBuilder: VariantContextBuilder): Unit

    Permalink
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def write(vc: VariantContext): Unit

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from GlowLogging

Inherited from LazyLogging

Inherited from LazyLogging

Inherited from Logging

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped