Giter Club home page Giter Club logo

Comments (2)

dpryan79 avatar dpryan79 commented on July 3, 2024

Some day I hope to post something on bioarxiv, but in the interim here's a very brief description:

MethyDackel uses htslib (what powers samtools) to create a "pileup" of bases at each position in the genome. A "pileup" is a reference to the "samtools mpileup" command and can be visualized as a stack of bases covering a position with their corresponding Phred quality scores. MethylDackel then filters this pileup of bases according to base call quality and where they are in their reads (c.f. --OT and such). If the reference base at a given position is a C on either strand and that C is in one of the desired contexts then it's written to the output.

There are some additional details when one has a paired-end dataset. Namely, one doesn't want to extract the same methylation call from both mates if they overlap. Consequently, in such cases the base call quality of one of the mates is set to 0 so it will be filtered out. Additionally, the base call quality of the remaining base is adjusted up or down depending on whether both mates agree on the base call or not (this is also how samtools mpileup works).

The mbias subfunction works in a similar manner. It notes when there's apparent methylation and save that as a function of position within each read.

If you need details about anything else related to this tool then feel free to ask. Also, sorry for any typos in this reply, I'm writing this on an iPad rather than a proper computer.

from methyldackel.

divy-kangeyan avatar divy-kangeyan commented on July 3, 2024

Thank you for the explanation. Looking forward to the paper!

from methyldackel.

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.