Skip to content

Commit e80f5a4

Browse files
committed
Use homologous structure derived matrix HSDM for msa tree building
1 parent f0a0daf commit e80f5a4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

biojava-structure-gui/src/main/java/org/biojava/nbio/structure/align/gui/jmol/MultipleAlignmentJmol.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ public void actionPerformed(ActionEvent ae) {
415415
Phylogeny kimura = MultipleAlignmentTools
416416
.getKimuraTree(multAln);
417417
Phylogeny sdm = MultipleAlignmentTools
418-
.getSDMTree(multAln);
418+
.getHSDMTree(multAln);
419419
// Phylogeny structural = MultipleAlignmentTools
420420
// .getStructuralTree(multAln);
421421

biojava-structure/src/main/java/org/biojava/nbio/structure/align/multiple/util/MultipleAlignmentTools.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -877,15 +877,15 @@ public static Phylogeny getKimuraTree(MultipleAlignment msta)
877877
* @throws CompoundNotFoundException
878878
* @throws IOException
879879
*/
880-
public static Phylogeny getSDMTree(MultipleAlignment msta)
880+
public static Phylogeny getHSDMTree(MultipleAlignment msta)
881881
throws CompoundNotFoundException, IOException {
882882
MultipleSequenceAlignment<ProteinSequence, AminoAcidCompound> msa = MultipleAlignmentTools
883883
.toProteinMSA(msta);
884884
BasicSymmetricalDistanceMatrix distmat = (BasicSymmetricalDistanceMatrix) DistanceMatrixCalculator
885-
.dissimilarityScore(msa, SubstitutionMatrixHelper.getAminoAcidSubstitutionMatrix("PRLA000101"));
885+
.dissimilarityScore(msa, SubstitutionMatrixHelper.getAminoAcidSubstitutionMatrix("PRLA000102"));
886886
Phylogeny tree = TreeConstructor.distanceTree(distmat,
887887
TreeConstructorType.NJ);
888-
tree.setName("SDM Tree");
888+
tree.setName("HSDM Tree");
889889
return tree;
890890
}
891891

0 commit comments

Comments
 (0)