Class Genotypes

  • All Implemented Interfaces:
    java.io.Serializable

    public class Genotypes
    extends java.lang.Object
    implements java.io.Serializable
    Simple test program
    Author:
    pcingola
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int MARK  
    • Constructor Summary

      Constructors 
      Constructor Description
      Genotypes()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Genotypes load​(java.lang.String fileName)
      Read from a file
      boolean loadVcf()
      Load data
      static void main​(java.lang.String[] args)  
      void parse​(java.lang.String[] args)
      Parse command line arguments
      void save​(java.lang.String fileName)
      Save to file
      void set​(int entryNum, int sampleNum, VcfGenotype vg)
      Set an entry
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MARK

        public static int MARK
    • Constructor Detail

      • Genotypes

        public Genotypes()
    • Method Detail

      • load

        public static Genotypes load​(java.lang.String fileName)
        Read from a file
        Parameters:
        fileName -
      • main

        public static void main​(java.lang.String[] args)
      • loadVcf

        public boolean loadVcf()
        Load data
      • parse

        public void parse​(java.lang.String[] args)
        Parse command line arguments
      • save

        public void save​(java.lang.String fileName)
        Save to file
        Parameters:
        fileName -
      • set

        public void set​(int entryNum,
                        int sampleNum,
                        VcfGenotype vg)
        Set an entry