{
if (!seqcigararray.isSeqCigarArray())
throw new Error("Implementation Error - can only make an alignment view from a CigarArray of sequences.");
- contigs = seqcigararray.applyDeletions();
+ //contigs = seqcigararray.applyDeletions();
+ contigs = seqcigararray.getDeletedRegions();
sequences = seqcigararray.getSeqCigarArray();
}
public Object[] getAlignmentAndColumnSelection(char gapCharacter) {
ColumnSelection colsel = new ColumnSelection();
- return new Object[] { SeqCigar.createAlignmentSequences(sequences, gapCharacter, colsel), colsel};
+ return new Object[] { SeqCigar.createAlignmentSequences(sequences, gapCharacter, colsel, contigs), colsel};
}
/**
* getSequenceStrings