

Classes | |
| class | Factory |
Public Member Functions | |
| BasicAnnotation () | |
| BasicAnnotation (SAMRecord samRecord) | |
| BasicAnnotation (String ucsc) | |
| BasicAnnotation (String referenceName, int start, int end, Strand orientation, String name) | |
| BasicAnnotation (String referenceName, Strand orientation, String name, Collection<?extends Annotation > blocks) | |
| BasicAnnotation (String referenceName, int start, int end) | |
| BasicAnnotation (String referenceName, int start, int end, Strand orientation) | |
| BasicAnnotation (String referenceName, int start, int end, String orientation) | |
| BasicAnnotation (BasicAnnotation other) | |
| BasicAnnotation (Annotation other) | |
| BasicAnnotation (Collection<?extends Annotation > blocks) | |
| BasicAnnotation (Collection<?extends Annotation > blocks, Strand orientation, String name) | |
| BasicAnnotation (Collection<?extends Annotation > blocks, String name) | |
| BasicAnnotation (String referenceName, CompoundInterval blocks, Strand orientation, String name) | |
| BasicAnnotation (String referenceName, CompoundInterval blocks, Strand orientation) | |
| BasicAnnotation (String referenceName, CompoundInterval blocks) | |
| Annotation | copy () |
| int | getStart () |
| int | getEnd () |
| int | getMidpoint () |
| String | getReferenceName () |
| String | getName () |
| Strand | getOrientation () |
| boolean | isUnoriented () |
| List<?extends Annotation > | getBlocks () |
| List<?extends Annotation > | getBlocks (boolean oriented) |
| Annotation[] | getFlankingBlocks (Annotation spliceJunction) |
| int | numBlocks () |
| int | length () |
| int | getReferenceCoordinateAtPosition (int positionInAnnotation, boolean ignoreOrientation) |
| int | getPositionAtReferenceCoordinate (int referenceCoordinate, boolean ignoreOrientation) |
| double | getScore () |
| String | toString () |
| 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 n) |
| void | setScore (double s) |
| void | addBlocks (Annotation block) |
| void | addBlocks (Collection<?extends Annotation > blocks) |
| void | shift (int delta) |
| void | moveToCoordinate (int coordinateInReference) |
| boolean | overlaps (Annotation other, int buffer, boolean considerOrientation) |
| boolean | overlaps (List<?extends Annotation > otherBlocks, int buffer) |
| int | getOverlap (Annotation other) |
| boolean | contains (Annotation other) |
| Annotation | union (Annotation other) |
| Annotation | intersect (Annotation other) |
| List< Annotation > | disect (Annotation a) |
| List< Annotation > | disect (List<?extends Annotation > disectors) |
| Annotation | minus (Annotation other) |
| Annotation | minus (Collection<?extends Annotation > others) |
| void | stitchTo (Annotation next) |
| Annotation | complement () |
| Collection<?extends Annotation > | getSpliceConnections () |
Public Member Functions inherited from umms.core.annotation.AbstractAnnotation | |
| 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 () |
Static Public Member Functions | |
| static Annotation | createFromUCSC (String ucsc) |
| static BasicAnnotation | fromFullInfoString (String fullInfoString) |
| static void | main (String[] args) throws IOException |
Static Public Member Functions inherited from umms.core.annotation.AbstractAnnotation | |
| static Strand | getStrand (String orientation) |
| static Strand | getStrand (char orientation) |
Protected Attributes | |
| CompoundInterval | blocks = new CompoundInterval() |
Additional Inherited Members | |
Static Public Attributes inherited from umms.core.annotation.AbstractAnnotation | |
| static final int | MAX_DISTANCE = 1000000000 |
| umms.core.annotation.BasicAnnotation.BasicAnnotation | ( | ) |
For Berkeley DB only Do not use this constructor

| umms.core.annotation.BasicAnnotation.BasicAnnotation | ( | SAMRecord | samRecord | ) |
Create an annotation from a sam record The blocks are the mapped blocks This read only; does not consider the mate
| samRecord | Annotation with name equal to the read name, orientation and blocks as specified in the alignment |

| umms.core.annotation.BasicAnnotation.BasicAnnotation | ( | String | ucsc | ) |

| umms.core.annotation.BasicAnnotation.BasicAnnotation | ( | String | referenceName, |
| int | start, | ||
| int | end, | ||
| Strand | orientation, | ||
| String | name | ||
| ) |

| umms.core.annotation.BasicAnnotation.BasicAnnotation | ( | String | referenceName, |
| Strand | orientation, | ||
| String | name, | ||
| Collection<?extends Annotation > | blocks | ||
| ) |

