Bio::Protease::Role::Specificity::Regex - A role that implements a regex-based specificity
version 1.112980
package My::Protease; use Moose; with qw(Bio::ProteaseI Bio::Protease::Role::Specificity::Regex); package main; my $p = My::Protease->new( regex => qr/.{3}AC.{3}/ ); # coerces to [ qr/.../ ]; my @products = $p->digest( 'AAAACCCC' ); # @products: ('AAAA', 'CCCC')
This role implements a regexp-based specificity for a class that also consumes the Bio::ProteaseI role. A peptide will be cleaved if any of the regexes provided at construction time matches it. The regexes should be tailored for 8-residue-long peptides, the cleavage site being between the fourth and fifth residues.
For instance, if the specificity could be described as "cuts after lysine or arginine", the appropriate regular expression would be qr/.{3}[KR].{4}/.
qr/.{3}[KR].{4}/
A ProteaseRegex, which is basically an array reference of regular expressions that describe the protease specificity. It can coerce from a single regular expression into a single-element array of regexps. Any of the regexes in the array should match a given substrate for it to be cleavable.
ProteaseRegex
Bruno Vecchi <vecchi.b gmail.com>
This software is copyright (c) 2011 by Bruno Vecchi.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Bio::Protease, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bio::Protease
CPAN shell
perl -MCPAN -e shell install Bio::Protease
For more information on module installation, please visit the detailed CPAN module installation guide.