git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
13ae48d
)
allow an existing alignment annotation row to be bound to a sequenceGroup as its...
author
jprocter
<Jim Procter>
Thu, 21 Apr 2011 13:16:27 +0000
(13:16 +0000)
committer
jprocter
<Jim Procter>
Thu, 21 Apr 2011 13:16:27 +0000
(13:16 +0000)
src/jalview/datamodel/SequenceGroup.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/SequenceGroup.java
b/src/jalview/datamodel/SequenceGroup.java
index
7bb9670
..
d253560
100755
(executable)
--- a/
src/jalview/datamodel/SequenceGroup.java
+++ b/
src/jalview/datamodel/SequenceGroup.java
@@
-998,6
+998,18
@@
public class SequenceGroup
private boolean showConsensusHistogram;
/**
private boolean showConsensusHistogram;
/**
+ * set this alignmentAnnotation object as the one used to render consensus annotation
+ * @param aan
+ */
+ public void setConsensus(AlignmentAnnotation aan)
+ {
+ if (consensus==null)
+ {
+ consensus=aan;
+ }
+ }
+
+ /**
*
* @return automatically calculated consensus row
*/
*
* @return automatically calculated consensus row
*/
@@
-1026,6
+1038,17
@@
public class SequenceGroup
}
/**
}
/**
+ * set this alignmentAnnotation object as the one used to render consensus annotation
+ * @param aan
+ */
+ public void setConservationRow(AlignmentAnnotation aan)
+ {
+ if (conservation==null)
+ {
+ conservation=aan;
+ }
+ }
+ /**
* get the conservation annotation row for this group
*
* @return autoCalculated annotation row
* get the conservation annotation row for this group
*
* @return autoCalculated annotation row