<xs:attribute name="markUnlinked" type="xs:boolean" />
<xs:attribute name="fitToWindow" type="xs:boolean" />
<xs:attribute name="currentTree" type="xs:boolean" />
+ <xs:attribute name="columnWise" type="xs:boolean" use="optional" default="false"><xs:annotation><xs:documentation>Set for trees associated with columns of an alignment, sequence or annotation row</xs:documentation></xs:annotation></xs:attribute>
+ <xs:attribute name="columnReference" type="xs:string" use="optional"><xs:annotation><xs:documentation>Refers to annotation row the tree is provided by</xs:documentation></xs:annotation></xs:attribute>
<xs:attribute name="id" type="xs:ID" use="optional">
<xs:annotation>
<xs:documentation>
{
int x = 4, y = 5;
int w = 400, h = 500;
+
try
{
NewickFile fin = new NewickFile(
- new FileParse(cm.getNewickString(), DataSourceType.PASTE));
- fin.parse();
- if (fin.getTree() == null)
- {
- return;
- }
+ new FileParse(cm.getNewick(), DataSourceType.PASTE));
String title = "PAE Matrix Tree for "
+ cm.getReferenceSeq().getDisplayId(false);
- TreePanel tp = new TreePanel(alignPanel, fin, aa, title);
-
- tp.setSize(w, h);
-
- if (x > 0 && y > 0)
- {
- tp.setLocation(x, y);
- }
- Desktop.addInternalFrame(tp, title, w, h);
+ showColumnWiseTree(fin, aa, title, w,h, x,y);
} catch (Throwable xx)
{
Console.error("Unexpected exception showing tree for contact matrix",
xx);
}
+ }
+ public TreePanel showColumnWiseTree(NewickFile nf, AlignmentAnnotation aa, String treeTitle,
+ int w, int h, int x, int y)
+ {
+ try
+ {
+ nf.parse();
+ if (nf.getTree() == null)
+ {
+ return null;
+ }
+ TreePanel tp = new TreePanel(alignPanel, nf, aa, title);
+
+ tp.setSize(w, h);
+
+ if (x > 0 && y > 0)
+ {
+ tp.setLocation(x, y);
+ }
+ Desktop.addInternalFrame(tp, title, w, h);
+ return tp;
+ } catch (Throwable xx)
+ {
+ Console.error("Unexpected exception showing tree for contact matrix",
+ xx);
+ }
+ return null;
}
+
private boolean buildingMenu = false;
/**
{
final PAEContactMatrix cm = (PAEContactMatrix) av
.getContactMatrix(aa[selectedRow]);
- if (cm.getNewickString()!=null && cm.getNewickString().length()>0)
+ if (cm.getNewick()!=null && cm.getNewick().length()>0)
{
item = new JMenuItem("Show Matrix");
item.addActionListener(new ActionListener()
// Colour selected leaves differently
boolean isSelected = false;
- if (tp.getColumnWise())
+ if (tp.isColumnWise())
{
isSelected = isColumnForNodeSelected(node);
}
else
{
Vector<BinaryNode> leaves = tree.findLeaves(highlightNode);
- if (tp.getColumnWise()) {
+ if (tp.isColumnWise()) {
markColumnsFor(getAssociatedPanels(), leaves, Color.red);
} else {
for (int i = 0; i < leaves.size(); i++)
setColor(groups.get(i), col.brighter());
Vector<BinaryNode> l = tree.findLeaves(groups.get(i));
- if (!tp.getColumnWise()) {
+ if (!tp.isColumnWise()) {
createSeqGroupFor(aps, l, col);
} else {
markColumnsFor(aps,l,col);
public TreePanel(AlignmentPanel alignPanel, NewickFile fin,
AlignmentAnnotation aa, String title)
{
- this(alignPanel, fin, title, null);
+ super();
columnWise=true;
assocAnnotation = aa;
-
-
+ this.setFrameIcon(null);
+ this.treeTitle = title;
+ initTreePanel(alignPanel, null, null, fin, null);
}
+
boolean columnWise=false;
AlignmentAnnotation assocAnnotation=null;
- public boolean getColumnWise()
+ public boolean isColumnWise()
{
return columnWise;
}
+ public AlignmentAnnotation getAssocAnnotation() {
+ return assocAnnotation;
+ }
public AlignmentI getAlignment()
{
this.treeType = type;
this.scoreModelName = modelName;
+ if (columnWise)
+ {
+ bootstrapMenu.setVisible(false);
+ placeholdersMenu.setSelected(false);
+ placeholdersMenu.setVisible(false);
+ fitToWindow.setSelected(false);
+ sortAssocViews.setVisible(false);
+ }
+
treeCanvas = new TreeCanvas(this, ap, scrollPane);
scrollPane.setViewportView(treeCanvas);
tree.setLinkToAllViews(
tp.getTreeCanvas().isApplyToAllViews());
+ // columnWiseTree
+ if (tp.isColumnWise())
+ {
+ tree.setColumnWise(true);
+ String annId = tp.getAssocAnnotation().annotationId;
+ tree.setColumnReference(annId);
+ }
// jms.addTree(tree);
object.getTree().add(tree);
}
TreePanel tp = (TreePanel) retrieveExistingObj(tree.getId());
if (tp == null)
{
- tp = af.showNewickTree(new NewickFile(tree.getNewick()),
- tree.getTitle(), safeInt(tree.getWidth()),
- safeInt(tree.getHeight()), safeInt(tree.getXpos()),
- safeInt(tree.getYpos()));
+ if (tree.isColumnWise())
+ {
+ AlignmentAnnotation aa = (AlignmentAnnotation) annotationIds.get(tree
+ .getColumnReference());
+ if (aa == null)
+ {
+ Console.warn(
+ "Null alignment annotation when restoring columnwise tree");
+ }
+ tp = af.showColumnWiseTree(new NewickFile(tree.getNewick()), aa,
+ tree.getTitle(), safeInt(tree.getWidth()),
+ safeInt(tree.getHeight()), safeInt(tree.getXpos()),
+ safeInt(tree.getYpos()));
+
+ }
+ else
+ {
+ tp = af.showNewickTree(new NewickFile(tree.getNewick()),
+ tree.getTitle(), safeInt(tree.getWidth()),
+ safeInt(tree.getHeight()), safeInt(tree.getXpos()),
+ safeInt(tree.getYpos()));
+ }
if (tree.getId() != null)
{
// perhaps bind the tree id to something ?
return groups!=null;
}
String newick=null;
- public String getNewickString()
+ @Override
+ public String getNewick()
{
return newick;
}
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:03 AM GMT
+// Generated on: 2023.03.17 at 05:31:45 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:03 AM GMT
+// Generated on: 2023.03.17 at 05:31:45 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:03 AM GMT
+// Generated on: 2023.03.17 at 05:31:45 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:03 AM GMT
+// Generated on: 2023.03.17 at 05:31:45 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:03 AM GMT
+// Generated on: 2023.03.17 at 05:31:45 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
* <attribute name="markUnlinked" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="fitToWindow" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="currentTree" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="columnWise" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="columnReference" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
* <attribute name="linkToAllViews" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* </restriction>
* </element>
* <element name="pcaData" type="{www.jalview.org}PcaDataType"/>
* </sequence>
- * <attGroup ref="{www.jalview.org}swingwindow"/>
* <attGroup ref="{www.jalview.org}SimilarityParams"/>
+ * <attGroup ref="{www.jalview.org}swingwindow"/>
* <attribute name="title" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="scoreModelName" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="xDim" type="{http://www.w3.org/2001/XMLSchema}int" />
* </element>
* <element name="pcaData" type="{www.jalview.org}PcaDataType"/>
* </sequence>
- * <attGroup ref="{www.jalview.org}swingwindow"/>
* <attGroup ref="{www.jalview.org}SimilarityParams"/>
+ * <attGroup ref="{www.jalview.org}swingwindow"/>
* <attribute name="title" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="scoreModelName" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="xDim" type="{http://www.w3.org/2001/XMLSchema}int" />
protected Boolean showLabels;
@XmlAttribute(name = "linkToAllViews")
protected Boolean linkToAllViews;
- @XmlAttribute(name = "width")
- protected Integer width;
- @XmlAttribute(name = "height")
- protected Integer height;
- @XmlAttribute(name = "xpos")
- protected Integer xpos;
- @XmlAttribute(name = "ypos")
- protected Integer ypos;
@XmlAttribute(name = "includeGaps")
protected Boolean includeGaps;
@XmlAttribute(name = "matchGaps")
protected Boolean includeGappedColumns;
@XmlAttribute(name = "denominateByShortestLength")
protected Boolean denominateByShortestLength;
+ @XmlAttribute(name = "width")
+ protected Integer width;
+ @XmlAttribute(name = "height")
+ protected Integer height;
+ @XmlAttribute(name = "xpos")
+ protected Integer xpos;
+ @XmlAttribute(name = "ypos")
+ protected Integer ypos;
/**
* Gets the value of the sequencePoint property.
}
/**
- * Gets the value of the width property.
+ * Gets the value of the includeGaps property.
*
* @return
* possible object is
- * {@link Integer }
+ * {@link Boolean }
*
*/
- public Integer getWidth() {
- return width;
+ public Boolean isIncludeGaps() {
+ return includeGaps;
}
/**
- * Sets the value of the width property.
+ * Sets the value of the includeGaps property.
*
* @param value
* allowed object is
- * {@link Integer }
+ * {@link Boolean }
*
*/
- public void setWidth(Integer value) {
- this.width = value;
+ public void setIncludeGaps(Boolean value) {
+ this.includeGaps = value;
}
/**
- * Gets the value of the height property.
+ * Gets the value of the matchGaps property.
*
* @return
* possible object is
- * {@link Integer }
+ * {@link Boolean }
*
*/
- public Integer getHeight() {
- return height;
+ public Boolean isMatchGaps() {
+ return matchGaps;
}
/**
- * Sets the value of the height property.
+ * Sets the value of the matchGaps property.
*
* @param value
* allowed object is
- * {@link Integer }
+ * {@link Boolean }
*
*/
- public void setHeight(Integer value) {
- this.height = value;
+ public void setMatchGaps(Boolean value) {
+ this.matchGaps = value;
}
/**
- * Gets the value of the xpos property.
+ * Gets the value of the includeGappedColumns property.
*
* @return
* possible object is
- * {@link Integer }
+ * {@link Boolean }
*
*/
- public Integer getXpos() {
- return xpos;
+ public Boolean isIncludeGappedColumns() {
+ return includeGappedColumns;
}
/**
- * Sets the value of the xpos property.
+ * Sets the value of the includeGappedColumns property.
*
* @param value
* allowed object is
- * {@link Integer }
+ * {@link Boolean }
*
*/
- public void setXpos(Integer value) {
- this.xpos = value;
+ public void setIncludeGappedColumns(Boolean value) {
+ this.includeGappedColumns = value;
}
/**
- * Gets the value of the ypos property.
+ * Gets the value of the denominateByShortestLength property.
*
* @return
* possible object is
- * {@link Integer }
+ * {@link Boolean }
*
*/
- public Integer getYpos() {
- return ypos;
+ public Boolean isDenominateByShortestLength() {
+ return denominateByShortestLength;
}
/**
- * Sets the value of the ypos property.
+ * Sets the value of the denominateByShortestLength property.
*
* @param value
* allowed object is
- * {@link Integer }
+ * {@link Boolean }
*
*/
- public void setYpos(Integer value) {
- this.ypos = value;
+ public void setDenominateByShortestLength(Boolean value) {
+ this.denominateByShortestLength = value;
}
/**
- * Gets the value of the includeGaps property.
+ * Gets the value of the width property.
*
* @return
* possible object is
- * {@link Boolean }
+ * {@link Integer }
*
*/
- public Boolean isIncludeGaps() {
- return includeGaps;
+ public Integer getWidth() {
+ return width;
}
/**
- * Sets the value of the includeGaps property.
+ * Sets the value of the width property.
*
* @param value
* allowed object is
- * {@link Boolean }
+ * {@link Integer }
*
*/
- public void setIncludeGaps(Boolean value) {
- this.includeGaps = value;
+ public void setWidth(Integer value) {
+ this.width = value;
}
/**
- * Gets the value of the matchGaps property.
+ * Gets the value of the height property.
*
* @return
* possible object is
- * {@link Boolean }
+ * {@link Integer }
*
*/
- public Boolean isMatchGaps() {
- return matchGaps;
+ public Integer getHeight() {
+ return height;
}
/**
- * Sets the value of the matchGaps property.
+ * Sets the value of the height property.
*
* @param value
* allowed object is
- * {@link Boolean }
+ * {@link Integer }
*
*/
- public void setMatchGaps(Boolean value) {
- this.matchGaps = value;
+ public void setHeight(Integer value) {
+ this.height = value;
}
/**
- * Gets the value of the includeGappedColumns property.
+ * Gets the value of the xpos property.
*
* @return
* possible object is
- * {@link Boolean }
+ * {@link Integer }
*
*/
- public Boolean isIncludeGappedColumns() {
- return includeGappedColumns;
+ public Integer getXpos() {
+ return xpos;
}
/**
- * Sets the value of the includeGappedColumns property.
+ * Sets the value of the xpos property.
*
* @param value
* allowed object is
- * {@link Boolean }
+ * {@link Integer }
*
*/
- public void setIncludeGappedColumns(Boolean value) {
- this.includeGappedColumns = value;
+ public void setXpos(Integer value) {
+ this.xpos = value;
}
/**
- * Gets the value of the denominateByShortestLength property.
+ * Gets the value of the ypos property.
*
* @return
* possible object is
- * {@link Boolean }
+ * {@link Integer }
*
*/
- public Boolean isDenominateByShortestLength() {
- return denominateByShortestLength;
+ public Integer getYpos() {
+ return ypos;
}
/**
- * Sets the value of the denominateByShortestLength property.
+ * Sets the value of the ypos property.
*
* @param value
* allowed object is
- * {@link Boolean }
+ * {@link Integer }
*
*/
- public void setDenominateByShortestLength(Boolean value) {
- this.denominateByShortestLength = value;
+ public void setYpos(Integer value) {
+ this.ypos = value;
}
* <attribute name="markUnlinked" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="fitToWindow" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="currentTree" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="columnWise" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="columnReference" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
* <attribute name="linkToAllViews" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* </restriction>
protected Boolean fitToWindow;
@XmlAttribute(name = "currentTree")
protected Boolean currentTree;
+ @XmlAttribute(name = "columnWise")
+ protected Boolean columnWise;
+ @XmlAttribute(name = "columnReference")
+ protected String columnReference;
@XmlAttribute(name = "id")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
}
/**
+ * Gets the value of the columnWise property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isColumnWise() {
+ if (columnWise == null) {
+ return false;
+ } else {
+ return columnWise;
+ }
+ }
+
+ /**
+ * Sets the value of the columnWise property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setColumnWise(Boolean value) {
+ this.columnWise = value;
+ }
+
+ /**
+ * Gets the value of the columnReference property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getColumnReference() {
+ return columnReference;
+ }
+
+ /**
+ * Sets the value of the columnReference property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setColumnReference(String value) {
+ this.columnReference = value;
+ }
+
+ /**
* Gets the value of the id property.
*
* @return
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:02 AM GMT
+// Generated on: 2023.03.17 at 05:31:44 PM GMT
//
@javax.xml.bind.annotation.XmlSchema(namespace = "www.vamsas.ac.uk/jalview/version2", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2023.03.09 at 07:45:04 AM GMT
+// Generated on: 2023.03.17 at 05:31:46 PM GMT
//
@javax.xml.bind.annotation.XmlSchema(namespace = "http://uniprot.org/uniprot", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
float[][] vals = ContactMatrix.fromFloatStringToContacts(content, sq.getLength(), sq.getLength());
assertEquals(vals[3][4],paevals[3][4]);
dummyMat.makeGroups(0.5f, false);
+ Assert.assertNotSame(dummyMat.getNewick(), "");
AlignmentAnnotation paeCm = sq.addContactList(dummyMat);
al.addAnnotation(paeCm);
File tfile = File.createTempFile("testStoreAndRecoverPAEmatrix",