*/
package jalview.datamodel;
-import jalview.analysis.AlignmentUtils;
-import jalview.datamodel.AlignedCodonFrame.SequenceToSequenceMapping;
-import jalview.io.FastaFile;
-import jalview.util.Comparison;
-import jalview.util.LinkedIdentityHashSet;
-import jalview.util.MessageManager;
-
import java.util.ArrayList;
import java.util.Arrays;
import java.util.BitSet;
import java.util.Set;
import java.util.Vector;
+import jalview.analysis.AlignmentUtils;
+import jalview.datamodel.AlignedCodonFrame.SequenceToSequenceMapping;
+import jalview.io.FastaFile;
+import jalview.util.Comparison;
+import jalview.util.LinkedIdentityHashSet;
+import jalview.util.MessageManager;
+
/**
* Data structure to hold and manipulate a multiple sequence alignment
*/
@Override
public boolean setHiddenColumns(HiddenColumns cols)
{
- boolean changed = cols == null ? hiddenCols != null
- : !cols.equals(hiddenCols);
- hiddenCols = cols;
- return changed;
+ boolean changed = cols == null ? hiddenCols != null
+ : !cols.equals(hiddenCols);
+ hiddenCols = cols;
+ return changed;
}
+
@Override
public void setupJPredAlignment()
{
Map<Object, ContactMatrixI> contactmaps = new HashMap<>();
@Override
- public
- ContactListI getContactListFor(AlignmentAnnotation _aa, int column)
+ public ContactListI getContactListFor(AlignmentAnnotation _aa, int column)
{
ContactMatrixI cm = contactmaps.get(_aa.annotationId);
if (cm == null)
aa.editable = false;
// aa.autoCalculated = true;
contactmaps.put(aa.annotationId, cm);
- // TODO: contact matrices could be intra or inter - more than one refseq possible!
+ // TODO: contact matrices could be intra or inter - more than one refseq
+ // possible!
if (cm.hasReferenceSeq())
{
aa.setSequenceRef(cm.getReferenceSeq());