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:
06c48f6
)
JAL-2137 create 1:1 mapping between model and query sequence
author
Jim Procter
<jprocter@issues.jalview.org>
Mon, 4 Jul 2016 11:54:20 +0000
(12:54 +0100)
committer
Jim Procter
<jprocter@issues.jalview.org>
Mon, 4 Jul 2016 11:54:20 +0000
(12:54 +0100)
src/jalview/io/AnnotationFile.java
patch
|
blob
|
history
diff --git
a/src/jalview/io/AnnotationFile.java
b/src/jalview/io/AnnotationFile.java
index
c104fb2
..
3bb41c4
100755
(executable)
--- a/
src/jalview/io/AnnotationFile.java
+++ b/
src/jalview/io/AnnotationFile.java
@@
-36,6
+36,7
@@
import jalview.schemes.ColourSchemeI;
import jalview.schemes.ColourSchemeProperty;
import jalview.schemes.ResidueProperties;
import jalview.schemes.UserColourScheme;
import jalview.schemes.ColourSchemeProperty;
import jalview.schemes.ResidueProperties;
import jalview.schemes.UserColourScheme;
+import jalview.structure.StructureSelectionManager;
import java.io.BufferedReader;
import java.io.File;
import java.io.BufferedReader;
import java.io.File;
@@
-1306,7
+1307,11
@@
public class AnnotationFile
}
else
{
}
else
{
- // assume 1:1 - so synthesise sequences to use to construct mapping ?
+ // assume 1:1 - so synthesise sequences to use to construct mapping
+ StructureFile pdbf = StructureSelectionManager
+ .getStructureSelectionManager().setMapping(false,
+ new SequenceI[] { refSeq2.getDatasetSequence() },
+ null, modelPath, modelProt);
refSeq2.getDatasetSequence().addPDBId(modelpe);
if (templateSeq == null && tPw != null)
{
refSeq2.getDatasetSequence().addPDBId(modelpe);
if (templateSeq == null && tPw != null)
{