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
(parent:
a531ac7
)
JAL-4220 if a threshold is defined, use it to show - for symbols present below assign...
author
James Procter
<j.procter@dundee.ac.uk>
Thu, 6 Jul 2023 13:49:36 +0000
(14:49 +0100)
committer
James Procter
<j.procter@dundee.ac.uk>
Thu, 6 Jul 2023 13:49:36 +0000
(14:49 +0100)
src/jalview/analysis/AAFrequency.java
patch
|
blob
|
history
diff --git
a/src/jalview/analysis/AAFrequency.java
b/src/jalview/analysis/AAFrequency.java
index
b1505d6
..
aa0deed
100755
(executable)
--- a/
src/jalview/analysis/AAFrequency.java
+++ b/
src/jalview/analysis/AAFrequency.java
@@
-252,6
+252,11
@@
public class AAFrequency
return;
}
+ float threshhold = 100;
+ if (consensus.getThreshold()!=null)
+ {
+ threshhold = consensus.getThreshold().value;
+ }
for (int i = startCol; i < endCol; i++)
{
ProfileI profile = profiles.get(i);
@@
-273,7
+278,7
@@
public class AAFrequency
ignoreGaps, dp);
String modalResidue = profile.getModalResidue();
- if ("".equals(modalResidue))
+ if ("".equals(modalResidue) || threshhold>value)
{
modalResidue = "-";
}