C# Class CSMSL.Proteomics.Protease

Inheritance: IProtease
Show file Open project: dbaileychess/CSMSL Class Usage Examples

Public Properties

Property Type Description
UserProteasePath string

Public Methods

Method Description
AddProtease ( string name, Terminus terminus, string cut, string noCut = "" ) : Protease
GetAllProteases ( ) : IEnumerable
GetDigestionSites ( IAminoAcidSequence aminoacidpolymer ) : IEnumerable
GetDigestionSites ( string sequence ) : IEnumerable
GetProtease ( string name ) : Protease
Load ( ) : void

Load the default modification file If the default modification is missing or corrupted, it will auto generate it

Load ( string filePath ) : void

Load a protease file

MissedCleavages ( IAminoAcidSequence aminoAcidSequence ) : int
MissedCleavages ( string sequence ) : int
Protease ( string name, Terminus terminus, string cut, string nocut = "", string cleavePattern = "" ) : System
RemoveProtease ( Protease protease ) : bool
RemoveProtease ( string name ) : bool
RestoreDefaults ( ) : void
Save ( ) : void
SaveTo ( string filePath ) : void
ToString ( ) : string
TryGetProtease ( string name, Protease &protease ) : bool
this ( string name ) : Protease

Private Methods

Method Description
OnProteasesChanged ( ) : void
Protease ( ) : System

Method Details

AddProtease() public static method

public static AddProtease ( string name, Terminus terminus, string cut, string noCut = "" ) : Protease
name string
terminus Terminus
cut string
noCut string
return Protease

GetAllProteases() public static method

public static GetAllProteases ( ) : IEnumerable
return IEnumerable

GetDigestionSites() public method

public GetDigestionSites ( IAminoAcidSequence aminoacidpolymer ) : IEnumerable
aminoacidpolymer IAminoAcidSequence
return IEnumerable

GetDigestionSites() public method

public GetDigestionSites ( string sequence ) : IEnumerable
sequence string
return IEnumerable

GetProtease() public static method

public static GetProtease ( string name ) : Protease
name string
return Protease

Load() public static method

Load the default modification file If the default modification is missing or corrupted, it will auto generate it
public static Load ( ) : void
return void

Load() public static method

Load a protease file
public static Load ( string filePath ) : void
filePath string The path to the protase file
return void

MissedCleavages() public method

public MissedCleavages ( IAminoAcidSequence aminoAcidSequence ) : int
aminoAcidSequence IAminoAcidSequence
return int

MissedCleavages() public method

public MissedCleavages ( string sequence ) : int
sequence string
return int

Protease() public method

public Protease ( string name, Terminus terminus, string cut, string nocut = "", string cleavePattern = "" ) : System
name string
terminus Terminus
cut string
nocut string
cleavePattern string
return System

RemoveProtease() public static method

public static RemoveProtease ( Protease protease ) : bool
protease Protease
return bool

RemoveProtease() public static method

public static RemoveProtease ( string name ) : bool
name string
return bool

RestoreDefaults() public static method

public static RestoreDefaults ( ) : void
return void

Save() public static method

public static Save ( ) : void
return void

SaveTo() public static method

public static SaveTo ( string filePath ) : void
filePath string
return void

ToString() public method

public ToString ( ) : string
return string

TryGetProtease() public static method

public static TryGetProtease ( string name, Protease &protease ) : bool
name string
protease Protease
return bool

this() public method

public this ( string name ) : Protease
name string
return Protease

Property Details

UserProteasePath public static property

public static string UserProteasePath
return string