Finnigan::RawFileInfoPreamble -- a decoder for RawFileInfoPreamble, the binary data part of RawFileInfo
use Finnigan; my $file_info = Finnigan::RawFileInfo->decode(\*INPUT); say $file_info->preamble->run_header_addr; say $file_info->preamble->data_addr; $file_info->preamble->dump;
This this object decodes the binary preamble to RawFileInfo, which contains an unpacked representation of a UTC date (apparently, the file creation date), a set of unknown numbers, and most importantly, the more modern versions of this structure contain the pointers to the ScanDataPacket stream and to RunHeader, which stores the pointers to all other data streams in the file.
The older versions of this structure did not contain anything except the date stamp.
The constructor method
Get the timestamp in text form: Wkd Mmm DD YYYY hh:mm:ss.ms
Get the timestamp in text form, in the format adopted in mzML: YYYY-MM-DDThh:mm:ssZ
Get the pointer to the first ScanDataPacket
Get the pointer to RunHeader (which contains further pointers)
Make a concise string representation of the structure
Finnigan::RawFileInfo
uf-rfi
Gene Selkov, <selkovjr@gmail.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.
To install Finnigan, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Finnigan
CPAN shell
perl -MCPAN -e shell install Finnigan
For more information on module installation, please visit the detailed CPAN module installation guide.