Class RandMarker


  • public class RandMarker
    extends java.lang.Object
    Create random markers using a uniform distribution
    Author:
    pcingola
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Marker rand​(int readLen)
      Create a random marker of size readLen
      • Methods inherited from class java.lang.Object

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

      • RandMarker

        public RandMarker​(Genome genome)
      • RandMarker

        public RandMarker​(Genome genome,
                          int seed)
    • Method Detail

      • rand

        public Marker rand​(int readLen)
        Create a random marker of size readLen
        Parameters:
        readLen - WARNIIG: It will loop forever if there is no chromosome longer than readLen
        Returns:
        A marker at a random chromosome & position.