From: amwaterhouse Date: Mon, 21 Aug 2006 14:39:36 +0000 (+0000) Subject: Add uniprot DBref X-Git-Tag: Release_2_1~17 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=5ae7fc3b4050c0ed10c9e6ad96f4b5360bce5f84;p=jalview.git Add uniprot DBref --- diff --git a/src/jalview/gui/SequenceFetcher.java b/src/jalview/gui/SequenceFetcher.java index f3d8e29..d530b84 100755 --- a/src/jalview/gui/SequenceFetcher.java +++ b/src/jalview/gui/SequenceFetcher.java @@ -301,6 +301,17 @@ public class SequenceFetcher onlyPdbEntries.addElement(pdb); } + Enumeration en2 = entry.getAccession().elements(); + while (en2.hasMoreElements()) + { + sequence[i].getDatasetSequence().addDBRef(new DBRefEntry(DBRefSource.UNIPROT, + "0", + en2.nextElement().toString())); + } + + + + sequence[i].getDatasetSequence().setPDBId(onlyPdbEntries); if (entry.getFeature() != null) {