Package ubic.gemma.model.genome
Class Chromosome
- java.lang.Object
-
- ubic.gemma.model.genome.Chromosome
-
- All Implemented Interfaces:
Serializable
,Identifiable
public class Chromosome extends Object implements Identifiable, Serializable
Immutable representation of a chromosome- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Chromosome()
No-arg constructor added to satisfy javabean contractChromosome(String name, ExternalDatabase assemblyDatabase, BioSequence sequence, Taxon taxon)
Chromosome(String name, Taxon taxon)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
ExternalDatabase
getAssemblyDatabase()
Long
getId()
String
getName()
BioSequence
getSequence()
Taxon
getTaxon()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
Chromosome
public Chromosome()
No-arg constructor added to satisfy javabean contract
-
Chromosome
public Chromosome(String name, ExternalDatabase assemblyDatabase, BioSequence sequence, Taxon taxon)
-
-
Method Detail
-
getAssemblyDatabase
public ExternalDatabase getAssemblyDatabase()
- Returns:
- The database where we have the assesmbly of the chromosome, such as the GoldenPath.
-
getName
public String getName()
-
getId
public Long getId()
- Specified by:
getId
in interfaceIdentifiable
-
getSequence
public BioSequence getSequence()
- Returns:
- The sequence of the chromosome. This is typically going to be just a reference to the sequence in an external database.
-
getTaxon
public Taxon getTaxon()
-
-