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:
95ebc3a
)
JAL-2230 use correct mapping to transfer features to CDS!
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 27 Sep 2016 08:23:55 +0000
(09:23 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 27 Sep 2016 08:23:55 +0000
(09:23 +0100)
src/jalview/analysis/AlignmentUtils.java
patch
|
blob
|
history
diff --git
a/src/jalview/analysis/AlignmentUtils.java
b/src/jalview/analysis/AlignmentUtils.java
index
ea330d8
..
c521d9b
100644
(file)
--- a/
src/jalview/analysis/AlignmentUtils.java
+++ b/
src/jalview/analysis/AlignmentUtils.java
@@
-1731,8
+1731,7
@@
public class AlignmentUtils
*/
AlignedCodonFrame dnaToCdsMapping = new AlignedCodonFrame();
MapList dnaToCdsMap = new MapList(mapList.getFromRanges(),
- cdsRange, 1,
- 1);
+ cdsRange, 1, 1);
dnaToCdsMapping.addMap(dnaSeq.getDatasetSequence(), cdsSeqDss,
dnaToCdsMap);
if (!mappings.contains(dnaToCdsMapping))
@@
-1786,7
+1785,7
@@
public class AlignmentUtils
/*
* transfer any features on dna that overlap the CDS
*/
- transferFeatures(dnaSeq, cdsSeq, cdsToProteinMap, null,
+ transferFeatures(dnaSeq, cdsSeq, dnaToCdsMap, null,
SequenceOntologyI.CDS);
}
}