/genedbot

Scripts to create/update Wikidata items from GeneDB GFF/GAF

Primary LanguagePHP

Install

  • Make sure PHP7 is installed
  • Get Composer
  • Run composer with "update" command to install dependencies
  • Create a bot.ini file, like this:
[user]
user = WikidataBotUserName
pass = WikidataBotUserPassword

Run

php genedbot.php SPECIES_ID

where SPECIES_ID is an abbreviation in the dataset.

php genedbot.php SPECIES_ID GENEDB_ID

Same as above, but just for one specific gene.

Test

./vendor/bin/phpunit --bootstrap vendor/autoload.php tests/gff2wd_test.php