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:
9a47b82
)
JAL-674 note about broken .transfer method (expect this to disappear in future!)
author
Jim Procter
<jprocter@dundee.ac.uk>
Wed, 12 Nov 2014 12:37:12 +0000
(12:37 +0000)
committer
Jim Procter
<jprocter@dundee.ac.uk>
Wed, 12 Nov 2014 12:37:12 +0000
(12:37 +0000)
src/jalview/structure/StructureMapping.java
patch
|
blob
|
history
diff --git
a/src/jalview/structure/StructureMapping.java
b/src/jalview/structure/StructureMapping.java
index
cbc2c00
..
e0033e1
100644
(file)
--- a/
src/jalview/structure/StructureMapping.java
+++ b/
src/jalview/structure/StructureMapping.java
@@
-133,7
+133,10
@@
public class StructureMapping
{
ds = ds.getDatasetSequence();
}
- ala_copy.remap(ds, mapping, 0, -1, 1);
+ // need to relocate annotation from pdb coordinates to local sequence
+ // -1,-1 doesn't look at pdbresnum but fails to remap sequence positions...
+
+ ala_copy.remap(ds, mapping, -1, -1, 0);
ds.addAlignmentAnnotation(ala_copy);
if (ds != sequence)
{