Class RogidGenerator
- java.lang.Object
-
- psidev.psi.mi.jami.utils.checksum.RogidGenerator
-
public class RogidGenerator extends Object
Rogid generator- Since:
10/09/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description RogidGenerator()
Constructor for RogidGenerator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
calculateSeguid(String sequence)
calculates the Seguid for the given protein sequenceString
computeRogidFrom(String sequence, String taxid)
calculate Rogid for the give protein sequence+taxid Rogid = Sequid + taxid
-
-
-
Method Detail
-
calculateSeguid
public String calculateSeguid(String sequence) throws SeguidException
calculates the Seguid for the given protein sequence- Parameters:
sequence
- rogid sequence- Returns:
- Seguid
- Throws:
SeguidException
- handled by psidev.psi.mi.jami.utils.checksum.SeguidException class
-
computeRogidFrom
public String computeRogidFrom(String sequence, String taxid) throws SeguidException
calculate Rogid for the give protein sequence+taxid Rogid = Sequid + taxid- Parameters:
sequence
- protein sequencetaxid
- taxonomy id- Returns:
- Rogid
- Throws:
SeguidException
- handled by psidev.psi.mi.jami.utils.checksum.SeguidException class
-
-