InSilicoSpectro::InSilico::CleavEnzyme - InSilicoSpectro::InSilico::CleavEnzyme documentation


InSilicoSpectro documentation  | view source Contained in the InSilicoSpectro distribution.

Index


NAME

Top

InSilicoSpectro::InSilico::CleavEnzyme Basic enzyme object.

SYNOPSIS

Top

  # Reads all cleavage enzyme definition in the default file(s) ({phenyx.config.cleavenzymes})
  InSilicoSpectro::InSilico::CleavEnzyme::init();

  # Prints all the modifications
  foreach (InSilicoSpectro::InSilico::Enzyme::getList()){
    print;
  }

DESCRIPTION

Top

Cleavage enzyme object that comprises a description of the enzyme and basic methods for reading XML configuration file(s) and printing. A dictionary is created at the package level to store all the read enzymes from the configuration file(s).

FUNCTIONS

Top

Initialization

init([$filename])

Opens the given file, or file ${phenyx.config.cleavenzymes} if no parameter was given, and stores all the modif in the dictionnary.

getFromDico($name)

This function retrieves and returns an enzyme from the dictionary based on its name.

getList()

Returns a sorted list of all the enzyme names in the dictionary.

METHODS

Top

new([$h])

Creates (constructor) a new object enzyme. $h contains a reference to a hash or is a hash itself. The hash lists object attributes with their values and it is used to initialize the newly created object.

name([$str])

Sets the enzyme name if an argument is given, otherwise returns the name value.

regexp([$restr])

Sets a regular expression for enzymatic digestion (use looking (back|for)wards) if an argument is given, otherwise returns the regexp (compiled).

terminus([$t])

Sets the terminus side (trypsin is C-term) of the enzyme if an argument (either 'C' or 'T') is given, otherwise returns terminus either 'N' or 'C'.

CTermGain([$g])

Sets the atoms gained at the peptide C-terminal site after digestion (normally OH) if an argument is given, otherwise returns the atoms gained.

NTermGain([$g])

Sets the atoms gained at the peptide N-terminal site after digestion (normally H) if an argument is given, otherwise returns the atoms gained.

CTermModif([$g])

Sets the name of the modification induced by the enzyme at the peptide C-terminus if an argument is given, otherwise returns the modification name.

NTermModif([$g])

Sets the name of the modification induced by the enzyme at the peptide N-terminus if an argument is given, otherwise returns the modification name.

print

overloaded "" operator

EXAMPLES

Top

See t/InSilico/testCleavEnzyme.pl.

COPYRIGHT

Top

AUTHORS

Top

Alexandre Masselot, www.genebio.com Jacques Colinge, Upper Austria University of Applied Science at Hagenberg


InSilicoSpectro documentation  | view source Contained in the InSilicoSpectro distribution.