|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents a chromosome which all chromosomes implement.
Examples are SpeciesChromosome and OrganismChromosome.
Field Summary | |
static int |
A_CHROMOSOME
The "A" chromosome of a pair, sometimes of three. |
static int |
AUTOSOME
Chromosome type - autosome (non-sex chromosome) |
static int |
B_CHROMOSOME
The "B" chromosome of a pair, sometimes of three. |
static int |
C_CHROMOSOME
The "C" chromosome of a pair, sometimes of three. |
static int |
NEXT_HIGHEST_AUTOSOME_NUMBER
Next highest autosome number. |
static int |
SEX_CHROMOSOME
Chromosome type - sex chromosome |
static int |
X_CHROMOSOME
X chromosome - used as a "number type". |
static java.lang.String |
X_CHROMOSOME_STRING
|
static int |
Y_CHROMOSOME
Y chromosome - used as a "number type". |
static java.lang.String |
Y_CHROMOSOME_STRING
|
Method Summary | |
int |
getChromosomeType()
Get the chromosome type (autosome or sex chromosome). |
int |
getLengthInBases()
Returns the length of chromosome in bases. |
int |
getLengthInCodons()
Returns the length of the chromosome in codons, calculated by dividing the number of bases by 3, ignoring remainder. |
int |
getNumberType()
Returns the number / type of this chromosome. |
boolean |
isSexChromosome()
Returns whether the chromosome is a sex chromosome. |
Field Detail |
public static final int X_CHROMOSOME
public static final java.lang.String X_CHROMOSOME_STRING
public static final int Y_CHROMOSOME
public static final java.lang.String Y_CHROMOSOME_STRING
public static final int A_CHROMOSOME
public static final int B_CHROMOSOME
public static final int C_CHROMOSOME
public static final int AUTOSOME
public static final int SEX_CHROMOSOME
public static final int NEXT_HIGHEST_AUTOSOME_NUMBER
Users should use this value when they want the new species chromosome to have the next highest chromosome value.
This is NOT a valid number type for most uses. It may only be used when constructing the species chromosome initially.
Method Detail |
public int getLengthInBases()
public int getLengthInCodons()
public int getNumberType()
public boolean isSexChromosome()
public int getChromosomeType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |