Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
O
OBITools3
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 33
    • Issues 33
    • 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
  • OBITools3
  • Issues
  • #87

Closed
Open
Opened 4 years ago by Mitica Ciorpac@ciorpac.mitica
  • Report abuse

  • Report abuse

obi import error

Closed

obi import error

>obi import Bird-MT_genome/Birds-completeMTgenome.fasta bird/ 2021-02-02 09:14:00,600 [import : INFO ] obi import: imports an object (file(s), obiview, taxonomy...) into a DMS 2021-02-02 09:14:00,600 [import : INFO ] Opened file: Bird-MT_genome/Birds-completeMTgenome.fasta 2021-02-02 09:14:00,649 [import : INFO ] Importing 1603 entries Traceback (most recent call last): File "/usr/local/bin/obi", line 62, in <module> config[root_config_name]['module'].run(config) File "python/obitools3/commands/import.pyx", line 204, in obitools3.commands.import.run NotImplementedError

what i doing wrong ?

Please solve the reCAPTCHA

We want to be sure it is you, please confirm you are not a robot.

Edited 4 years ago
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information

Linked issues
...

    Related merge requests

    • Mitica Ciorpac @ciorpac.mitica changed the description 4 years ago

      changed the description

    • Celine Mercier
      Celine Mercier @mercier · 4 years ago
      Owner

      Hi Mitica,

      You need to specify a view name (about the data structure, about the syntax). Try something like:

      obi import Bird-MT_genome/Birds-completeMTgenome.fasta bird/MTgenome
    • Mitica Ciorpac
      Mitica Ciorpac @ciorpac.mitica · 4 years ago

      Thank you! is working. All the best, Mitica

    • Mitica Ciorpac @ciorpac.mitica closed 4 years ago

      closed

    • Fabian Roger
      Fabian Roger @fabian.roger08 · 4 years ago

      Hi Celine @mercier,

      I am getting the same error although I (hope) I am using the right syntax.

      obi import --embl /Volumes/Elements/EMBL/Obitools_databases/OB_dat_EMBL_std_phg /Volumes/Elements/EMBL_dms/fungi_out
      2021-04-13 14:38:32,440 [import : INFO ]  obi import: imports an object (file(s), obiview, taxonomy...) into a DMS
      2021-04-13 14:39:34,251 [import : INFO ]  Importing 16055 entries
      Traceback (most recent call last):
        File "/usr/local/bin/obi", line 62, in <module>
          config[root_config_name]['module'].run(config)
        File "python/obitools3/commands/import.pyx", line 204, in obitools3.commands.import.run
      NotImplementedError
      (base) Fabians-MacBook-Pro:Obitools_databases fabian$ obi import --taxdump /Volumes/Elements/taxdump.tar.gz /Volumes/Elements/EMBL_dms/taxonomy/my_tax
      2021-04-13 18:25:26,689 [import : INFO ]  obi import: imports an object (file(s), obiview, taxonomy...) into a DMS
      Traceback (most recent call last):
        File "/usr/local/bin/obi", line 62, in <module>
          config[root_config_name]['module'].run(config)
        File "python/obitools3/commands/import.pyx", line 172, in obitools3.commands.import.run
      IndexError: list index out of range

      I assume it's a syntax error but couldn't solve it. Any help is highly appreciated!

      best

      Fabian

      Edited by Fabian Roger 4 years ago
    • Celine Mercier
      Celine Mercier @mercier · 4 years ago
      Owner

      Hi Fabian,

      This looks weird, I can't see anything wrong with your commands.

      It possibly looks like you might already have a normal folder named EMBL_dms in /Volumes/Elements/. I think this produces that kind of error, since the OBITools then try to follow a path inside the existing folder. If so, delete it and try again.

      Otherwise, could you copy/paste the output of ls /Volumes/Elements/ here?

      Best, Celine

    • Celine Mercier @mercier reopened 4 years ago

      reopened

    • Fabian Roger
      Fabian Roger @fabian.roger08 · 4 years ago

      Hi Celine,

      deleting the EMBL_dms folder solved it. I thought I had tried that before but apparently not.

      Thanks!

      Fabian

    • Celine Mercier
      Celine Mercier @mercier · 4 years ago
      Owner

      All good. Ideally the OBITools3 should handle this case better, I will open an issue for it.

    • Celine Mercier @mercier closed 4 years ago

      closed

    • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
    Please register or sign in to reply
    0 Assignees
    Assign to
    None
    Milestone
    None
    Assign milestone
    None
    Time tracking
    No estimate or time spent
    None
    Due date
    None
    0
    Labels
    None
    Assign labels
    • No matching results
    • Manage project labels
    Confidentiality
    Not confidential
    Lock issue
    Unlocked
    participants
    Reference: obitools/obitools3#87