Protease.pm

filter: Statementstmt 77.7% 7 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 83.3% 10 / 12 CC 1 SCAR 0.9
CC
1
Cov
78%
BEGIN
1.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« Protease/Role/Specificity/Regex.pm ↑ Summary
1 package Bio::Protease;
2 {
3 $Bio::Protease::VERSION = '1.112980';
4 }
5  
6 # ABSTRACT: Digest your protein substrates with customizable specificity
7  
8 4 ▶use Moose 1.23;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 4 ▶use MooseX::ClassAttribute;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 0 ▶use Bio::Protease::Types qw(ProteaseRegex ProteaseName);
Subroutine BEGIN: called CC=1 SCAR=2.6
11 use namespace::autoclean;
12  
13 with qw(
14 Bio::ProteaseI
15 Bio::Protease::Role::Specificity::Regex
16 Bio::Protease::Role::WithCache
17 );
18  
19 has '+regex' => ( init_arg => 'specificity' );
20  
21 has specificity => (
22 is => 'ro',
23 isa => ProteaseName,
24 required => 1,
25 coerce => 1
26 );
27  
28 class_has Specificities => (
29 is => 'ro',
30 lazy_build => 1,
31 );
32  
33 sub _build_Specificities {
34  
35 my %specificity_of = (
36 'alcalase' => [ '.{3}[MYFLIVW].{4}'],
37 'arg-c_proteinase' => [ '.{3}R.{4}' ],
38 'asp-n_endopeptidase' => [ '.{4}D.{3}' ],
39 'asp-n_endopeptidase_glu' => [ '.{4}[DE].{3}' ],
40 'bnps_skatole' => [ '.{3}W.{4}' ],
41 'caspase_1' => [ '[FWYL].[HAT]D[^PEDQKR].{3}' ],
42 'caspase_2' => [ 'DVAD[^PEDQKR].{3}' ],
43 'caspase_3' => [ 'DMQD[^PEDQKR].{3}' ],
44 'caspase_4' => [ 'LEVD[^PEDQKR].{3}' ],
45 'caspase_5' => [ '[LW]EHD.{4}' ],
46 'caspase_6' => [ 'VE[HI]D[^PEDQKR].{3}' ],
47 'caspase_7' => [ 'DEVD[^PEDQKR].{3}' ],
48 'caspase_8' => [ '[IL]ETD[^PEDQKR].{3}' ],
49 'caspase_9' => [ 'LEHD.{4}' ],
50 'caspase_10' => [ 'IEAD.{4}' ],
51 'chymotrypsin' => [ '.{3}[FY][^P].{3}|.{3}W[^MP].{3}' ],
52 'chymotrypsin_low' => [ '.{3}[FLY][^P].{3}|.{3}W[^MP].{3}|.{3}M[^PY].{3}|.{3}H[^DMPW].{3}' ],
53 'clostripain' => [ '.{3}R.{4}' ],
54 'cnbr' => [ '.{3}M.{4}' ],
55 'enterokinase' => [ '[DN][DN][DN]K.{4}' ],
56 'factor_xa' => [ '[AFGILTVM][DE]GR.{4}' ],
57 'formic_acid' => [ '.{3}D.{4}' ],
58 'glutamyl_endopeptidase' => [ '.{3}E.{4}' ],
59 'granzymeb' => [ 'IEPD.{4}' ],
60 'hydroxylamine' => [ '.{3}NG.{3}' ],
61 'hcl' => [ '.{8}' ],
62 'iodosobenzoic_acid' => [ '.{3}W.{4}' ],
63 'lysc' => [ '.{3}K.{4}' ],
64 'lysn' => [ '.{4}K.{3}' ],
65 'ntcb' => [ '.{4}C.{3}' ],
66 'pepsin_ph1.3' => [ '.[^HKR][^P][^R][FLWY][^P].{2}|.[^HKR][^P][FLWY].[^P].{2}' ],
67 'pepsin' => [ '.[^HKR][^P][^R][FL][^P].{2}|.[^HKR][^P][FL].[^P].{2}' ],
68 'proline_endopeptidase' => [ '.{2}[HKR]P[^P].{3}' ],
69 'proteinase_k' => [ '.{3}[AFILTVWY].{4}' ],
70 'staphylococcal_peptidase_i' => [ '.{2}[^E]E.{4}' ],
71 'thermolysin' => [ '.{3}[^XDE][AFILMV][^P].{2}' ],
72 'thrombin' => [ '.{2}GRG.{3}|[AFGILTVM][AFGILTVWA]PR[^DE][^DE].{2}' ],
73 'trypsin' => [ '.{2}(?!CKD).{6}', '.{2}(?!DKD).{6}', '.{2}(?!CKH).{6}', '.{2}(?!CKY).{6}', '.{2}(?!RRH).{6}', '.{2}(?!RRR).{6}', '.{2}(?!CRK).{6}',
74 '.{3}[KR][^P].{3}|.{2}WKP.{3}|.{2}MRP.{3}' ]
75 );
76  
77 return \%specificity_of;
78 }
79  
80 __PACKAGE__->meta->make_immutable;
81  
82  
83  
84  
85  
86  
87  
88  
89 __END__
« Protease/Role/Specificity/Regex.pm ↑ Summary