pgdurand / BlastViewer

This package contains the BLAST Viewer Tool.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add cmd-line option to open file

pgdurand opened this issue · comments

Add a cmd-line option at least to open file when starting BV from the cmd-line

What is the syntax for opening blastviewer with a file from the Linux command line? I have tried numerous things, including fully qualified paths, but blastviewer always pops up empty.
eg.
java -jar blastviewer-5.3.0.jar mousecat.blastn.xml

I know the file is good, because I can read it manually into blastviewer using the Open button.

I am particularly interested in getting this to work because blastviewer would be a nice addition to my BIRCH bioinformatics system. BIRCH runs BLAST searches from a GUI, and pops up output in a web browser and a spreadsheet-style program. A tutorial illustrating how this works can be found at
[http://home.cc.umanitoba.ca/~psgendb/birchhomedir/BIRCHDEV/public_html/tutorials/bioLegato/blastdb/blastdb.html]
Getting output to come up in blastviewer would expand the user's ability to work with the output.

well I didn't add this feature until now... however, 2 years ago I started the dev of the Java Web Start release of BlastViewer that is capable of doing what you'd like to do (look at the 'jws' branch of BlastViewer project on Github)... but, Oracle stopped the use of JWS, so I do not know what direction to follow...

My own interest would be in blastviewer as a standalone desktop application, rather than using JWS.
The idea behind BIRCH is to have a seamless flow of data from one step to the next. BIRCH has its own spreadsheet-style program for displaying and retrieving BLAST hits, but blastviewer is such a full-featured and intuitive program that I'd like to be able to have output also pop up in blastviewer.

My guess is that adding a command line option for the input file would be easy. Let me know if you are willing to add this feature.
Thanks!

ok, I understand your query... I think I should have some time during July to add that command-line option to the software... stay tuned !

Great. If it's any incentive, I tried a lot of blast output viewers, and was most impressed with blastviewer. I'm looking forward to seeing the revised version.

Hi.

Work done, please read:
https://github.com/pgdurand/BlastViewer/wiki#use-command-line-arguments

Checkout latest release of BlastViewer implementing command-line arguments:
https://github.com/pgdurand/BlastViewer/releases/tag/v5.4.0

Let me know whether implemented features fit your needs.