Git Product home page Git Product logo

Comments (3)

greboul avatar greboul commented on September 27, 2024 3

It's been more than a year since Nick reported this issue and I recently encountered it too.

After hours of wondering i finally looked into the tool perl code and found why; it's simply because of line 99 in the executable (in bin dir): err("nhmmer failed to run - $_") if m/fail|error|core dump|bus error/i;

In Nick's first caption, the file path contained the fail word - X361_fail_Common_Opossum__maxbin2__High.001.fna
And that perl line looks for that and therefore thinks that it is a fail error message from nhmmer...

So changing just the directories or the files name that barrnap is using to avoid any of those key words used in line 99 regex in the path is going to fix the error. Definitely something that can be improved easily if a Barrnap.10 is coming

from barrnap.

nick-youngblut avatar nick-youngblut commented on September 27, 2024

I am running barnap on 100's of genomes, and this error is only occurring for a few of them, which makes it seem to be input-specific, but the genome files appear to be valid.

Is the error caused by a lack of usable output by nhmmer?

from barrnap.

jvollme avatar jvollme commented on September 27, 2024

@greboul: Thanks, that helped me figure out my problem too! In my case this error occurs whenever the infput fasta files contain the substring "error" somewhere in the filename.
Weird bug but luckily fixable if one knows the problem...

from barrnap.

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.