X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fapi%2FSiftsClientI.java;h=dad434ac9f16c097c84019b53656247552a576bb;hb=fe502057b727c83ac79ce3f541a8acd9ae766abf;hp=8a246e1e095c3c03c429b8090a8361685ad25092;hpb=9b6d2ddd33ba5e479953700040e1129847e47a06;p=jalview.git diff --git a/src/jalview/api/SiftsClientI.java b/src/jalview/api/SiftsClientI.java index 8a246e1..dad434a 100644 --- a/src/jalview/api/SiftsClientI.java +++ b/src/jalview/api/SiftsClientI.java @@ -26,8 +26,11 @@ import jalview.ws.sifts.MappingOutputPojo; import jalview.ws.sifts.SiftsException; import jalview.xml.binding.sifts.Entry.Entity; +import java.util.HashMap; import java.util.HashSet; +// JBPComment: this isn't a top-level Jalview API - should be in its own package api + public interface SiftsClientI { /** @@ -44,12 +47,6 @@ public interface SiftsClientI */ public String getDbCoordSys(); - /** - * Get DB Evidence for the SIFTs Entry - * - * @return - */ - public String getDbEvidence(); /** * Get DB Source for the SIFTs Entry @@ -95,22 +92,17 @@ public interface SiftsClientI * @param accessionId * @return */ - public boolean isFoundInSiftsEntry(String accessionId); - - /** - * Get the standard DB referenced by the SIFTs Entry - * - * @return - */ - public String[] getEntryDBs(); + public boolean isAccessionMatched(String accessionId); /** * * @param mop * MappingOutputPojo * @return Sequence<->Structure mapping as int[][] + * @throws SiftsException */ - public StringBuffer getMappingOutput(MappingOutputPojo mop); + public StringBuffer getMappingOutput(MappingOutputPojo mop) + throws SiftsException; /** * @@ -136,6 +128,7 @@ public interface SiftsClientI * @return generated mapping * @throws Exception */ - public int[][] getGreedyMapping(String entityId, SequenceI seq, + public HashMap getGreedyMapping(String entityId, + SequenceI seq, java.io.PrintStream os) throws SiftsException; } \ No newline at end of file