

Public Member Functions | |
| int | size () |
| int | getSize () |
| int | getMidpoint () |
| Strand | getStrand () |
| boolean | hasOrientation () |
| boolean | isNegativeStrand () |
| String | getChr () |
| int | getOrientedStart () |
| int | getOrientedEnd () |
| int | getLengthOnReference () |
| int | getReferenceCoordinateAtPosition (int positionInAnnotation) |
| int | getPositionAtReferenceCoordinate (int referenceCoordinate) |
| void | setOrientation (char orientation) |
| void | expand (int deltaStart, int deltaEnd) |
| Annotation | trim (int deltaStart, int deltaEnd) |
| boolean | fullyContains (Annotation other) |
| boolean | overlaps (Annotation other) |
| boolean | overlaps (Annotation other, int buffer) |
| boolean | overlapsStranded (Annotation other) |
| boolean | overlaps (Annotation other, boolean considerOrientation) |
| boolean | overlaps (Collection<?extends Annotation > others) |
| boolean | overlaps (Collection<?extends Annotation > others, int buffer) |
| String | toUCSC () |
| String | toBED () |
| final String | getFullInfoString () |
| String | toBED (int r, int g, int b) |
| String | toShortBED () |
| String | toBEDGraph () |
| int | getDistanceTo (Annotation other) |
| String | toCigar () |
| List< Annotation > | intersect (List<?extends Annotation > others) |
| int | compareTo (Annotation other) |
| int | compareToAnnotation (Annotation b) |
| int | compareToAnnotation (Annotation b, boolean useOrientation) |
| boolean | equals (Annotation a) |
| boolean | equals (Annotation a, boolean useOrientation) |
| int | getSAMStart () |
| int | getSAMEnd () |
Public Member Functions inherited from umms.core.annotation.Annotation | |
| int | getStart () |
| int | getEnd () |
| String | getReferenceName () |
| String | getName () |
| Strand | getOrientation () |
| int | numBlocks () |
| List<?extends Annotation > | getBlocks () |
| List<?extends Annotation > | getBlocks (boolean oriented) |
| int | length () |
| double | getScore () |
| boolean | isUnoriented () |
| int | getReferenceCoordinateAtPosition (int positionInAnnotation, boolean ignoreOrientation) |
| int | getPositionAtReferenceCoordinate (int referenceCoordinate, boolean ignoreOrientation) |
| void | setStart (int start) |
| void | setEnd (int end) |
| void | setOrientation (Strand orientation) |
| void | setOrientedStart (int orientedStart) |
| void | setOrientedEnd (int orientedEnd) |
| void | setReferenceName (String refName) |
| void | setName (String name) |
| void | setScore (double score) |
| void | shift (int delta) |
| void | moveToCoordinate (int coordinateInReference) |
| Annotation | copy () |
| List< Annotation > | disect (Annotation a) |
| List< Annotation > | disect (List<?extends Annotation > disectors) |
| Annotation | minus (Annotation other) |
| Annotation | minus (Collection<?extends Annotation > others) |
| boolean | overlaps (Annotation other, int buffer, boolean considerOrientation) |
| int | getOverlap (Annotation other) |
| boolean | contains (Annotation other) |
| Annotation | union (Annotation other) |
| Annotation | intersect (Annotation other) |
| void | stitchTo (Annotation next) |
| Annotation | complement () |
| Collection<?extends Annotation > | getSpliceConnections () |
Static Public Member Functions | |
| static Strand | getStrand (String orientation) |
| static Strand | getStrand (char orientation) |
Static Public Attributes | |
| static final int | MAX_DISTANCE = 1000000000 |
| int umms.core.annotation.AbstractAnnotation.compareTo | ( | Annotation | other | ) |

| int umms.core.annotation.AbstractAnnotation.compareToAnnotation | ( | Annotation | b | ) |
Should behave like compareTo for a basic annotation
| b |
Implements umms.core.annotation.Annotation.

| int umms.core.annotation.AbstractAnnotation.compareToAnnotation | ( | Annotation | b, |
| boolean | useOrientation | ||
| ) |

| boolean umms.core.annotation.AbstractAnnotation.equals | ( | Annotation | a | ) |
| boolean umms.core.annotation.AbstractAnnotation.equals | ( | Annotation | other, |
| boolean | useOrientation | ||
| ) |
Test whether two annotations are equal regardless of whether the orientation are the same
| other | The annotation to test equality to |
| useOrientation | true=ensure strands match false=OK if strands dont match |
Implements umms.core.annotation.Annotation.

| void umms.core.annotation.AbstractAnnotation.expand | ( | int | deltaStart, |
| int | deltaEnd | ||
| ) |
Extends the annotation by delta on the unOriented Start and end.
Implements umms.core.annotation.Annotation.

| boolean umms.core.annotation.AbstractAnnotation.fullyContains | ( | Annotation | annotation | ) |
Test whether the annotation is fully contained in this
| annotation |
Implements umms.core.annotation.Annotation.

| String umms.core.annotation.AbstractAnnotation.getChr | ( | ) |
Implements umms.core.annotation.Annotation.


| int umms.core.annotation.AbstractAnnotation.getDistanceTo | ( | Annotation | other | ) |
Calculates the distance to the another genomic annotation.
Implements umms.core.annotation.Annotation.

