Class SimpleBEDFeature

    • Field Detail

      • start

        protected int start
      • end

        protected int end
      • strand

        protected Strand strand
    • Constructor Detail

      • SimpleBEDFeature

        public SimpleBEDFeature​(int start,
                                int end,
                                String chr)
    • Method Detail

      • getContig

        public String getContig()
        Description copied from interface: Locatable
        Gets the contig name for the contig this is mapped to. May return null if there is no unique mapping.
        Specified by:
        getContig in interface Locatable
        Returns:
        name of the contig this is mapped to, potentially null
      • getStart

        public int getStart()
        Specified by:
        getStart in interface Locatable
        Returns:
        1-based start position, undefined if getContig() == null
      • getEnd

        public int getEnd()
        Specified by:
        getEnd in interface Locatable
        Returns:
        1-based closed-ended position, undefined if getContig() == null
      • setStrand

        public void setStrand​(Strand strand)
      • setChr

        public void setChr​(String chr)
      • setStart

        public void setStart​(int start)
      • setEnd

        public void setEnd​(int end)
      • setType

        public void setType​(String type)
      • setColor

        public void setColor​(Color color)
      • setDescription

        public void setDescription​(String description)
      • setName

        public void setName​(String name)
      • setScore

        public void setScore​(float score)
      • setLink

        public void setLink​(String link)