public class Gene extends htsjdk.samtools.util.Interval implements java.lang.Iterable<Gene.Transcript>
Modifier and Type | Class and Description |
---|---|
class |
Gene.Transcript
A single transcript of a gene.
|
Constructor and Description |
---|
Gene(java.lang.String sequence,
int start,
int end,
boolean negative,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
Gene.Transcript |
addTranscript(java.lang.String name,
int transcriptionStart,
int transcriptionEnd,
int codingStart,
int codingEnd,
int numExons) |
int |
compareTo(Gene that) |
boolean |
equals(java.lang.Object other) |
java.util.Iterator<Gene.Transcript> |
iterator() |
abuts, clone, compareTo, countBases, getContig, getEnd, getIntersectionLength, getName, getSequence, getStart, hashCode, intersect, intersects, isNegativeStrand, isPositiveStrand, length, pad, toString
public Gene(java.lang.String sequence, int start, int end, boolean negative, java.lang.String name)
public Gene.Transcript addTranscript(java.lang.String name, int transcriptionStart, int transcriptionEnd, int codingStart, int codingEnd, int numExons)
public java.util.Iterator<Gene.Transcript> iterator()
iterator
in interface java.lang.Iterable<Gene.Transcript>
public int compareTo(Gene that)
public boolean equals(java.lang.Object other)
equals
in class htsjdk.samtools.util.Interval