import jalview.datamodel.SequenceI;
import jalview.structure.StructureMapping;
+import jalview.ws.sifts.MappingOutputPojo;
+import jalview.ws.sifts.SiftsException;
import jalview.xml.binding.sifts.Entry.Entity;
import java.util.HashSet;
* @return Entity
* @throws Exception
*/
- public Entity getEntityById(String id) throws Exception;
+ public Entity getEntityById(String id) throws SiftsException;
/**
* Get all accession Ids available in the current SIFTs entry
public String[] getEntryDBs();
/**
- * Get the SIFTs Entry details
- */
- public void getEntryDetails();
-
- /**
*
- * @param seq1
- * Sequence to map
- * @param seq2
- * Structure Sequence
- * @param seqID1
- * sequence id
- * @param seqID2
- * structure sequence id
- * @param seqType
- * type of sequence for the mapping (pep or protein)
- * @param nochunks
- * @return sequence->structure mapping as int [][]
+ * @param mop
+ * MappingOutputPojo
+ * @return Sequence<->Structure mapping as int[][]
*/
- public StringBuffer getMappingOutput(String seq1, String seq2,
- String seqID1, String seqID2, String seqType, int nochunks);
+ public StringBuffer getMappingOutput(MappingOutputPojo mop);
/**
*
* @param chain
* the chain of the entry to use for mapping
* @return StructureMapping
+ * @throws SiftsException
*/
- public StructureMapping getSiftsStructureMapping(SequenceI seq, String pdbFile,
- String chain);
+ public StructureMapping getSiftsStructureMapping(SequenceI seq,
+ String pdbFile, String chain) throws SiftsException;
/**
* Get residue by residue mapping for a given Sequence and SIFTs entity
* @throws Exception
*/
public int[][] getGreedyMapping(String entityId, SequenceI seq,
- java.io.PrintStream os) throws Exception;
+ java.io.PrintStream os) throws SiftsException;
}
\ No newline at end of file