Execute failed java.io.ioexception on ubuntu


#1

Hi, I recently installed Megan 6.4.10 and when I try to import file output from blastp (blastall -m 7) xml output (

<?xml version="1.0" encoding="UTF-8"?> blastp blastp 2.2.26 [Sep-21-2011] ~Reference: Altschul, Stephen F., Thomas L. Madden, Alejandro A. Schaffer, ~Jinghui Zhang, Zheng Zhang, Webb Miller, and David J. Lipman (1997), ~"Gapped BLAST and PSI-BLAST: a new generation of protein database search~programs", Nucleic Acids Res. 25:3389-3402.) megan raise this error: Error: Execute failed: java.io.IOException: File not a BLAST file in XML format: /media/daniel/outsider/dry_valleys/uniprots/nifh/ERR1303297nifh.faa.blast

I have installed oracle-java8 in a ubuntu 14.04 machine.
I would greatly appreciate your help.


#2

Please give me access to a small file that exhibits the problem and I will fix it


#3

Thank you for responding. This is a file with the issue:
https://dl.dropboxusercontent.com/u/20155456/nifh.faa.blast

Regards.


#4

Stupid problem: MEGAN expects the file to end on .xml (or .blastxml)
Also, I noticed that MEGAN hangs when a problem occurs parsing an XML file.
I will upload a new version with two updates: will allow .txt as ending for .xml file and also MEGAN will no longer hang if an exception is thrown during XML parsing.


#5

Thank you so much, for while I change the file extentions and the error no longer appeared.

Regards.