This is Rust code to update Wikidata items from GeneDB GFF and GAF files.
- Install Rust (it's a one-liner)
git clone https://github.com/sanger-pathogens/genedbot.git
cd genedbot
cargo build --release
- Create a
bot.ini
file, like so:
[user]
user = GeneDBot
pass = INSERT_PASSWORD_HERE
proxy = http://wwwcache.sanger.ac.uk:3128
- As pathpipe@pathpipe-farm4, in
~/genedbot
directory ./target/release/genedbot SPECIES_CODE
(SPECIES_CODE
eg Pfalciparum), or./target/release/genedbot all
to run all species sequentially (userun_all.sh
to start this viabsub
on farm4), or./target/release/genedbot --help
for options
- As pathpipe@pathpipe-farm4, in
~/genedbot
directory git pull ; rustup update ; cargo update ; cargo build --release