| final String umms.core.annotation.AbstractAnnotation.getFullInfoString | ( | ) |
Implements umms.core.annotation.Annotation.

| int umms.core.annotation.AbstractAnnotation.getLengthOnReference | ( | ) |
Implements umms.core.annotation.Annotation.


| int umms.core.annotation.AbstractAnnotation.getMidpoint | ( | ) |
This will return the position in the center of this annotation taking into account the blocked structure
Implements umms.core.annotation.Annotation.

| int umms.core.annotation.AbstractAnnotation.getOrientedEnd | ( | ) |
Implements umms.core.annotation.Annotation.

| int umms.core.annotation.AbstractAnnotation.getOrientedStart | ( | ) |
Implements umms.core.annotation.Annotation.

| int umms.core.annotation.AbstractAnnotation.getPositionAtReferenceCoordinate | ( | int | referenceCoordinate | ) |
| referenceCoordinate | 0-based reference coordinate |
Implements umms.core.annotation.Annotation.
| int umms.core.annotation.AbstractAnnotation.getReferenceCoordinateAtPosition | ( | int | positionInAnnotation | ) |
| positionInAnnotation | 0-based position in the Annotation |
Implements umms.core.annotation.Annotation.

| int umms.core.annotation.AbstractAnnotation.getSAMEnd | ( | ) |
Returns the start position of this window into SAM coordinate space SAM coordinates are 1-based and inclusive whereas all of our objects are 0-based exclusive
Implements umms.core.annotation.Annotation.

| int umms.core.annotation.AbstractAnnotation.getSAMStart | ( | ) |
Returns the start position of this window into SAM coordinate space SAM coordinates are 1-based and inclusive whereas all of our objects are 0-based exclusive
Implements umms.core.annotation.Annotation.


| int umms.core.annotation.AbstractAnnotation.getSize | ( | ) |
Implements umms.core.annotation.Annotation.


| Strand umms.core.annotation.AbstractAnnotation.getStrand | ( | ) |
Implements umms.core.annotation.Annotation.


|
static |
|
static |
| boolean umms.core.annotation.AbstractAnnotation.hasOrientation | ( | ) |
Implements umms.core.annotation.Annotation.


| List<Annotation> umms.core.annotation.AbstractAnnotation.intersect | ( | List<?extends Annotation > | annotations | ) |
Returns the result of intersecting this instance with a list of annotations, with one (possibly blocked) intersection Annotation for each provided annotation
| other | annotations |
Implements umms.core.annotation.Annotation.
| boolean umms.core.annotation.AbstractAnnotation.isNegativeStrand | ( | ) |
Returns true if the alignment is negative stranded
Implements umms.core.annotation.Annotation.

| boolean umms.core.annotation.AbstractAnnotation.overlaps | ( | Annotation | other | ) |
| other | GenomicAnnotation to check of overlap |
Implements umms.core.annotation.Annotation.

| boolean umms.core.annotation.AbstractAnnotation.overlaps | ( | Annotation | other, |
| int | buffer | ||
| ) |
| other | - other genomic annotation |
| buffer | if the overlap is within buffer they will be considered overlapping even if they do not overlap within their original boundaries. |
Implements umms.core.annotation.Annotation.

| boolean umms.core.annotation.AbstractAnnotation.overlaps | ( | Annotation | other, |
| boolean | considerOrientation | ||
| ) |
| boolean umms.core.annotation.AbstractAnnotation.overlaps | ( | Collection<?extends Annotation > | others | ) |
| other | GenomicAnnotations to check of overlap |
Implements umms.core.annotation.Annotation.

| boolean umms.core.annotation.AbstractAnnotation.overlaps | ( | Collection<?extends Annotation > | others, |
| int | buffer | ||
| ) |
| other | - other genomic annotation |
| buffer | if the overlap is within buffer they will be considered overlapping even if they do not overlap within their original boundaries. |
Implements umms.core.annotation.Annotation.

| boolean umms.core.annotation.AbstractAnnotation.overlapsStranded | ( | Annotation | other | ) |
| void umms.core.annotation.AbstractAnnotation.setOrientation | ( | char | orientation | ) |
Implements umms.core.annotation.Annotation.
| int umms.core.annotation.AbstractAnnotation.size | ( | ) |
Implements umms.core.annotation.Annotation.


| String umms.core.annotation.AbstractAnnotation.toBED | ( | ) |
| String umms.core.annotation.AbstractAnnotation.toBED | ( | int | r, |
| int | g, | ||
| int | b | ||
| ) |
| String umms.core.annotation.AbstractAnnotation.toBEDGraph | ( | ) |
| String umms.core.annotation.AbstractAnnotation.toCigar | ( | ) |
Return the Annotation object cigar string
Implements umms.core.annotation.Annotation.


| String umms.core.annotation.AbstractAnnotation.toShortBED | ( | ) |
| String umms.core.annotation.AbstractAnnotation.toUCSC | ( | ) |
Implements umms.core.annotation.Annotation.


| Annotation umms.core.annotation.AbstractAnnotation.trim | ( | int | deltaStart, |
| int | deltaEnd | ||
| ) |
Trims the annotation in a strand-specific manner, that is start will end the genomic end on a negative annotation
Implements umms.core.annotation.Annotation.


|
static |
1.8.7