blib/lib/MS/Reader/MzIdentML/ProteinAmbiguityGroup.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 12 / 12 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/MS/Reader/MzIdentML/PeptideEvidence.pm ↑ Summary blib/lib/MS/Reader/MzIdentML/SequenceItem.pm »
1 package MS::Reader::MzIdentML::ProteinAmbiguityGroup;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use parent qw/MS::Reader::XML::Record::CV/;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 sub _pre_load {
9  
10 my ($self) = @_;
11 $self->{_toplevel} = 'ProteinAmbiguityGroup';
12  
13 # Lookup tables to quickly check elements
14 $self->{_make_named_array} = {
15 cvParam => 'accession',
16 userParam => 'name',
17 };
18  
19 $self->{_make_named_hash} = { map {$_ => 'id'} qw/
20 ProteinDetectionHypothesis
21 / };
22  
23 $self->{_make_anon_array} = { map {$_ => 1} qw/
24 PeptideHypothesis
25 SpectrumIdentificationList
26 / };
27  
28 }
29  
30 sub id { return $_[0]->{id} }
31 sub name { return $_[0]->{name} }
32  
33 1;
34  
35 __END__
« blib/lib/MS/Reader/MzIdentML/PeptideEvidence.pm ↑ Summary blib/lib/MS/Reader/MzIdentML/SequenceItem.pm »