|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectutil.bio.annotation.GeneGroup
A GeneGroup is the top organizing level of a "Gene". It may contain multiple transGrps (one transcript, possibly a translation, each with one or more exons) and a composite/ summary GeneRep (a gene representation broken into coding and non-coding regions) . Thus GeneGroup -> one GeneRep + one or more TransGroups -> transcript, exon, introns....
Constructor Summary | |
GeneGroup(java.lang.String name,
java.lang.String chromosome,
int start,
int end,
java.lang.String type,
TransGroup[] transGrps,
int orientation,
java.lang.String attributes)
|
Method Summary | |
static java.lang.String |
ALToString(java.util.ArrayList al)
|
int |
compareTo(java.lang.Object other)
|
static java.lang.String |
convertNumOrientationToStrand(int orientation)
|
static int |
convertPlusToNumOrientation(java.lang.String orientation)
|
static java.util.ArrayList |
extractStartEnds(ExonIntron[] exons)
|
static int[][] |
extractStartEndsInts(ExonIntron[] exons)
|
static java.util.ArrayList |
fetchIntrons(java.util.ArrayList exons)
Takes an ArrayList of exon startStop int[2]'s, returns an ArrayList of int[2]'s representing the start,stop for each intron |
java.lang.String |
fetchSumaryLine()
|
java.lang.String |
getAttributes()
|
java.lang.String |
getChromosome()
|
int |
getEnd()
|
GeneRep |
getGeneRep()
|
java.lang.String |
getLabel()
|
java.lang.String |
getName()
|
int |
getOrientation()
|
int |
getStart()
|
TransGroup[] |
getTransGrps()
|
java.lang.String |
getType()
|
static java.util.ArrayList |
joinSegments(java.util.ArrayList segs)
Takes an ArrayList of int[2]'s representing start stop coords kills the dups, and those cotained within another seg, will merge overlapping segments. |
void |
setOrientation(int orientation)
|
static java.util.ArrayList |
sortSegments(java.util.ArrayList segs)
Sorts an ArrayList of int[2]'s representing start, end |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public GeneGroup(java.lang.String name, java.lang.String chromosome, int start, int end, java.lang.String type, TransGroup[] transGrps, int orientation, java.lang.String attributes)
Method Detail |
public int compareTo(java.lang.Object other)
compareTo
in interface java.lang.Comparable
public java.lang.String fetchSumaryLine()
public java.lang.String toString()
public int getOrientation()
public GeneRep getGeneRep()
public TransGroup[] getTransGrps()
public java.lang.String getLabel()
public java.lang.String getChromosome()
public java.lang.String getAttributes()
public java.lang.String getName()
public int getEnd()
public int getStart()
public static int convertPlusToNumOrientation(java.lang.String orientation)
public static java.lang.String convertNumOrientationToStrand(int orientation)
public static int[][] extractStartEndsInts(ExonIntron[] exons)
public static java.util.ArrayList extractStartEnds(ExonIntron[] exons)
public static java.util.ArrayList fetchIntrons(java.util.ArrayList exons)
public static java.lang.String ALToString(java.util.ArrayList al)
public static java.util.ArrayList sortSegments(java.util.ArrayList segs)
public static java.util.ArrayList joinSegments(java.util.ArrayList segs)
public java.lang.String getType()
public void setOrientation(int orientation)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |