Giter Club home page Giter Club logo

Comments (3)

jebrosen avatar jebrosen commented on August 11, 2024

Not sure, but maybe the RepeatMasker Libraries directory is missing a file/dir like CONS-Dfam_3.2? Should this work, or is it misguided?

It's not missing! The directory should be generated on an as-needed basis, by default in Libraries/ if it is writable, or in a directory under $HOME if Libraries is readonly.

Building general libraries in: /projects/hpcrcf/mcolema5/mcurrey-repeatmasker/Libraries/CONS-Dfam_3.2/general
RepeatMasker::createLib(): Error invoking /opt/rmblast/bin/makeblastdb on file /projects/hpcrcf/mcolema5/mcurrey-repeatmasker/Libraries/CONS-Dfam_3.2/general
/is.lib.

From around this time there should be a log file named rmblast.log, in that general/ directory. Could you paste or attach the contents of that file? It might have a more specific or informative error.

from tetools.

michaelkarlcoleman avatar michaelkarlcoleman commented on August 11, 2024

Thanks, that was very helpful. Here was what was in that log:

New DB name:   /projects/hpcrcf/mcolema5/mcurrey-repeatmasker/Libraries/CONS-Dfam_3.2/general/is.lib
New DB title:  /projects/hpcrcf/mcolema5/mcurrey-repeatmasker/Libraries/CONS-Dfam_3.2/general/is.lib
Sequence type: Nucleotide
Deleted existing Nucleotide BLAST database named /projects/hpcrcf/mcolema5/mcurrey-repeatmasker/Libraries/CONS-Dfam_3.2/general/is.lib
Keep MBits: T
Maximum file size: 1000000000B

No volumes were created.

Error: mdb_env_open: Cannot allocate memory

Looking around, this appears to be similar to this: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960756
In particular, it seems plausible that this is an mmap call failing. The 'ulimit -v' was set to about 48GB, but apparently that wasn't enough. Retrying with 'unlimited' seemed to get it working.

Appreciate your help!

P.S. Would be handy to have strace in that container, for debugging.

from tetools.

jebrosen avatar jebrosen commented on August 11, 2024

Glad to hear you found the cause - and thanks for that link. Apparently -blastdb_version 4 is a potential workaround for this issue in the debian bug report, which I'll consider adding to RepeatMasker itself - we have seen other issues with the version 5 databases in other contexts as well.

I have also added strace to the container starting in 1.3-beta-1, so I'm closing this issue. Thanks for the report!

from tetools.

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.