draeger-lab / ModelPolisher

ModelPolisher accesses the BiGG Models knowledgebase to annotate SBML models.
23 stars 7 forks source link

Update default parameters for running ModelPolisher. #55

Closed codekaust closed 5 years ago

codekaust commented 5 years ago

Command-line to run ModelPolisher using docker and adb is pretty long. Eg.: docker-compose run -v ./ModelPolisher/example_models/bigg:/models/ java java -jar /ModelPolisher-noDB-1.7.jar --input=/models/e_coli_core.xml --output=/models/output/ --annotate-with-bigg=true --bigg-host=biggdb --bigg-port=5432 --bigg-user=postgres --bigg-passwd=postgres --bigg-dbname=bigg --add-adb-annotations=true --adb-host=adb --adb-port=5432 --adb-user=postgres --adb-passwd=postgres --adb-dbname=adb

Should add default parameters in ModelPolisher java code only, which will reduce the command to something like: docker-compose run -v ./ModelPolisher/example_models/bigg:/models/ java java -jar /ModelPolisher-noDB-1.7.jar --input=/models/e_coli_core.xml --output=/models/output/ --annotate-with-bigg=true --add-adb-annotations=true