klebgenomics / Kaptive-Web

Kaptive web interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Visualization of results analyzed with command line

simone-pignotti opened this issue · comments

Hi,

First of all, thanks for this great tool!
I was wondering whether it's possible to use some subset of Kaptive-Web's code (e.g. few html+js+css files, which could be served by apache/nginx) to visualize the results of the command-line Kaptive tool, eventually after running some post-processing to generate images and other static files.

Thanks in advance
Simone

Hi Simone,

Thanks -very glad you are finding it useful! This is a great idea that I will definitely add to the wish-list but honestly it's not something that we have the resources to implement right now. By all means please feel free to experiment yourself- the code is completely open source. If it's the locus images that you are particularly interested in, the relevant code is at lines 463-579 of the job_process.py script. It's reading the results from the json file and reading the locus coordinates from the reference database then using biopython to make the image, which can be saved as svg, or png etc.

Thanks,
Kelly

Thanks for the quick reply Kelly, I'll see what I can do!