Class Gene


  • public class Gene
    extends java.lang.Object
    Represents a gene
    Since:
    0.1.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getChromosome()
      Returns the chromosome(s) the gene is located at
      java.util.List<dev.pcvolkmer.mv64e.mtb.Chromosome> getChromosomesInPropertyForm()
      Returns a list of chromosomes using form 'chr?'
      java.lang.String getEnsemblId()
      Returns the EnsemblID of this gene
      java.lang.String getHgncId()
      Returns the HGNC ID of this gene
      java.lang.String getName()
      Returns the name of this gene
      java.util.Optional<dev.pcvolkmer.mv64e.mtb.Chromosome> getSingleChromosomeInPropertyForm()
      Returns a chromosome using form 'chr...?' if one (single) chromosome listed
      java.lang.String getSymbol()
      Returns the Symbol of this gene
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getHgncId

        public java.lang.String getHgncId()
        Returns the HGNC ID of this gene
        Returns:
        the HGNC ID
      • getEnsemblId

        public java.lang.String getEnsemblId()
        Returns the EnsemblID of this gene
        Returns:
        the EnsemblID
      • getSymbol

        public java.lang.String getSymbol()
        Returns the Symbol of this gene
        Returns:
        the Symbol
      • getName

        public java.lang.String getName()
        Returns the name of this gene
        Returns:
        the name
      • getChromosome

        public java.lang.String getChromosome()
        Returns the chromosome(s) the gene is located at
        Returns:
        the chromosome(s)
      • getChromosomesInPropertyForm

        public java.util.List<dev.pcvolkmer.mv64e.mtb.Chromosome> getChromosomesInPropertyForm()
        Returns a list of chromosomes using form 'chr?'
        Returns:
        a list of chromosomes
      • getSingleChromosomeInPropertyForm

        public java.util.Optional<dev.pcvolkmer.mv64e.mtb.Chromosome> getSingleChromosomeInPropertyForm()
        Returns a chromosome using form 'chr...?' if one (single) chromosome listed
        Returns:
        an Optional containing the chromosome
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object