edwrodrig\fasta_reader
A php library to read FASTA files
This is under construction, (*1)
, (*2)
My use cases
My infrastructure is targeted to Ubuntu 16.04 machines with last php7.2 installed from ppa:ondrej/php., (*3)
Documentation
The source code is documented using phpDocumentor style,
so it should pop up nicely if you're using IDEs like PhpStorm or similar., (*4)
Examples
$reader = new FastaReader("sample.fasta");
foreach ( $reader as $sequence ) {
echo $sequence->getDescription() , "\n";
echo $sequence->getData() , "\n";
}
Composer
composer require edwrodrig/fasta_reader
Testing
The test are built using PhpUnit. It generates images and compare the signature with expected ones. Maybe some test fails due metadata of some generated images, but at the moment I haven't any reported issue., (*5)
License
MIT license. Use it as you want at your own risk., (*6)
About language
I'm not a native english writer, so there may be a lot of grammar and orthographical errors on text, I'm just trying my best. But feel free to correct my language, any contribution is welcome and for me they are a learning instance., (*7)