| 1 | package MS::Reader::MzQuantML; | ||
| 2 | |||
| 3 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 2 | ▶ | use parent qw/MS::Reader::XML/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | use Carp; | ||
| 9 | |||
| 10 | use MS::CV qw/:MS/; | ||
| 11 | |||
| 12 | sub _pre_load { | ||
| 13 | |||
| 14 | my ($self) = @_; | ||
| 15 | |||
| 16 | # ---------------------------------------------------------------------------# | ||
| 17 | # These tables are the main configuration point between the parser and the | ||
| 18 | # specific document schema. For more information, see the documentation | ||
| 19 | # for the parent class MS::Reader::XML | ||
| 20 | # ---------------------------------------------------------------------------# | ||
| 21 | |||
| 22 | |||
| 23 | $self->{record_classes} = { | ||
| 24 | }; | ||
| 25 | |||
| 26 | $self->{_skip_inside} = { map {$_ => 1} qw/ | ||
| 27 | / }; | ||
| 28 | |||
| 29 | $self->{_make_index} = { map {$_ => 'id'} qw/ | ||
| 30 | / }; | ||
| 31 | |||
| 32 | $self->{_make_named_array} = { | ||
| 33 | cvParam => 'accession', | ||
| 34 | userParam => 'name', | ||
| 35 | }; | ||
| 36 | |||
| 37 | $self->{_make_named_hash} = { map {$_ => 'id'} qw/ | ||
| 38 | Assay | ||
| 39 | AssayQuantLayer | ||
| 40 | BibliographicReference | ||
| 41 | Cv | ||
| 42 | DataProcessing | ||
| 43 | Organization | ||
| 44 | Person | ||
| 45 | Feature | ||
| 46 | FeatureQuantLayer | ||
| 47 | FeatureList | ||
| 48 | GlobalQuantLayer | ||
| 49 | IdentificationFile | ||
| 50 | MethodFile | ||
| 51 | MS2AssayQuantLayer | ||
| 52 | MS2StudyVariableQuantLayer | ||
| 53 | PeptideConsensus | ||
| 54 | PeptideConsensusList | ||
| 55 | ProteinGroup | ||
| 56 | Protein | ||
| 57 | Provider | ||
| 58 | RatioQuantLayer | ||
| 59 | Ratio | ||
| 60 | RawFile | ||
| 61 | RawFilesGroup | ||
| 62 | SearchDatabase | ||
| 63 | SmallMolecule | ||
| 64 | Software | ||
| 65 | SourceFile | ||
| 66 | StudyVariable | ||
| 67 | StudyVariableQuantLayer | ||
| 68 | |||
| 69 | / }; | ||
| 70 | |||
| 71 | $self->{_make_anon_array} = { map {$_ => 1} qw/ | ||
| 72 | Affiliation | ||
| 73 | Column | ||
| 74 | DBIdentificationRef | ||
| 75 | EvidenceRef | ||
| 76 | IdentificationRef | ||
| 77 | Modification | ||
| 78 | ProcessingMethod | ||
| 79 | ProteinRef | ||
| 80 | Row | ||
| 81 | / }; | ||
| 82 | |||
| 83 | } | ||
| 84 | |||
| 85 | |||
| 86 | 1; | ||
| 87 | |||
| 88 | |||
| 89 | __END__ | ||