From 2ca2207a05be706b6b068839e9f752d8c0744315 Mon Sep 17 00:00:00 2001 From: jprocter Date: Sun, 2 Sep 2012 14:32:27 +0100 Subject: [PATCH] JAL-659 cope with case insensitive accessions by forcing to uppercase --- src/jalview/ws/DasSequenceFeatureFetcher.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/jalview/ws/DasSequenceFeatureFetcher.java b/src/jalview/ws/DasSequenceFeatureFetcher.java index bef6425..6a31956 100644 --- a/src/jalview/ws/DasSequenceFeatureFetcher.java +++ b/src/jalview/ws/DasSequenceFeatureFetcher.java @@ -449,6 +449,10 @@ public class DasSequenceFeatureFetcher for (SEGMENT seg : segments) { String id = seg.getId(); + if (ids.indexOf(id)==-1) + { + id=id.toUpperCase(); + } DBRefEntry dbref = idobj.get(ids.indexOf(id)); SequenceI sequence = sequencemap.get(id); boolean added = false; -- 1.7.10.2