DDBJ Ontologies is designed for the conversion of DDBJ-related ontologies and publishing them on the web site. http://ddbj.nig.ac.jp/ontologies/
$ git clone --recursive https://github.com/ddbj/ddbj-ontologies.git
$ cp template.env .env
If the container name conflicts with another container, change it. The default value is 'ddbj_ontologies_convertor'
If the image name conflicts with another image, change it. The default value is 'ddbj_ontologies_convertor'
$ docker-compose build
$ curl -o data/taxdump/taxdump.tar.gz ftp://ftp.ncbi.nlm.nih.gov/pub/taxonomy/taxdump.tar.gz
If you have a specific version of 'taxdump.tar.gz', coyp it in 'data/taxdump' directory. File names other than 'taxdump.tar.gz' will be ignored.
$ docker-compose run --rm convertor /usr/src/app/bin/generate_ontologies_taxonomy_ttl.sh
A turtle file 'taxonomy.ttl' will be generated in the directory 'data/taxonomy/'.
$ docker run --rm -v `pwd`/data/taxonomy:/data ddbj_ontologies_raptor -i turtle -o rdfxml-abbrev /data/taxonomy.ttl > ./data/taxonomy/taxonomy.rdf 2>> ./logs/OwlConverter.log
$ docker-compose run --rm convertor /usr/src/app/bin/generate_ontologies_contents.sh
HTML static files will be generated in the directory 'data/contents/'.
$ cp template.env .env
If the container name conflicts with another container, change it. The default value is 'ddbj_ontologies_app'
If the image name conflicts with another image, change it. The default value is 'ddbj_ontologies_app'
The application root directory. If you want to run the application without a container, change it.
The html contents root directory. If you want to run the application without a container, change it.
web server port on host
start with 'docker-compose_web.yml' compose file.
$ docker-compose -f docker-compose_web.yml up -d