zmactep / ig-pipeline

2 stars 0 forks source link

Форма report #32

Closed zmactep closed 10 years ago

zmactep commented 10 years ago

В качестве входных параметров требуются директории, которые не могут быть добавлены в storage автоматически.

Вообще, вопрос глубже, и требуется обсудить и сделать максимально удобной систему storage, пока не стало слишком поздно. :)

Feodorov commented 10 years ago

Директории добавляются, 2013-11-19 9 16 55

Feodorov commented 10 years ago

Вот что пришло бэкэнду для этой формы:

21599 [DB-akka.actor.default-dispatcher-8] 2013-11-19 09:11:57,716 INFO  workers.SimpleWorker [Slf4jLogger.scala:74] - Got work ({"commands": [{"executable": "ig-simplecluster/clusterize.py", "input": {"comment": "comment", "group": "testrun", "params": [{"value": "/opt/ig-pipeline/data/train/VDJH_train.fasta", "name": "src"}, {"value": "100", "name": "min-len"}, {"value": "100", "name": "use-prct"}]}}, {"executable": "ig-simplecluster/make_report.py", "input": {"comment": "comment", "group": "testrun", "params": [{"value": "{0}/./", "name": "ldir"}, {"value": "{0}/./", "name": "hdir"}]}}]},7)

Вот вывод кластеризатора. Обрати внимание, что булевые флажки отсутствуют, что соответствует скриншоту выше:

21725 [DB-akka.actor.default-dispatcher-5] 2013-11-19 09:11:57,842 DEBUG workers.SimpleWorker [Slf4jLogger.scala:77] - python /opt/ig-pipeline/ig-tools/ig-simplecluster/clusterize.py --src /opt/ig-pipeline/data/train/VDJH_train.fasta --min-len 100 --use-prct 100 --tools_root=/opt/ig-pipeline/ig-tools/ --outdir=/opt/ig-pipeline/storage/testrun/12
286812 [DB-akka.actor.default-dispatcher-5] 2013-11-19 09:16:22,929 DEBUG workers.SimpleWorker [Slf4jLogger.scala:77] - Response: {"status": "ok","message": "Result: , errors: none","files": [{"name": "alignment.fasta","path": "/opt/ig-pipeline/storage/testrun/12/alignment.fasta"},{"name": "cluster_tree.dnd","path": "/opt/ig-pipeline/storage/testrun/12/cluster_tree.dnd"},{"name": "clusters","path": "/opt/ig-pipeline/storage/testrun/12/clusters"},{"name": "consensus.fasta","path": "/opt/ig-pipeline/storage/testrun/12/consensus.fasta"},{"name": "dendogram.png","path": "/opt/ig-pipeline/storage/testrun/12/dendogram.png"},{"name": "description.txt","path": "/opt/ig-pipeline/storage/testrun/12/description.txt"},{"name": "others.fasta","path": "/opt/ig-pipeline/storage/testrun/12/others.fasta"},{"name": "VDJH_train.fasta","path": "/opt/ig-pipeline/storage/testrun/12/VDJH_train.fasta"}]}

Отработал Report:

286813 [DB-akka.actor.default-dispatcher-5] 2013-11-19 09:16:22,930 DEBUG workers.SimpleWorker [Slf4jLogger.scala:77] - python /opt/ig-pipeline/ig-tools/ig-simplecluster/make_report.py --ldir /opt/ig-pipeline/storage/testrun/12/. --hdir /opt/ig-pipeline/storage/testrun/12/. --tools_root=/opt/ig-pipeline/ig-tools/ --outdir=/opt/ig-pipeline/storage/testrun/13
287244 [DB-akka.actor.default-dispatcher-5] 2013-11-19 09:16:23,361 DEBUG workers.SimpleWorker [Slf4jLogger.scala:77] - Response: {"status": "ok","message": "Result: , errors: none","files": [{"name": "description.txt","path": "/opt/ig-pipeline/storage/testrun/13/description.txt"},{"name": "output.json","path": "/opt/ig-pipeline/storage/testrun/13/output.json"}]}

А это ответ, который ушел на фронт:

287249 [DB-akka.actor.default-dispatcher-6] 2013-11-19 09:16:23,366 INFO  workers.SimpleWorker [Slf4jLogger.scala:74] - Work is complete.  Result {"result": [{"status": "ok","message": "Result: , errors: none","files": [{"name": "alignment.fasta","path": "/opt/ig-pipeline/storage/testrun/12/alignment.fasta"},{"name": "cluster_tree.dnd","path": "/opt/ig-pipeline/storage/testrun/12/cluster_tree.dnd"},{"name": "clusters","path": "/opt/ig-pipeline/storage/testrun/12/clusters"},{"name": "consensus.fasta","path": "/opt/ig-pipeline/storage/testrun/12/consensus.fasta"},{"name": "dendogram.png","path": "/opt/ig-pipeline/storage/testrun/12/dendogram.png"},{"name": "description.txt","path": "/opt/ig-pipeline/storage/testrun/12/description.txt"},{"name": "others.fasta","path": "/opt/ig-pipeline/storage/testrun/12/others.fasta"},{"name": "VDJH_train.fasta","path": "/opt/ig-pipeline/storage/testrun/12/VDJH_train.fasta"}]},{"status": "ok","message": "Result: , errors: none","files": [{"name": "description.txt","path": "/opt/ig-pipeline/storage/testrun/13/description.txt"},{"name": "output.json","path": "/opt/ig-pipeline/storage/testrun/13/output.json"}]}]}.