The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

MS::Reader::MzIdentML::DBSequence - mzIdentML database sequence object

SYNOPSIS

    my $pro = $search->fetch_dbsequence_by_id('FooBarProtein');

    say $pro->id;
    say $pro->acc;
    say $pro->search_db;

DESCRIPTION

MS::Reader::MzIdentML::DBSequence is a class representing an mzIdentML search database sequence (typically a protein).

METHODS

id

acc

    my $id  = $pro->id;
    my $acc = $pro->acc;

Return the ID and accession of the sequence, respectively

search_db

    my $db_id = $seq->search_db;

Returns the identifier of the search database that the sequence belongs to. This can be used to link to the database used. Currently the database is not implemented as a class, so an understanding of the data structure is needed to extract this information.

CAVEATS AND BUGS

The API is in alpha stage and is not guaranteed to be stable.

Please reports bugs or feature requests through the issue tracker at https://github.com/jvolkening/p5-MS/issues.

AUTHOR

Jeremy Volkening <jdv@base2bio.com>

COPYRIGHT AND LICENSE

Copyright 2015-2016 Jeremy Volkening

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.