Giter Site home page Giter Site logo

Batch option for Medaka about dragonflye HOT 7 CLOSED

Spiltz avatar Spiltz commented on July 28, 2024
Batch option for Medaka

from dragonflye.

Comments (7)

rpetit3 avatar rpetit3 commented on July 28, 2024 1

This should be available in v1.0.13 (https://github.com/rpetit3/dragonflye/releases/tag/v1.0.13). I'll get it updated on Bioconda soon.

Thank you very much for the suggestion @Spiltz !

Please feel free to reopen if it doesn't work as expected!

from dragonflye.

rpetit3 avatar rpetit3 commented on July 28, 2024

Yeah, I think I can get it added, unfortunately won't be able to test (no gpu to test on).

Are you thinking something like --batch_size INT at runtime?

from dragonflye.

Spiltz avatar Spiltz commented on July 28, 2024

Yes exactly.
medaka call would look something like this:
run_cmd("medaka_consensus -i $FINAL_READS -d $POLISHED_FASTA -o $polish_dir -m $model -b $batch_size -t $cpus 2>&1", "polishing - medaka ($i of $medaka)");

Default batch size is 200.

from dragonflye.

rpetit3 avatar rpetit3 commented on July 28, 2024

Do you think a --medaka_opts might be more useful so that you can have access to change any other parameters in medaka?

from dragonflye.

Spiltz avatar Spiltz commented on July 28, 2024

Sure, adds quite a lot of flexibility there. Also prevents introducing code to check for --batch_size non-empty

from dragonflye.

rpetit3 avatar rpetit3 commented on July 28, 2024

Awesome! I'll get this added for you. Will update soon

from dragonflye.

rpetit3 avatar rpetit3 commented on July 28, 2024

Hopefully this does it for you: 79686e6

if tests pass, I'll submit a new release.

from dragonflye.

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.