|
| | MultipleAlignment () |
| |
| | MultipleAlignment (List<?extends MultipleAlignment > alnBlocks, String ref, String[] seqs) |
| |
| void | encode () |
| |
| void | encode (boolean distinguishMissingSequence) |
| |
| void | encodeAsMatrix () |
| |
| void | reverse () |
| |
| int | length () |
| |
| Map< String, Short > | getColumn (int i) |
| |
| Map< String, Matrix > | getColumnsAsVector (int start, int number) throws ArrayIndexOutOfBoundsException |
| |
| Map< String, Matrix > | getAsMatrix () |
| |
| void | addShortEncodedColumn (Map< String, Short > col) |
| |
| void | addShortEncodedColumnMatrix (Map< String, Matrix > col) |
| |
| void | addShortEncodedRegion (Map< String, short[]> region) |
| |
| char | decodeShort (Short nucleotide) |
| |
| void | addSequence (AlignedSequence seq) |
| |
| void | addSequences (List< AlignedSequence > sequences) |
| |
| boolean | isEmpty () |
| |
| void | setIOHelper (MultipleAlignmentIO maio) |
| |
| void | write (BufferedWriter bw) throws IOException |
| |
| void | write (BufferedWriter bw, List< String > order) throws IOException |
| |
| MultipleAlignment | sampleColumns (int colNum, int numConsecutiveCols) |
| |
| void | permuteColumns () |
| |
| float | getScore () |
| |
| void | setScore (float score) |
| |
| AlignedSequence | getAlignedSequence (String containingSequenceId) |
| |
| List< AlignedSequence > | getAlignedSequences () |
| |
| List< String > | getAlignedSequenceIds () |
| |
| boolean | overlaps (SequenceRegion region) |
| |
| String | getReferenceId () |
| |
| void | setReferenceId (String referenceId) |
| |
| int | getReferenceStart () |
| |
| AlignedSequence | getReference () |
| |
| int | getReferenceEnd () |
| |
| boolean | isRefGapped () |
| |
| void | setRefGapped (boolean isRefGapped) |
| |
| MultipleAlignment | getConcatenatedSubAlignment (String refId, List<?extends GenomicAnnotation > annotations) |
| |
| void | compress () |
| |
| void | remove (List< String > removeList) |
| |
| MultipleAlignment | getSubAlignment (int refStart, int refEnd, boolean reverse) |
| |
| int | getNumberOfAligningSequences () |
| |
| MultipleAlignment | getSubAlignment (String refId, int refStart, int refEnd, boolean reverse) |
| |
| void | append (MultipleAlignment other) |
| |
| List< int[]> | getUngappedReferenceIslands () |
| |
| List< int[]> | getUngappedSequenceReferenceIslands () |
| |
| void | introduceGaps (boolean canGapReference, int maxNumberOfGaps) throws IllegalAccessException |
| |
| broad.core.multiplealignment.MultipleAlignment.MultipleAlignment |
( |
| ) |
|
| broad.core.multiplealignment.MultipleAlignment.MultipleAlignment |
( |
List<?extends MultipleAlignment > |
alnBlocks, |
|
|
String |
ref, |
|
|
String[] |
seqs |
|
) |
| |
Constructs a multiple alignment object out of piecemeal multiple alignment blocks with, possible, different number of aligned sequences.
- Parameters
-
| exonAlnBlocks | The blocks to combined into a single multiple alignment block |
| string | reference sequence id |
| seqs | array of sequence ids, the end alignment will include all even in the cases where a sequence alignment is gap only. |
| void broad.core.multiplealignment.MultipleAlignment.addSequence |
( |
AlignedSequence |
seq | ) |
|
| void broad.core.multiplealignment.MultipleAlignment.addSequences |
( |
List< AlignedSequence > |
sequences | ) |
|
| void broad.core.multiplealignment.MultipleAlignment.addShortEncodedColumn |
( |
Map< String, Short > |
col | ) |
|
| void broad.core.multiplealignment.MultipleAlignment.addShortEncodedColumnMatrix |
( |
Map< String, Matrix > |
col | ) |
|
| void broad.core.multiplealignment.MultipleAlignment.addShortEncodedRegion |
( |
Map< String, short[]> |
region | ) |
|
| void broad.core.multiplealignment.MultipleAlignment.append |
( |
MultipleAlignment |
other | ) |
|
| void broad.core.multiplealignment.MultipleAlignment.compress |
( |
| ) |
|
Compresses alignment by removing columns containing reference gaps
| char broad.core.multiplealignment.MultipleAlignment.decodeShort |
( |
Short |
nucleotide | ) |
|
| void broad.core.multiplealignment.MultipleAlignment.encode |
( |
| ) |
|
| void broad.core.multiplealignment.MultipleAlignment.encode |
( |
boolean |
distinguishMissingSequence | ) |
|
| void broad.core.multiplealignment.MultipleAlignment.encodeAsMatrix |
( |
| ) |
|
| AlignedSequence broad.core.multiplealignment.MultipleAlignment.getAlignedSequence |
( |
String |
containingSequenceId | ) |
|
| List<String> broad.core.multiplealignment.MultipleAlignment.getAlignedSequenceIds |
( |
| ) |
|
| List<AlignedSequence> broad.core.multiplealignment.MultipleAlignment.getAlignedSequences |
( |
| ) |
|
| Iterator<AlignedSequence> broad.core.multiplealignment.MultipleAlignment.getAlignedSequences |
( |
String |
refId, |
|
|
int |
refStart, |
|
|
int |
refEnd, |
|
|
boolean |
reverse |
|
) |
| |
|
protected |
| Map<String, Matrix> broad.core.multiplealignment.MultipleAlignment.getAsMatrix |
( |
| ) |
|
| Map<String, Short> broad.core.multiplealignment.MultipleAlignment.getColumn |
( |
int |
i | ) |
|
Assumes that encode has been called and each aligned sequence is encoded
- Parameters
-
| Map<String, Matrix> broad.core.multiplealignment.MultipleAlignment.getColumnsAsVector |
( |
int |
start, |
|
|
int |
number |
|
) |
| throws ArrayIndexOutOfBoundsException |
| int broad.core.multiplealignment.MultipleAlignment.getNumberOfAligningSequences |
( |
| ) |
|
Computes the number of sequences that have aligning bases as opposed to being pure gap
- Returns
- Number of sequences that are not gap only.
| AlignedSequence broad.core.multiplealignment.MultipleAlignment.getReference |
( |
| ) |
|
| int broad.core.multiplealignment.MultipleAlignment.getReferenceEnd |
( |
| ) |
|
| String broad.core.multiplealignment.MultipleAlignment.getReferenceId |
( |
| ) |
|
| int broad.core.multiplealignment.MultipleAlignment.getReferenceStart |
( |
| ) |
|
| float broad.core.multiplealignment.MultipleAlignment.getScore |
( |
| ) |
|
| MultipleAlignment broad.core.multiplealignment.MultipleAlignment.getSubAlignment |
( |
int |
refStart, |
|
|
int |
refEnd, |
|
|
boolean |
reverse |
|
) |
| |
| MultipleAlignment broad.core.multiplealignment.MultipleAlignment.getSubAlignment |
( |
String |
refId, |
|
|
int |
refStart, |
|
|
int |
refEnd, |
|
|
boolean |
reverse |
|
) |
| |
- Parameters
-
| refId | - The sequence id in which coordinates are given |
| refStart | - Start of region of interest in the refId sequence. Positions start in 1. |
| refEnd | - End of region of interest in the refId sequence. Positions start in 1. |
| reverse | - If true the multiple alignment will return all sequences in the opposite strand |
- Returns
- The multiple alignment of the region of interest or an empty alignment if the coordinates do not overlap the refId aligned region.
| List<int[]> broad.core.multiplealignment.MultipleAlignment.getUngappedReferenceIslands |
( |
| ) |
|
Finds the list of ungapped regions in the reference sequence.
- Returns
- A list of two sized integer arrays with the start and end of the ungapped regions. The convention here is semi closed intervals, each list items is of the form [start, end).
| List<int[]> broad.core.multiplealignment.MultipleAlignment.getUngappedSequenceReferenceIslands |
( |
| ) |
|
Finds the list of ungapped sequence (as opposed to alignment gaps) regions in the reference sequence.
- Returns
- A list of two sized integer arrays with the start and end of the ungapped regions. The convention here is semi closed intervals, each list items is of the form [start, end).
| void broad.core.multiplealignment.MultipleAlignment.introduceGaps |
( |
boolean |
canGapReference, |
|
|
int |
maxNumberOfGaps |
|
) |
| throws IllegalAccessException |
| boolean broad.core.multiplealignment.MultipleAlignment.isEmpty |
( |
| ) |
|
| boolean broad.core.multiplealignment.MultipleAlignment.isRefGapped |
( |
| ) |
|
| int broad.core.multiplealignment.MultipleAlignment.length |
( |
| ) |
|
| boolean broad.core.multiplealignment.MultipleAlignment.overlaps |
( |
SequenceRegion |
region | ) |
|
| void broad.core.multiplealignment.MultipleAlignment.permuteColumns |
( |
| ) |
|
| void broad.core.multiplealignment.MultipleAlignment.remove |
( |
List< String > |
removeList | ) |
|
| void broad.core.multiplealignment.MultipleAlignment.reverse |
( |
| ) |
|
| MultipleAlignment broad.core.multiplealignment.MultipleAlignment.sampleColumns |
( |
int |
colNum, |
|
|
int |
numConsecutiveCols |
|
) |
| |
| void broad.core.multiplealignment.MultipleAlignment.setReferenceId |
( |
String |
referenceId | ) |
|
| void broad.core.multiplealignment.MultipleAlignment.setRefGapped |
( |
boolean |
isRefGapped | ) |
|
| void broad.core.multiplealignment.MultipleAlignment.setScore |
( |
float |
score | ) |
|
| void broad.core.multiplealignment.MultipleAlignment.write |
( |
BufferedWriter |
bw | ) |
throws IOException |
| void broad.core.multiplealignment.MultipleAlignment.write |
( |
BufferedWriter |
bw, |
|
|
List< String > |
order |
|
) |
| throws IOException |
| int broad.core.multiplealignment.MultipleAlignment.UNGAPPED_ALPHABET_SIZE = 4 |
|
staticprotected |
The documentation for this class was generated from the following file: