Git Product home page Git Product logo

Comments (4)

arteymix avatar arteymix commented on September 23, 2024 1

That's a quite nice choice of tool @mbelmadani !

from rnaseq-pipeline.

arteymix avatar arteymix commented on September 23, 2024

There's a very nice support for configuration built-in into luigi.

https://luigi.readthedocs.io/en/stable/configuration.html

If we can have all the configuration localized in a single spot (i.e. luigi.cfg), then we can avoid using shell scripts and pass the relevant env entries directly to the component.

In addition, luigi has an external program module that can run the tasks without invoking manually subprocess.call and with the possibility of generating the relevant environment variables.

from rnaseq-pipeline.

mbelmadani avatar mbelmadani commented on September 23, 2024

Just a quick comment; the main reason for using shell-based configurations was because it was sometimes useful to run a single script from the pipeline without having to go through luigi. Also probably because the scheduler came in after the base scripts were written, mainly as a way to track which jobs were done or not and not to launch the same job multiple times concurrently, so there's probably a lot of useful features that are un/under-utilized (I'm thinking of how distributed processed is called for example, currently with GNU parallel over ssh). In general it does sound like a good idea to leverage more of the luigi built-ins.

from rnaseq-pipeline.

arteymix avatar arteymix commented on September 23, 2024

Fixed in f1559f3

We now store the configuration in luigi.cfg and I will progressively adjust the rest of the pipeline. I also updated the Wiki to describe the new way of running specific tasks for users (with luigi CLI).

from rnaseq-pipeline.

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.