public class Gene.Transcript
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Gene.Transcript.Exon
1-based, inclusive representation of an exon.
|
Modifier and Type | Field and Description |
---|---|
int |
codingEnd |
int |
codingStart |
Gene.Transcript.Exon[] |
exons |
java.lang.String |
name |
int |
transcriptionEnd |
int |
transcriptionStart |
Constructor and Description |
---|
Transcript(java.lang.String name,
int transcriptionStart,
int transcriptionEnd,
int codingStart,
int codingEnd,
int numExons) |
Modifier and Type | Method and Description |
---|---|
void |
addCoverageCounts(int genomeStart,
int genomeEnd,
int[] coverage) |
Gene.Transcript.Exon |
addExon(int start,
int end) |
void |
assignLocusFunctionForRange(int start,
LocusFunction[] locusFunctions)
Write into locusFunctions the function of each position from start to start + locusFunctions.length
relative to this transcript.
|
int |
end() |
boolean |
equals(java.lang.Object o) |
Gene |
getGene() |
int |
getTranscriptCoordinate(int genomeCoordinate)
Given a coordinate on the genome (same chromosome) give the corresponding coordinate in the transcript.
|
int |
hashCode() |
boolean |
isSoloTranscript() |
int |
length() |
int |
start() |
public final java.lang.String name
public final int transcriptionStart
public final int transcriptionEnd
public final int codingStart
public final int codingEnd
public final Gene.Transcript.Exon[] exons
public Transcript(java.lang.String name, int transcriptionStart, int transcriptionEnd, int codingStart, int codingEnd, int numExons)
public Gene.Transcript.Exon addExon(int start, int end)
public int start()
public int end()
public int length()
public boolean isSoloTranscript()
public Gene getGene()
public void assignLocusFunctionForRange(int start, LocusFunction[] locusFunctions)
start
- 1-based genomic coordinate of the first position in locusFunctions.locusFunctions
- public void addCoverageCounts(int genomeStart, int genomeEnd, int[] coverage)
genomeStart
- genomeEnd
- coverage
- public int getTranscriptCoordinate(int genomeCoordinate)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object