Class

nl.biopet.utils.ngs.vcf

SampleCompare

Related Doc: package vcf

Permalink

class SampleCompare extends Serializable

This class can record overlapping alleles and genotypes

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SampleCompare
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SampleCompare(header: VCFHeader)

    Permalink

    header

    header of the vcf file, this is used to retrieve the sample indexes

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +=(other: SampleCompare): SampleCompare

    Permalink

    This will combine 2 SampleCompare classes together

  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. def addRecord(record: VariantContext, sampleToSampleMinDepth: Option[Int]): Unit

    Permalink

    Checking a record to add to compate matrix

    Checking a record to add to compate matrix

    record

    VariantContext to add

    sampleToSampleMinDepth

    If set a genotype need DP to be >=. This does depend on the DP fiald in the vcf record

  6. def allelesCount(id1: Int)(id2: Int): Long

    Permalink

    Return the number of overlapping alleles

  7. def allelesCount(name1: String)(name2: String): Long

    Permalink

    Return the number of overlapping alleles

  8. val allelesCounts: Array[Array[Long]]

    Permalink
    Attributes
    protected
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def genotypesCount(id1: Int)(id2: Int): Long

    Permalink

    Return the number of overlapping genotypes

  15. def genotypesCount(name1: String)(name2: String): Long

    Permalink

    Return the number of overlapping genotypes

  16. val genotypesCounts: Array[Array[Long]]

    Permalink
    Attributes
    protected
  17. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  23. val samples: Map[String, Int]

    Permalink

    This map binds names to sample index

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def writeAllFiles(outputDir: File): Unit

    Permalink

    Write all posible files to directory

    Write all posible files to directory

    outputDir

    Directory to write to

  30. def writeAlleleOverlap(outputFile: File, relative: Boolean = false): Unit

    Permalink

    Writer allele matrix to a file

    Writer allele matrix to a file

    outputFile

    File to write to

    relative

    If true values will be devided by the total number of counts for a sample

  31. def writeGenotypeOverlap(outputFile: File, relative: Boolean = false): Unit

    Permalink

    Writes genotype matrix to a file

    Writes genotype matrix to a file

    outputFile

    File to write to

    relative

    If true values will be devided by the total number of counts for a sample

  32. def writeOverlapFile(counts: Array[Array[Long]], outputFile: File, relative: Boolean = false): Unit

    Permalink

    Writing a matrix to a file

    Writing a matrix to a file

    counts

    Matrix to write

    outputFile

    File to write to

    relative

    If true values will be devided by the total number of counts for a sample

    Attributes
    protected

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped