
Static Public Member Functions | |
| static Map< String, Collection < Gene > > | collapseOverlappers (Map< String, Collection< Gene >> genes, boolean ignoreStrand) |
| static boolean | pairwiseNonoverlappingIgnoreStrand (Collection< Annotation > regions) |
| static Collection< Annotation > | mergeOverlappingBlocks (TreeSet<?extends Annotation > windows) |
| static< TextendsAnnotation > Collection< Annotation > | mergeOverlappingBlocksSingleOrientation (Collection< T > regions, boolean enforceSameOrientation) |
| static< TextendsAnnotation > T | getLargestParent (T child, Map< String, Collection< T >> parents) |
| static< TextendsAnnotation > Map< T, T > | mapChildToLargestParent (Map< String, Collection< T >> children, Map< String, Collection< T >> parents) |
| static< TextendsAnnotation > Collection< T > | getParents (T child, Map< String, Collection< T >> parents) |
| static< TextendsAnnotation > Collection< T > | getChildren (T parent, Map< String, Collection< T >> children) |
| static< TextendsAnnotation > Map< T, Collection< T > > | mapParentsToChildren (Map< String, Collection< T >> children, Map< String, Collection< T >> parents) |
| static< TextendsAnnotation > Map< T, Collection< T > > | mapChildToParents (Map< String, Collection< T >> children, Map< String, Collection< T >> parents) |
| static Map< String, Collection < Annotation > > | loadAnnotations (String bedFile) throws IOException |
| static int | getMidpoint (Annotation annot) |
| static int | getSubAnnotationMidpointWithinAnnotation (Annotation annot, Annotation subAnnot) |
Static Public Attributes | |
| static Logger | logger = Logger.getLogger(AnnotationUtils.class.getName()) |
|
static |

|
static |
Get children of parent annotation
| parent | Parent |
| children | Potential children by chromosome |

|
static |
Get largest parent
| child | Child annotation |
| parents | Possible parent annotations by chromosome |


|
static |
Get midpoint along mature transcript of a spliced annotation
| annot | Annotation |
|
static |
Get parents of child annotation
| child | Child |
| parents | Parents by chromosome |

|
static |
Get midpoint of a sub annotation with respect to a possibly spliced parent annotation Ignores blocks of sub annotation and only considers blocks of parent annotation
| annot | Parent annotation |
| subAnnot | Sub annotation contained in parent annotation |

|
static |
Load annotations in the bed file as annotation objects
| bedFile | Bed file |
| IOException |
|
static |
Map each child annotation to its largest parent defined as annotations overlapping and containing child
| children | Child annotations by chromosome |
| parents | Parent annotations by chromosome |

|
static |
Map each child annotation to its set of parents defined as annotations overlapping and containing child
| <T> | |
| children | Child annotations by chromosome |
| parents | Parent annotations by chromosome |

|
static |
Map each parent annotation to its set of contained children
| <T> | |
| children | Child annotations by chromosome |
| parents | Parent annotations by chromosome |

|
static |
Merge annotations that overlap in the same orientation as each other, and leave singleton windows the same
| windows | Annotation set |

|
static |
Merge annotations that overlap, and leave singleton windows the same All returned annotations will have the same orientation: unknown if not enforcing same orientation, or the common orientation of all input regions if enforcing
| regions | Annotation set |
| enforceSameOrientation | Require that all regions have same orientation to begin with |


|
static |
Check if the entire set is pairwise non-overlapping, ignoring strand
| regions | Set of regions |

|
static |
1.8.7