GithubHelp home page GithubHelp logo

Comments (7)

fullama avatar fullama commented on August 23, 2024

Hmm.. Could you maybe post the full error message? Is it possible that no genes were called?

from gunc.

SheikGeomicro avatar SheikGeomicro commented on August 23, 2024

from gunc.

fullama avatar fullama commented on August 23, 2024

so what it looks like here is that diamond just doesnt map anything to the reference db.. (this merged.genecalls.faa is a temporary file that you wouldnt get to see) Are there genes in the gene calls file? ill try make the error message more clear for the next version..

from gunc.

SheikGeomicro avatar SheikGeomicro commented on August 23, 2024

So to test whether it was my genomes being too novel relative to the database, I ran gunc using an E. coli MG1655 genome. I'm still getting the same error message that it can't find the merged.genecalls.faa. file. The prodigal output is perfectly fine it just can't find the merged.genecalls.faa file.
Screen Shot 2021-08-03 at 8 58 18 AM

Interestingly, I ran it again and specified the tmp directory. Got a different output error (see below) but the merged.genecalls.faa file was created this time.

Screen Shot 2021-08-03 at 9 09 34 AM

Finally I specified an out directory just to see if it would help. But same error as above.

I'm not sure what's happening. gunc 1.0.4 is running in its own conda environment and so should be isolated from anything interfering with it.

from gunc.

fullama avatar fullama commented on August 23, 2024

that is weird.. so i ran that same ecoli genome and it ran fine for me.. could you be having a problem with your storage..?
what happens if you run with --temp_dir /dev/shm ?

from gunc.

SheikGeomicro avatar SheikGeomicro commented on August 23, 2024

I'm not sure whats happening.... I did a complete reinstall, including the database, and still same problem is happening. I tried giving it the protein calls from prodigal and still getting an error. The only thing I can think of is there some python module I'm missing on our server that's running CentOS? Other than that I've hit a brick wall!

from gunc.

fullama avatar fullama commented on August 23, 2024

ok so after more investigation: the reason you got a different behaviour when you specified a temp_dir above (--tmp_dir gunc_temp) was that the directory gunc_temp didnt exist.. I will make sure to add a check for that in the next version..

So at least we have ruled that part out and we are back to why diamond fails.. How much effort do you want to go to here..?

If you wanted to, you could replace your /home/sheikc/cssheik/anaconda3/envs/GUNC/lib/python3.9/site-packages/gunc/external_tools.py file with https://gist.github.com/fullama/d22863fcea9bbd1c66a691f8df990f5e
this will output a more detailed error message about why diamond failed..

..I will add better debugging output to the list of things for the next release..

from gunc.

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.