public abstract class AbstractULAlignment extends AbstractSymbolList implements UnequalLengthAlignment
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractULAlignment.LeftRightLocationComparator<T>
Orders by location left to right.
|
class |
AbstractULAlignment.SubULAlignment |
AbstractSymbolList.EditScreener, AbstractSymbolList.EditTranslaterAlignment.SymbolListIterator| Modifier and Type | Field and Description |
|---|---|
protected Alphabet |
alphabet |
EDIT, EMPTY_LIST| Constructor and Description |
|---|
AbstractULAlignment() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
debug(String s) |
List<String> |
labelsAt(int column)
Returns a list labels, of all seqs that cover that column
|
List<String> |
labelsInRange(Location loc)
Returns list of all the labels that intersect that range
|
Object |
leftMost()
leftMost and rightMost return labels.
|
SortedSet<String> |
orderedLables(Comparator<String> comp) |
Object |
rightMost() |
Alignment |
subAlignment(Set<String> labels,
int min,
int max)
Retreives a subAlignment
|
Alignment |
subAlignment(Set<String> labels,
Location loc)
Retrieves a subalignment specified by the location.
|
Symbol |
symbolAt(int index)
this will return the ambiguity symbol associated with all symbols in that
column
|
Iterator<SymbolList> |
symbolListIterator()
Creates an Iterator over the SymbolLists in the alignment.
|
edit, equals, hashCode, iterator, seqString, subList, subStr, toList, toStringaddChangeListener, addChangeListener, generateChangeSupport, getChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListenerclone, finalize, getClass, notify, notifyAll, wait, wait, waitlocInAlignmentgetLabels, symbolAt, symbolListForLabeledit, getAlphabet, iterator, length, seqString, subList, subStr, toListaddChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListenerpublic AbstractULAlignment()
public Symbol symbolAt(int index)
symbolAt in interface SymbolListindex - the offset into this SymbolListpublic List<String> labelsAt(int column)
UnequalLengthAlignmentlabelsAt in interface UnequalLengthAlignmentpublic List<String> labelsInRange(Location loc)
UnequalLengthAlignmentlabelsInRange in interface UnequalLengthAlignmentpublic Iterator<SymbolList> symbolListIterator()
AlignmentsymbolListIterator in interface Alignmentpublic Object leftMost()
public Alignment subAlignment(Set<String> labels, Location loc) throws IndexOutOfBoundsException
WARNING: It is assumed that the location is contiguous. If the location is non-contiguous it may be preferable to use a block iterator to retrieve each sub location independently.
subAlignment in interface Alignmentlabels - the Set of sequences to include by labelloc - the Location to includeIndexOutOfBoundsExceptionsubAlignment(Set labels, int min, int max)public Alignment subAlignment(Set<String> labels, int min, int max) throws NoSuchElementException
labels - the labels of the SymbolLists to be in the
Alignmentmin - the left most coordinatemax - the right most coordinateNoSuchElementException - if one of the values in labels is not in the
parent alignmentpublic SortedSet<String> orderedLables(Comparator<String> comp)
comp - Copyright © 2014 BioJava. All rights reserved.