Code Monkey home page Code Monkey logo

Comments (3)

snayfach avatar snayfach commented on May 21, 2024

Could you send me the version of the software and database? They should
both be v1.2.

On Nov 4, 2016 3:45 AM, "mherold1" [email protected] wrote:

Hello,

similarly to #20 #20 running
test_midas.py fails at this step:

./test_midas.py

....F.....

FAIL: test_help_text (main.MergeGenes)

Traceback (most recent call last):
File "./test_midas.py", line 132, in test_help_text
self.assertTrue(sum(self.retcodes)==0, msg=error)
AssertionError:

Failed to execute the command: merge_midas.py genes


Ran 10 tests in 252.652s

FAILED (failures=1)

I am running MIDAS on python 2.7.3

I traced back the error a bit and it probably comes from this call merge_midas.py
genes ./genes -i ./sample -t list --species_id Bacteroides_vulgatus_57955
--sample_depth 0.0, when I run it separately it shows the following error
message:

[...]
Identifying species
found 1 species with sufficient high-coverage samples

Merging: Bacteroides_vulgatus_57955 for 1 samples
Traceback (most recent call last):
File "/work/local_tools/MIDAS/scripts/merge_midas.py", line 352, in
run_program(program, args)
File "/work/local_tools/MIDAS/scripts/merge_midas.py", line 339, in run_program
merge_genes.run_pipeline(args)
File "/work/local_tools/MIDAS/midas/merge/merge_genes.py", line 109, in run_pipeline
read_cluster_map(sp, args['db'], args['cluster_pid'])
File "/work/local_tools/MIDAS/midas/merge/merge_genes.py", line 97, in read_cluster_map
sp.map[r['centroid_99']] = r['centroid_%s' % pid]
KeyError: 'centroid_95'

Do you know why this happens?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#35, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACAbrV07qtznlHXC8XqIocEAb_CnE7OCks5q6wzMgaJpZM4KpZu8
.

from midas.

mherold1 avatar mherold1 commented on May 21, 2024

I was using db 1.1, I will retry after updating

from midas.

mherold1 avatar mherold1 commented on May 21, 2024

Updating to v1.2 fixed the problem

from midas.

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.