Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error running obiconvert
#1
Hi,

I am also going through the tutorial for OBITools, and I run into an error when formatting the data using obiconvert:

command:
  • obiconvert --embl -t ./TAXO --ecopcrdb-output=embl_last ./EMBL/std/*.dat.gz
After a few minutes, it causes the error
Error on sequence : EU394480;
and
struct.error: cannot convert argument to integer

I tried downloading a new taxdump tarball, but I still get the same error.
I found on another forum that it is caused by a discrepancy with the taxid, but I'm still not sure how to overcome it and get the program to finish running.
Thank you to anyone who helps. Heart
Reply
#2
OK, I am going to reply to my own thread, just in case it helps anyone else having the same problem.
I just found the the --skip-on-error option for obiconvert. This causes the program to skip the writing of sequences for which it encounters errors, instead of crashing.
Reply
#3
Yes some genbank or embl entries are not correctly parsed by obitools. Several reasons explain this. They are not really corresponding to a bug but rather to the none implementation of some EMBL/Genbank features like contig entries. The other reason is when you are parsing a file containing *taxids* absent for the used taxonomy. For all that reasons, the `--skip-on-error` option exists on most of the obitools
Reply
#4
(11-01-2016, 08:09 PM)coissac Wrote: Yes some genbank or embl entries are not correctly parsed by obitools. Several reasons explain this. They are not really corresponding to a bug but rather to the none implementation of some EMBL/Genbank features like contig entries. The other reason is when you are parsing a file containing *taxids* absent for the used taxonomy. For all that reasons, the `--skip-on-error` option exists on most of the obitools

Oh, I understand. Thank you for the reply.

Laur
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)