foresterSeq.setName(jalviewSequence.getDescription());
}
foresterSeq.setMolecularSequenceAligned(sequenceIsAligned); // all tree
- // sequences
- // should
- // be aligned already
+ // sequences
+ // should
+ // be aligned
+ // already
foresterSeq.setMolecularSequence(jalviewSequence.getSequenceAsString());
if (jalviewSequence.isProtein()) // add checks for DNA or RNA (infer from
// forester itself?)
final MatrixI jalviewInputMatrix,
final String[] matrixIdentifiers)
{
- if (jalviewInputMatrix.width() != jalviewInputMatrix.height())
- {
- // some kind of warning?
- }
DistanceMatrix foresterMatrix = new ForesterMatrix(jalviewInputMatrix,
matrixIdentifiers);
final MatrixI jalviewInputMatrix,
final SequenceI[] matrixSequences)
{
- if (jalviewInputMatrix.width() != jalviewInputMatrix.height())
- {
- // some kind of warning?
- }
DistanceMatrix foresterMatrix = new ForesterMatrix(jalviewInputMatrix,
matrixSequences);
return foresterMatrix;