Coder Social home page Coder Social logo

Does MA supports memory mapping? about ma HOT 2 CLOSED

itbe-lab avatar itbe-lab commented on June 25, 2024
Does MA supports memory mapping?

from ma.

Comments (2)

MarkusRainerSchmidt avatar MarkusRainerSchmidt commented on June 25, 2024

Hi,

MA allows you to specify many files as input at once: -i file1.fastq,file2.fastq,...
So I would recommend processing all your samples with the same call.
Of course, this means you will then have to "demultiplex" your resulting .sam file.
This could e.g. be done by prepending some prefix to the names of all reads.

About the memory mapping:
MA does not support memory mapping the index and we do not intend to implement this feature - sorry.
First of all, we are using BWA-MEM's code for the index. This makes it technically harder for us to modify things since we are not really familiar with the code organization etc...
Secondly, the way the index is used, many more or less random jumps between intervals of the index are necessary. This means that even with a memory-mapped file, the full index would have to be loaded anyways during the alignment process.

Hopefully, the demultiplexing trick can solve your problem!

Cheers,
Markus

from ma.

dawnmy avatar dawnmy commented on June 25, 2024

Thank you very much for the solution. Sounds practical. I will close this issue.

from ma.

Related Issues (15)

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.