GithubHelp home page GithubHelp logo

nanopore? about wgbs_tools HOT 2 CLOSED

nloyfer avatar nloyfer commented on August 15, 2024 1
nanopore?

from wgbs_tools.

Comments (2)

rodriguesk avatar rodriguesk commented on August 15, 2024

I've tried doing this and there's an issue with the code and incompatibility with the way CIGAR strings are encoded for nanopore and pacbio bam data as compared to Bismark processed whole genome bisulfite sequencing bam data.

From what I've looked at it seems long read data uses the bam tags MM and ML.
While bisulfite sequencing and bismark tool encode methylation in bam tags XM.

So some changes in the code seem to need to be made to allow compatibility with MM and ML CIGAR strings instead of only XM CIGAR strings in the bam files. This doesn't seem like a hard thing to do, just someone needs to do it. Please let me know when this is done as I'd like to use it too!

From bismark: https://www.bioinformatics.babraham.ac.uk/projects/bismark/Bismark_User_Guide.pdf
(12) NM-tag (edit distance to the reference) (13) MD-tag (base-by-base mismatches to the reference) (14) XM-tag (methylation call string) (15) XR-tag (read conversion state for the alignment) (16) XG-tag (genome conversion state for the alignment)

https://medium.com/@shlokanegi30/mm-and-ml-tags-in-mod-basecalled-bams-using-remora-9fc68a3cb72

MM and ML tags are specific to BAM files, generated by any DNA mod-basecalling algorithm (Eg- Guppy, Megalodon, Bonito, etc.) using nanopore sequencing long-reads.
This blog specifically focuses on understanding MM and ML tags in BAM files generated by Remora for detecting both 5mC and 5hmC mods (DUAL mode)

The SAM tags encoding 5mC positions and scores (MM, ML) are added to all HiFi reads.

from wgbs_tools.

nloyfer avatar nloyfer commented on August 15, 2024

wgbstools now supports nanopore files

from wgbs_tools.

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.