Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
O
OBITools
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 30
    • Issues 30
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • OBITools
  • OBITools
  • Issues
  • #21

Closed
Open
Opened Feb 08, 2016 by Celine Mercier@mercierOwner

Obiconvert error (in the _ecoSeqPacker function)

Someone is getting an error using obiconvert:

"Trying to make a reference database for trnL for plants. I get an error when using obiconvert (see below). Is it serious or can I just ignore? (my embl_last_001.sdx is 49 GB, so something has happened…)"

#Format the data
mkdir embl_database
cd embl_database
nice -n 19 obiconvert --embl -t ../TAXO --ecopcrdb-output=embl_last ../EMBL/*.dat.gz

#But I get an error message
  File "/usr/local/bin/obiconvert", line 52, in <module>
    writer(entry)
  File "/usr/local/lib/python2.7/dist-packages/obitools/format/options.py", line 349, in sequenceWriter
    writer.put(sequence)
  File "/usr/local/lib/python2.7/dist-packages/obitools/ecopcr/sequence.py", line 148, in put
    self._file.write(self._ecoSeqPacker(sequence))
  File "/usr/local/lib/python2.7/dist-packages/obitools/ecopcr/sequence.py", line 137, in _ecoSeqPacker
    raise e
struct.error: cannot convert argument to integer
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: obitools/obitools#21