[Bioperl-l] Support for MariaDB in Bio::DB:SeqFeature:Store::DBI::
Fields, Christopher J
cjfields at illinois.edu
Tue Sep 3 15:31:45 EDT 2024
I agree, this should be a simple way to get it going, and though it would likely result in code duplication it could eventually require settings specific to MariaDB (though as Tim mentioned it’s essentially a drop in replacement).
Kai, if you want to make a fork and then submit a pull request, I’m more than happy to test and add this to a new release. One thing that would be beneficial is if you can get some basic tests running for it; IIRC this is a bit hacked in for the various DBI plugin modules.
chris
From: Bioperl-l <bioperl-l-bounces at bioperl.org> on behalf of Timothy Parnell <timothy.parnell at hci.utah.edu>
Date: Tuesday, September 3, 2024 at 12:19 PM
To: bioperl-l at bioperl.org <bioperl-l at bioperl.org>
Subject: Re: [Bioperl-l] Support for MariaDB in Bio::DB:SeqFeature:Store::DBI::
Regarding support for DBD::MariaDB, here is one (naive), hack solution: Simply copy the Bio/DB/SeqFeature/DBI/mysql.pm file as mariadb.pm, and search and replace “MySQL” with “MariaDB” as appropriate (watch capitalization, etc). Since MariaDB is (more or less) a drop-in replacement for MySQL, in theory this should work just fine. If I remember correctly, the SQL commands and structures are not terribly complicated and fairly standard, so I wouldn’t expect much more modification. If it does work, it might be worth a pull request.
Tim
_______________________________________________
Bioperl-l mailing list
Bioperl-l at bioperl.org
https://urldefense.com/v3/__https://mailman.open-bio.org/mailman/listinfo/bioperl-l__;!!DZ3fjg!6UzjoYFBT-qupAoTKJSjDhDnzGPDtnjbpi7RwrAfMEp3vRsAu1t7n3txH3-GPeS-GLzAXmmKUM3-Mukaza218K2MedsdUoU6Vfw$<https://urldefense.com/v3/__https:/mailman.open-bio.org/mailman/listinfo/bioperl-l__;!!DZ3fjg!6UzjoYFBT-qupAoTKJSjDhDnzGPDtnjbpi7RwrAfMEp3vRsAu1t7n3txH3-GPeS-GLzAXmmKUM3-Mukaza218K2MedsdUoU6Vfw$>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.open-bio.org/pipermail/bioperl-l/attachments/20240903/da2bea56/attachment.htm>
More information about the Bioperl-l
mailing list