Bio::FASTASequence::File - Perl extension for Bio::FASTASequence
use Bio::FASTASequence::File; my $filename = '/path/to/file.fasta'; my $parsed_fasta = Bio::FASTASequence::File->new($filename); my $hashref = $parsed_fasta->get_result(); # or my $parsed = Bio::FASTASequence::File->new(); my $hashref = $parsed->file($filename); # if a sequence with accession_nr H23OP3 is in the file (as an example) # these methods are the methods from Bio::FASTASequence my $crc64 = $hashref->{H23OP3}->getCRC64(); my $sequence = $hashref->{H23OP3}->getSequence();
This module is an extension for Bio::FASTASequence to parse a fasta-file at once.
my $parsed_fasta = Bio::FASTASequence::File->new($filename);
creates a new instance of Bio::FASTASequence::File
my $parsed = Bio::FASTASequence::File->new(); $parsed->file($filename);
set the file for the object and parses the given file.
Bio::FASTASequence
This module requires Bio::FASTASequence
Feel free to contact me for feature requests or bug reports:
Renee Baecker, <module@renee-baecker.de>
Copyright (C) 2004 by Renee Baecker
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.1 or, at your option, any later version of Perl 5 you may have available.
To install Bio::FASTASequence::File, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bio::FASTASequence::File
CPAN shell
perl -MCPAN -e shell install Bio::FASTASequence::File
For more information on module installation, please visit the detailed CPAN module installation guide.