Class PhysicalLocation

    • Constructor Detail

      • PhysicalLocation

        public PhysicalLocation()
        No-arg constructor added to satisfy javabean contract
    • Method Detail

      • computeOverlap

        public static int computeOverlap​(long starta,
                                         long enda,
                                         long startb,
                                         long endb)
      • binFromRange

        public int binFromRange​(int start,
                                int end)
        Parameters:
        start - start
        end - end
        Returns:
        bin that this start-end segment is in
      • equals

        public boolean equals​(Object object)
        Description copied from class: ChromosomeLocation
        Returns true if the argument is an ChromosomeLocation instance and all identifiers for this entity equal the identifiers of the argument entity. Returns false otherwise.
        Overrides:
        equals in class ChromosomeLocation
      • getBin

        public Integer getBin()
        Returns:
        Index to speed up queries
      • setBin

        public void setBin​(Integer bin)
      • getNucleotide

        public Long getNucleotide()
      • setNucleotide

        public void setNucleotide​(Long nucleotide)
      • getNucleotideLength

        public Integer getNucleotideLength()
      • setNucleotideLength

        public void setNucleotideLength​(Integer nucleotideLength)
      • getStrand

        public String getStrand()
      • setStrand

        public void setStrand​(String strand)