Coder Social home page Coder Social logo

Appending Taxonomy Error about amptk HOT 4 CLOSED

nextgenusfs avatar nextgenusfs commented on August 20, 2024
Appending Taxonomy Error

from amptk.

Comments (4)

nextgenusfs avatar nextgenusfs commented on August 20, 2024

I believe this has been fixed in newer versions, please upgrade to the latest and let me know if problem persists.

from amptk.

MycoMap avatar MycoMap commented on August 20, 2024

Will do

from amptk.

bsmoda avatar bsmoda commented on August 20, 2024

I also got an error with the taxonomy step, the biom wasn't created:
[02/22/19 17:05:25]: biom convert -i ../cluster/its2_mosaic_all.final.txt -o ../cluster/its2_mosaic_all.biom.tmp --table-type OTU table --to-json
[02/22/19 17:05:26]: Traceback (most recent call last):
File "/mnt/data2/lbcb/conda/envs/amptk/bin/biom", line 6, in
from biom.cli import cli
File "/mnt/data2/lbcb/conda/envs/amptk/lib/python2.7/site-packages/biom/init.py", line 51, in
from .table import Table
File "/mnt/data2/lbcb/conda/envs/amptk/lib/python2.7/site-packages/biom/table.py", line 200, in
from ._filter import _filter
File "init.pxd", line 861, in init biom._filter (biom/_filter.c:6729)
ValueError: numpy.ufunc has the wrong size, try recompiling. Expected 192, got 216

[02/22/19 17:05:26]: biom add-metadata -i ../cluster/its2_mosaic_all.biom.tmp -o ../cluster/its2_mosaic_all.biom --observation-metadata-fp ../cluster/
[02/22/19 17:05:27]: Traceback (most recent call last):
File "/mnt/data2/lbcb/conda/envs/amptk/bin/biom", line 6, in
from biom.cli import cli
File "/mnt/data2/lbcb/conda/envs/amptk/lib/python2.7/site-packages/biom/init.py", line 51, in
from .table import Table
File "/mnt/data2/lbcb/conda/envs/amptk/lib/python2.7/site-packages/biom/table.py", line 200, in
from ._filter import _filter
File "init.pxd", line 861, in init biom._filter (biom/_filter.c:6729)
ValueError: numpy.ufunc has the wrong size, try recompiling. Expected 192, got 216

The complete log file is attached below.
its2_mosaic_all.amptk-taxonomy.log

from amptk.

nextgenusfs avatar nextgenusfs commented on August 20, 2024

Looks like this is not an amptk error -- but rather an error from your install of the biom tool. Try to run this manually and you'll see the error. You need to fix your biom install -- likely a numpy/biom compiliation issue.

biom convert -i ../cluster/its2_mosaic_all.final.txt -o ../cluster/its2_mosaic_all.biom.tmp --table-type OTU table --to-json

Here is your error in the logfile:

[02/22/19 17:05:25]: biom convert -i ../cluster/its2_mosaic_all.final.txt -o ../cluster/its2_mosaic_all.biom.tmp --table-type OTU table --to-json
[02/22/19 17:05:26]: Traceback (most recent call last):
  File "/mnt/data2/lbcb/conda/envs/amptk/bin/biom", line 6, in <module>
    from biom.cli import cli
  File "/mnt/data2/lbcb/conda/envs/amptk/lib/python2.7/site-packages/biom/__init__.py", line 51, in <module>
    from .table import Table
  File "/mnt/data2/lbcb/conda/envs/amptk/lib/python2.7/site-packages/biom/table.py", line 200, in <module>
    from ._filter import _filter
  File "__init__.pxd", line 861, in init biom._filter (biom/_filter.c:6729)
ValueError: numpy.ufunc has the wrong size, try recompiling. Expected 192, got 216

[02/22/19 17:05:26]: biom add-metadata -i ../cluster/its2_mosaic_all.biom.tmp -o ../cluster/its2_mosaic_all.biom --observation-metadata-fp ../cluster/its2_mosaic_all.qiime.taxonomy.txt -m ../preprocessing/its2_mosaic_all.mapping_file.txt --sc-separated taxonomy --output-as-json
[02/22/19 17:05:27]: Traceback (most recent call last):
  File "/mnt/data2/lbcb/conda/envs/amptk/bin/biom", line 6, in <module>
    from biom.cli import cli
  File "/mnt/data2/lbcb/conda/envs/amptk/lib/python2.7/site-packages/biom/__init__.py", line 51, in <module>
    from .table import Table
  File "/mnt/data2/lbcb/conda/envs/amptk/lib/python2.7/site-packages/biom/table.py", line 200, in <module>
    from ._filter import _filter
  File "__init__.pxd", line 861, in init biom._filter (biom/_filter.c:6729)
ValueError: numpy.ufunc has the wrong size, try recompiling. Expected 192, got 216

Next time please open a new issue unless it is the exact same problem.

from amptk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.