Class Gene
- java.lang.Object
-
- dev.pcvolkmer.mv64e.datamapper.genes.Gene
-
public class Gene extends java.lang.ObjectRepresents a gene- Since:
- 0.1.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetChromosome()Returns the chromosome(s) the gene is located atjava.util.List<dev.pcvolkmer.mv64e.mtb.Chromosome>getChromosomesInPropertyForm()Returns a list of chromosomes using form 'chr?'java.lang.StringgetEnsemblId()Returns the EnsemblID of this genejava.lang.StringgetHgncId()Returns the HGNC ID of this genejava.lang.StringgetName()Returns the name of this genejava.util.Optional<dev.pcvolkmer.mv64e.mtb.Chromosome>getSingleChromosomeInPropertyForm()Returns a chromosome using form 'chr...?' if one (single) chromosome listedjava.lang.StringgetSymbol()Returns the Symbol of this geneinthashCode()
-
-
-
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
Optionalcontaining the chromosome
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-