Package psidev.psi.mi.jami.utils
Class InteractorUtils
- java.lang.Object
-
- psidev.psi.mi.jami.utils.InteractorUtils
-
public class InteractorUtils extends Object
Factory for interactors- Since:
11/02/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description InteractorUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BioactiveEntity
createBioactiveEntityChebi(String name, String chebi)
createBioactiveEntityChebistatic BioactiveEntity
createBioactiveEntitySmile(String name, String smile)
createBioactiveEntitySmilestatic BioactiveEntity
createBioactiveEntityStandardInchi(String name, String standard)
createBioactiveEntityStandardInchistatic BioactiveEntity
createBioactiveEntityStandardInchiKey(String name, String key)
createBioactiveEntityStandardInchiKeystatic Gene
createGeneEnsembl(String name, String identity)
createGeneEnsemblstatic Gene
createGeneEnsemblGenomes(String name, String identity)
createGeneEnsemblGenomesstatic Gene
createGeneEntrezGene(String name, String identity)
createGeneEntrezGenestatic Gene
createGeneRefseq(String name, String identity)
createGeneRefseqstatic NucleicAcid
createNucleicAcidDdbjEmblGenbank(String name, String identity)
createNucleicAcidDdbjEmblGenbankstatic NucleicAcid
createNucleicAcidRefseq(String name, String identity)
createNucleicAcidRefseqstatic Polymer
createPolymer(String name, String sequence)
createPolymerstatic Protein
createProteinGeneName(String name, String geneName)
createProteinGeneNamestatic Protein
createProteinRefseq(String name, String refseq)
createProteinRefseqstatic Protein
createProteinRogid(String name, String rogid)
createProteinRogidstatic Protein
createProteinUniprot(String name, String uniprot)
createProteinUniprotstatic Interactor
createUnknownBasicInteractor()
createUnknownBasicInteractorstatic boolean
doesInteractorHaveType(Interactor interactor, String typeId, String typeName)
To know if an interactor have a specific interactor type.
-
-
-
Method Detail
-
createUnknownBasicInteractor
public static Interactor createUnknownBasicInteractor()
createUnknownBasicInteractor
- Returns:
- a
Interactor
object.
-
doesInteractorHaveType
public static boolean doesInteractorHaveType(Interactor interactor, String typeId, String typeName)
To know if an interactor have a specific interactor type.- Parameters:
interactor
- aInteractor
object.typeId
- aString
object.typeName
- aString
object.- Returns:
- true if the interactor has the type with given name/identifier
-
createProteinUniprot
public static Protein createProteinUniprot(String name, String uniprot)
createProteinUniprot
-
createProteinRefseq
public static Protein createProteinRefseq(String name, String refseq)
createProteinRefseq
-
createProteinGeneName
public static Protein createProteinGeneName(String name, String geneName)
createProteinGeneName
-
createProteinRogid
public static Protein createProteinRogid(String name, String rogid)
createProteinRogid
-
createBioactiveEntityChebi
public static BioactiveEntity createBioactiveEntityChebi(String name, String chebi)
createBioactiveEntityChebi
- Parameters:
name
- aString
object.chebi
- aString
object.- Returns:
- a
BioactiveEntity
object.
-
createBioactiveEntitySmile
public static BioactiveEntity createBioactiveEntitySmile(String name, String smile)
createBioactiveEntitySmile
- Parameters:
name
- aString
object.smile
- aString
object.- Returns:
- a
BioactiveEntity
object.
-
createBioactiveEntityStandardInchi
public static BioactiveEntity createBioactiveEntityStandardInchi(String name, String standard)
createBioactiveEntityStandardInchi
- Parameters:
name
- aString
object.standard
- aString
object.- Returns:
- a
BioactiveEntity
object.
-
createBioactiveEntityStandardInchiKey
public static BioactiveEntity createBioactiveEntityStandardInchiKey(String name, String key)
createBioactiveEntityStandardInchiKey
- Parameters:
name
- aString
object.key
- aString
object.- Returns:
- a
BioactiveEntity
object.
-
createNucleicAcidDdbjEmblGenbank
public static NucleicAcid createNucleicAcidDdbjEmblGenbank(String name, String identity)
createNucleicAcidDdbjEmblGenbank
- Parameters:
name
- aString
object.identity
- aString
object.- Returns:
- a
NucleicAcid
object.
-
createNucleicAcidRefseq
public static NucleicAcid createNucleicAcidRefseq(String name, String identity)
createNucleicAcidRefseq
- Parameters:
name
- aString
object.identity
- aString
object.- Returns:
- a
NucleicAcid
object.
-
createGeneRefseq
public static Gene createGeneRefseq(String name, String identity)
createGeneRefseq
-
createGeneEnsembl
public static Gene createGeneEnsembl(String name, String identity)
createGeneEnsembl
-
createGeneEnsemblGenomes
public static Gene createGeneEnsemblGenomes(String name, String identity)
createGeneEnsemblGenomes
-
createGeneEntrezGene
public static Gene createGeneEntrezGene(String name, String identity)
createGeneEntrezGene
-
-