| umms.core.annotation.BasicAnnotation.BasicAnnotation | ( | String | referenceName, |
| int | start, | ||
| int | end | ||
| ) |
| umms.core.annotation.BasicAnnotation.BasicAnnotation | ( | String | referenceName, |
| int | start, | ||
| int | end, | ||
| Strand | orientation | ||
| ) |
| umms.core.annotation.BasicAnnotation.BasicAnnotation | ( | String | referenceName, |
| int | start, | ||
| int | end, | ||
| String | orientation | ||
| ) |
| umms.core.annotation.BasicAnnotation.BasicAnnotation | ( | BasicAnnotation | other | ) |

| umms.core.annotation.BasicAnnotation.BasicAnnotation | ( | Annotation | other | ) |

| umms.core.annotation.BasicAnnotation.BasicAnnotation | ( | Collection<?extends Annotation > | blocks | ) |

| umms.core.annotation.BasicAnnotation.BasicAnnotation | ( | Collection<?extends Annotation > | blocks, |
| Strand | orientation, | ||
| String | name | ||
| ) |

| umms.core.annotation.BasicAnnotation.BasicAnnotation | ( | Collection<?extends Annotation > | blocks, |
| String | name | ||
| ) |

| umms.core.annotation.BasicAnnotation.BasicAnnotation | ( | String | referenceName, |
| CompoundInterval | blocks, | ||
| Strand | orientation, | ||
| String | name | ||
| ) |

| umms.core.annotation.BasicAnnotation.BasicAnnotation | ( | String | referenceName, |
| CompoundInterval | blocks, | ||
| Strand | orientation | ||
| ) |
| umms.core.annotation.BasicAnnotation.BasicAnnotation | ( | String | referenceName, |
| CompoundInterval | blocks | ||
| ) |
| void umms.core.annotation.BasicAnnotation.addBlocks | ( | Annotation | block | ) |


| void umms.core.annotation.BasicAnnotation.addBlocks | ( | Collection<?extends Annotation > | blocks | ) |

| Annotation umms.core.annotation.BasicAnnotation.complement | ( | ) |
Implements umms.core.annotation.Annotation.

| boolean umms.core.annotation.BasicAnnotation.contains | ( | Annotation | other | ) |
| other |
Implements umms.core.annotation.Annotation.

| Annotation umms.core.annotation.BasicAnnotation.copy | ( | ) |
Implements umms.core.annotation.Annotation.

|
static |

| List<Annotation> umms.core.annotation.BasicAnnotation.disect | ( | Annotation | a | ) |
Fragments the current annotation if it overlaps the provided one. it returns an empty list if this annotation does not overlap the one passed in.
| Annotation | annotation to disect the current one |
Implements umms.core.annotation.Annotation.

| List<Annotation> umms.core.annotation.BasicAnnotation.disect | ( | List<?extends Annotation > | disectors | ) |
Fragments the current annotation if it overlaps the provided ones. It returns a list with one component (this annotation) if no annotation in the provided list overlaps the discted annotaion.
| List<GenomicAnnotation> | sorted annotations with which to disect the current one. |
Implements umms.core.annotation.Annotation.

|
static |
Create from string produced by AbstractAnnotation.getFullInfoString();
| fullInfoString | Full info string |

| List<? extends Annotation> umms.core.annotation.BasicAnnotation.getBlocks | ( | ) |
Returns unoriented blocks for this gene
Implements umms.core.annotation.Annotation.

| List<? extends Annotation> umms.core.annotation.BasicAnnotation.getBlocks | ( | boolean | oriented | ) |
| oriented | set to true if the list should be ordered according to the annotation orientation and by position |
Implements umms.core.annotation.Annotation.

| int umms.core.annotation.BasicAnnotation.getEnd | ( | ) |
Implements umms.core.annotation.Annotation.

| Annotation [] umms.core.annotation.BasicAnnotation.getFlankingBlocks | ( | Annotation | spliceJunction | ) |
This function returns the blocks on either ends of a given splicejunction
| spliceJunction |

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

| String umms.core.annotation.BasicAnnotation.getName | ( | ) |
Implements umms.core.annotation.Annotation.

| Strand umms.core.annotation.BasicAnnotation.getOrientation | ( | ) |
Implements umms.core.annotation.Annotation.

| int umms.core.annotation.BasicAnnotation.getOverlap | ( | Annotation | other | ) |
Returns the number of bases that overlap between the two annotations.
| other |
Implements umms.core.annotation.Annotation.

| int umms.core.annotation.BasicAnnotation.getPositionAtReferenceCoordinate | ( | int | referenceCoordinate, |
| boolean | ignoreOrientation | ||
| ) |
Implements umms.core.annotation.Annotation.


