Finnigan::RunHeader -- a decoder for RunHeader, the primary file index structure
use Finnigan; my $rh = Finnigan::RunHeader->decode(\*INPUT, $version); my $first_scan_number = $rh->first_scan; my $last_scan_number = $rh->last_scan; my $max_ion_current = $rh->sample_info->max_ion_current; my $data_addr = $rh->data_addr;
Decodes RunHeader, the static (fixed-size) structure containing data stream lengths and addresses, as well as some unidentified data. Every data stream in the file has its address stored in RunHeader or in its historical antecedent SampleInfo, which it now includes.
Note: Starting with v.64, the stream addresses are stored as 64-bit integers and because SampleInfo has no space to accommodate the wider pointers, they have been moved to RunHeader proper.
The constructor method
Get the Finnigan::SampleInfo object
Get own address
Get the "trailer" address -- the pointer to the stream of ScanEvent structures
Get the pointer to the stream of ScanPrarameters? structures
Get the address of the ScanIndex stream
Get the address of the ScanDataPacket stream
Get the address of the instrument log records (of GenericRecord type)
Get the address of the Error stream
Get the length of the ScanEvent stream
Get the length of the ScanParameters stream
Get the number of scan segments
Get the unknown double 1
Get the unknown double 2
Gene Selkov, <email@example.com>
Copyright (C) 2010 by Gene Selkov
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.