Git Product home page Git Product logo

Comments (6)

goldenflaw avatar goldenflaw commented on July 18, 2024

from leafcutter.

shoersch avatar shoersch commented on July 18, 2024

Thanks much - so, commenting out instances of "chromLst = " and corresponding "if chrom not in chromLst:" statements (2 instances, I think - in "pool_junc_reads" and in "sort_junctions" ), allows the script to run, apparently ok (although I haven't evaluated thoroughly!), now producing clusters with the non-standard chr IDs etc.

Could this, then, be made a user parameter? For now, I can live with this hack, but I would be very concerned, if I had to re-hack this script every time a new version of leafcutter comes around...

Sebastian

from leafcutter.

goldenflaw avatar goldenflaw commented on July 18, 2024

from leafcutter.

shoersch avatar shoersch commented on July 18, 2024

Awesome! Thanks so much for prompt replies. Staying tuned.

from leafcutter.

stephenrdoyle avatar stephenrdoyle commented on July 18, 2024

Hey @shoersch - are you happy to share your code fix for this?

Cheers,
Steve

from leafcutter.

goldenflaw avatar goldenflaw commented on July 18, 2024

We have added a new script leafcutter_cluster_regtools.py which has this fixed. You'll need to use regtools to extract junctions, however. This is not totally compatible with the differential splicing function, as we also added strands. If you want to use this script for differential splicing, you currently have to remove the strand info yourself (just remove :+ and :- from the cluster ID)

from leafcutter.

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.