Uploaded image for project: 'UGENE'
  1. UGENE
  2. UGENE-6378

Add MetaPhlAn2 dependency from Bio python module

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: master
    • Fix Version/s: 1.32
    • Component/s: Basic-Other
    • Labels:
    • Tests Type:
      GUI automatic
    • Sprint:
      DEV-32-RELEASE
    • Affect Type:
      Userdefined

      Description

      MetaPhlAn2 additional script "read_fastx.py" can't work without Bio python module. If a python without installed Bio module is set, "MetaPhlAn2 classification" task launches and fails with incorrect error.

      Stderr output:

      Warning! Biom python library not detected!
      Exporting to biom format will not work!
      Traceback (most recent call last):
      File "/Applications/U-1.32.0-full-rc2.app/Contents/MacOS/tools/metaphlan2-2.7.7/utils/read_fastx.py", line 9, in 
      from Bio import SeqIO
      ImportError: No module named Bio
      OSError: fatal error running '/Applications/U-1.32.0-full-rc2.app/Contents/MacOS/tools/metaphlan2-2.7.7/utils/read_fastx.py'. Is it in the system path?
      

      The following should be fixed:

      1. Log parser should catch message
        ImportError: No module named Bio
        

        and generate an error message based on this information.

      2. MetaPhlAn2 external tool should have a dependency from Bio python module.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kir Kirill Rasputin
              Reporter:
              atiunov Aleksey Tiunov [X] (Inactive)
              Assigned Tester:
              Aleksey Tiunov [X] (Inactive)
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: