Skip to content

Commit

Permalink
Add gene annotation data
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Senna committed Jul 11, 2022
1 parent 22fd034 commit e92b5b4
Show file tree
Hide file tree
Showing 18 changed files with 5,520,953 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,3 @@ dmypy.json
# IDEs
.idea/
.vscode/

**/*.metta
17 changes: 17 additions & 0 deletions bio-docker-up
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
unset DAS_MONGODB_HOSTNAME
unset DAS_COUCHBASE_HOSTNAME
cp bio-index.txt /tmp
docker stop `docker ps | grep 'das_app\|das_couchbase\|das_mongo' | cut -d' ' -f1` >& /dev/null
docker rm `docker ps -a | grep 'das_app\|das_couchbase\|das_mongo' | cut -d' ' -f1` >& /dev/null
docker volume rm das_couchbasedata >& /dev/null
docker volume rm das_mongodbdata >& /dev/null
docker-compose up -d
sleep 10
./scripts/couchbase_setup.sh
./bio-mongo-load
sleep 60
docker-compose exec app python das/das_generate_file.py -d BIO --file-path /tmp/bio_all_pairs.txt --index-config /tmp/bio-index.txt
sleep 10
docker-compose exec app python das/das_upload_to_couch_from_file.py --file-path /tmp/bio_all_pairs.txt
sleep 10
docker-compose exec couchbase cbq --user dbadmin --password dassecret --script "CREATE PRIMARY INDEX ON default:das._default.Names" http://localhost:8091
5 changes: 5 additions & 0 deletions bio-index.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Context 3 1 2 3
Member 3 1 2 3
Evaluation 3 1 2 3
Inheritance 3 1 2 3
List 3 1 2 3
Loading

0 comments on commit e92b5b4

Please sign in to comment.