public class Gene extends Object implements Comparable
Constructor and Description |
---|
Gene() |
Modifier and Type | Method and Description |
---|---|
Gene |
addExon(Exon inValue) |
Gene |
addExons(Collection<? extends Exon> inValues) |
Gene |
addURL(Link inValue)
Add a URL to the gene.
|
int |
compareTo(Object inObj2) |
Color |
getColor() |
String |
getDescription() |
Integer |
getEndLocation() |
List<Exon> |
getExons() |
String |
getId() |
int |
getLeft()
The leftmost basepair of the gene (the start location if the gene is on the
forward strand or the end location if the gene is on the reverse strand).
|
GenomicLocation |
getLocation() |
int |
getRight()
The rightmost basepair of the gene (the end location if the gene is on the
forward strand or the start location if the gene is on the reverse strand).
|
SeqMappingCoverage |
getSeqMappingCoverage() |
NCBITaxon |
getSpecies() |
Integer |
getStartLocation()
Basepair location of the start of the gene.
|
Strand |
getStrand() |
List<Link> |
getURLs() |
Gene |
setColor(Color inValue) |
Gene |
setDescription(String inValue) |
Gene |
setEndLocation(int inValue) |
Gene |
setId(String inValue) |
Gene |
setLocation(GenomicLocation inValue) |
void |
setSeqMappingCoverage(SeqMappingCoverage inValue) |
Gene |
setSpecies(NCBITaxon inValue) |
Gene |
setStartLocation(int inValue) |
Gene |
setStrand(Strand inValue) |
public Gene()
public Gene setLocation(GenomicLocation inValue)
public GenomicLocation getLocation()
public Gene addExons(Collection<? extends Exon> inValues)
public Gene setDescription(String inValue)
public String getDescription()
public void setSeqMappingCoverage(SeqMappingCoverage inValue)
public SeqMappingCoverage getSeqMappingCoverage()
public Gene setSpecies(NCBITaxon inValue)
public NCBITaxon getSpecies()
public Gene addURL(Link inValue)
inValue
- the link to associate with the genepublic Integer getStartLocation()
public Gene setStartLocation(int inValue)
public Integer getEndLocation()
public Gene setEndLocation(int inValue)
public int getLeft()
public int getRight()
public int compareTo(Object inObj2)
compareTo
in interface Comparable
jataylor@hairyfatguy.com