Script for inserting genome into a couchdb.
Closed this issue · 1 comments
http://kphretiq.com/manusporny_couchdb.zip
Expect database to be up and going at http://kphretiq.com:5984/_utils/database.html?manusporny this evening. Will most likely clean up code and documentation as well.
You are free to use it however you want.
To use:
Set up couchdb. (on ubuntu, apt-get install couchdb)
Install python couchdb module (easy_install couchdb)
Do a git checkout of msporny's genome
https://github.com/msporny/dna
Edit dna/ManuSporny-genome.txt
Delete all comments down to header line:
# "#rsid chromosome position genotype"
# then remove hash symbol
Save dna/ManuSporny-genome.txt as dna/ManuSporny-genome.csv
Edit the GENOME_FILE, GENOME_NAME, DB_ADDRESS, USERNAME and PASSWORD values in load.py if needed.
Have fun!
https://github.com/lysdexia/MSPornyDNA contains code, readme and a config file. Enjoy.