| int umms.core.annotation.BasicAnnotation.getReferenceCoordinateAtPosition | ( | int | positionInAnnotation, |
| boolean | ignoreOrientation | ||
| ) |
Implements umms.core.annotation.Annotation.


| String umms.core.annotation.BasicAnnotation.getReferenceName | ( | ) |
Implements umms.core.annotation.Annotation.

| double umms.core.annotation.BasicAnnotation.getScore | ( | ) |
| Collection<? extends Annotation> umms.core.annotation.BasicAnnotation.getSpliceConnections | ( | ) |
The BasicAnnotation will return the gaps themselves
Implements umms.core.annotation.Annotation.


| int umms.core.annotation.BasicAnnotation.getStart | ( | ) |
Implements umms.core.annotation.Annotation.

| Annotation umms.core.annotation.BasicAnnotation.intersect | ( | Annotation | other | ) |
Returns the result of intersecting this instance with another
| other |
Implements umms.core.annotation.Annotation.

| boolean umms.core.annotation.BasicAnnotation.isUnoriented | ( | ) |
Implements umms.core.annotation.Annotation.

| int umms.core.annotation.BasicAnnotation.length | ( | ) |
Implements umms.core.annotation.Annotation.

|
static |

| Annotation umms.core.annotation.BasicAnnotation.minus | ( | Annotation | other | ) |
Returns the difference (all regions in this genomic annotation not in the given other annotation) between this genomic annotation and the one
| other | - the annotations to take the difference against |
Implements umms.core.annotation.Annotation.


| Annotation umms.core.annotation.BasicAnnotation.minus | ( | Collection<?extends Annotation > | others | ) |
Returns the difference (all regions in this genomic annotation not in the given list) between this genomic annotation and the given list
| others | - the annotations to take the difference against |
Implements umms.core.annotation.Annotation.

| void umms.core.annotation.BasicAnnotation.moveToCoordinate | ( | int | coordinateInReference | ) |
Move an annotation, preserving the relationships between its blocks, to a new coordinate.
| coordinateInReference |
Implements umms.core.annotation.Annotation.
| int umms.core.annotation.BasicAnnotation.numBlocks | ( | ) |
Implements umms.core.annotation.Annotation.

| boolean umms.core.annotation.BasicAnnotation.overlaps | ( | Annotation | other, |
| int | buffer, | ||
| boolean | considerOrientation | ||
| ) |
Implements umms.core.annotation.Annotation.


| boolean umms.core.annotation.BasicAnnotation.overlaps | ( | List<?extends Annotation > | otherBlocks, |
| int | buffer | ||
| ) |

| void umms.core.annotation.BasicAnnotation.setEnd | ( | int | end | ) |
Sets a new end position. Will delete and/or truncate blocks if the new end position is less than the old one. Will extend the last block if the new end position is greater than old one.
| new | end position (ignoring orientation) of the annotation |
Implements umms.core.annotation.Annotation.

| void umms.core.annotation.BasicAnnotation.setName | ( | String | name | ) |
| name | name of the annotation |
Implements umms.core.annotation.Annotation.

| void umms.core.annotation.BasicAnnotation.setOrientation | ( | Strand | orientation | ) |
| void umms.core.annotation.BasicAnnotation.setOrientedEnd | ( | int | orientedEnd | ) |
| void umms.core.annotation.BasicAnnotation.setOrientedStart | ( | int | orientedStart | ) |
| void umms.core.annotation.BasicAnnotation.setReferenceName | ( | String | refName | ) |
| refName | name of the reference sequence / chromosome |
Implements umms.core.annotation.Annotation.

| void umms.core.annotation.BasicAnnotation.setScore | ( | double | s | ) |
| void umms.core.annotation.BasicAnnotation.setStart | ( | int | start | ) |
Sets a new start position. Will delete and/or truncate blocks if the new start position is greater than the old one. Will extend the first block if the new start position is less than old one.
| new | start position (ignoring orientation) of the annotation |
Implements umms.core.annotation.Annotation.

| void umms.core.annotation.BasicAnnotation.shift | ( | int | delta | ) |
Shift the positioning of the annotation by a given number of base pairs.
| delta | Positive or negative shift to apply to all blocks in the annotation. delta=0
|
Implements umms.core.annotation.Annotation.
| void umms.core.annotation.BasicAnnotation.stitchTo | ( | Annotation | next | ) |
| String umms.core.annotation.BasicAnnotation.toString | ( | ) |

| Annotation umms.core.annotation.BasicAnnotation.union | ( | Annotation | other | ) |
| other |
Implements umms.core.annotation.Annotation.

|
protected |
1.8.7