public final class ProteaseManager extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ARG_C |
static String |
ASP_N |
static String |
CHYMOTRYP |
static String |
CNBr |
static String |
GLU_C_BICARB |
static String |
GLU_C_PHOS |
static String |
LYS_C |
static String |
TRYPSIN |
Constructor and Description |
---|
ProteaseManager() |
Modifier and Type | Method and Description |
---|---|
static Protease |
createProtease(String cleaveRes,
boolean endoProtease,
String name) |
static Protease |
createProtease(String cleaveRes,
boolean endoProtease,
String notCleaveRes,
String name) |
static Protease |
createProtease(SymbolList cleaveRes,
boolean endoProtease,
String name) |
static Protease |
createProtease(SymbolList cleaveRes,
boolean endoProtease,
SymbolList notCleaveRes,
String name)
Creates and registers a new Protease.
|
static Set |
getAllProteases() |
static Protease |
getArg_C() |
static Protease |
getAsp_N() |
static Protease |
getChymotrypsin() |
static Protease |
getCNBr() |
static Protease |
getGlu_C_bicarbonate() |
static Protease |
getGlu_C_phosphate() |
static ProteaseManager |
getInstance() |
static Protease |
getLys_C() |
static Set |
getNames() |
static Protease |
getProteaseByName(String proteaseName)
Gets a Protease instance by name.
|
static Protease |
getTrypsin() |
static boolean |
registered(String proteaseName)
Has a Protease been registered with that name?
|
static void |
registerProtease(Protease prot)
Registers a protease and ensures its flyweight status
|
public static final String TRYPSIN
public static final String LYS_C
public static final String ARG_C
public static final String ASP_N
public static final String GLU_C_BICARB
public static final String GLU_C_PHOS
public static final String CHYMOTRYP
public static final String CNBr
public ProteaseManager()
public static Protease createProtease(SymbolList cleaveRes, boolean endoProtease, SymbolList notCleaveRes, String name) throws IllegalSymbolException, BioException
cleaveRes
- the cleavege residuesendoProtease
- is it an endo protease?notCleaveRes
- the exceptions to the cleavage residuesname
- the name of the ProteaseIllegalSymbolException
- if the cleaveRes or notCleaveRes are not
from the PROTEIN alphabetBioException
- if a Protease with the same name already exists.public static Protease createProtease(SymbolList cleaveRes, boolean endoProtease, String name) throws IllegalSymbolException, BioException
IllegalSymbolException
BioException
public static Protease createProtease(String cleaveRes, boolean endoProtease, String notCleaveRes, String name) throws BioException, IllegalSymbolException
BioException
IllegalSymbolException
public static Protease createProtease(String cleaveRes, boolean endoProtease, String name) throws BioException, IllegalSymbolException
BioException
IllegalSymbolException
public static void registerProtease(Protease prot) throws BioException
prot
- the Protease to registerBioException
- if a Protease with the same name is already registered.public static Protease getProteaseByName(String proteaseName) throws BioException
proteaseName
- the name of a registered Protease (case sensistive)BioException
- if no protease is registered by that namepublic static Set getNames()
public static Set getAllProteases()
public static boolean registered(String proteaseName)
proteaseName
- the querypublic static ProteaseManager getInstance()
public static Protease getTrypsin()
public static Protease getGlu_C_bicarbonate()
public static Protease getGlu_C_phosphate()
public static Protease getChymotrypsin()
Copyright © 2014 BioJava. All rights reserved.