Git Product home page Git Product logo

Comments (12)

nunofonseca avatar nunofonseca commented on September 26, 2024

Hi,

In general you may define the number of threads in the configuration file (max_threads
parameter) - https://github.com/nunofonseca/irap/wiki/8-Configuration-file

However, currently this parameter it is not passed to the bowtie2-build program.

It seems that bowtie2-build program (version 2.2.6) does not support multi-threading. Is there a parameter to enable multi-threading in bowtie2-build?

Cheers

from irap.

Niklas123Niklas avatar Niklas123Niklas commented on September 26, 2024

Hey,

I tried hisat2 as mapper, and there is the same problem. The -p option is not passed to hisat2-build.

Best regars

from irap.

nunofonseca avatar nunofonseca commented on September 26, 2024

Yes, for hisat2-build the -p option was not being enabled - it is now fixed in the devel branch.

Thanks.

from irap.

Niklas123Niklas avatar Niklas123Niklas commented on September 26, 2024

Hey,

I found the parameter for bowtie2-build:

--threads <int> By default bowtie2-build is using only one thread. Increasing the number of threads will speed up the index building considerably in most cases.

Is it enough if I change
bowtie2_index_params=$(bowtie2_index_options)
to
bowtie2_index_params=--threads $(max_threads) $(bowtie2_index_options)
to enable the option for bowtie2-build?

Edit: this option was added in bowtie2 version 2.2.7... Is it possible to upgrade to a newer verison in iRAP?

from irap.

nunofonseca avatar nunofonseca commented on September 26, 2024

Hi,
yes to both questions. I'll try to include bowtie2 2.2.7 (or later) version in the next release of iRAP.
Cheers.

from irap.

Niklas123Niklas avatar Niklas123Niklas commented on September 26, 2024

Hey,
sounds good! Do you have a plan when to release next version of iRAP?
Cheers,

from irap.

nunofonseca avatar nunofonseca commented on September 26, 2024

It should happen in February.
Cheers.

from irap.

nunofonseca avatar nunofonseca commented on September 26, 2024

Hi,
I just pushed a (minor) new release of iRAP that includes bowtie 2.2.9 and multi-thread support for bowtie2-build. Please let me know if it works for you to close this issue.
Thanks.

from irap.

Niklas123Niklas avatar Niklas123Niklas commented on September 26, 2024

Hey,
Thanks for the fast response!

I updated as in the Wiki described, but:

  1. `./scripts/irap_install.sh -a -s .` from Wiki did not work -> `./scripts/irap_install.sh -s . -a` did work.
    
  2. Then I got an error
    Makefile:490: recipe for target 'yapi.o' failed make: *** [yapi.o] Error 1

I try do a full reinstall and report to you.
The log file: 2301171046.txt

Edit: Full reinstall worked, data is analysed atm.

from irap.

nunofonseca avatar nunofonseca commented on September 26, 2024

Hi,
Thanks for the report. The full update (./scripts/irap_install.sh -s . -a) should be working now (devel branch).
You may quickly update the core iRAP code and bowtie2 by running
./scripts/irap_install.sh -s . -u
./scripts/irap_install.sh -s . -x bowtie2

Cheers.

from irap.

Niklas123Niklas avatar Niklas123Niklas commented on September 26, 2024

Everything works fine for me atm. Data is analysed without error and I did not see problems regarding multithreading so far. Thank you for the help!
Cheers

from irap.

nunofonseca avatar nunofonseca commented on September 26, 2024

Great! Thanks for reporting the issues!
Cheers.

from irap.

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.