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