how extract CpG methylation calls from nanopore long sequencing bam file ?
2
0
Entering edit mode
8 weeks ago

I already have 6mA methylized sorted bam file and i want to make plot enrichment profile with 6mA and mCpG methylation fraction ,so how extract CpG methylatiuon calls from nanopore long sequencing bam file ?

methylation • 761 views
ADD COMMENT
1
Entering edit mode
8 weeks ago
GenoMax 153k

Do you know if your file already has the methylation calls for mCpG? If they are there then you can use modkit (LINK) provided by ONT.

Otherwise you will have to go back and re-basecall methylated bases with dorado and pod5 files from original data folder, followed by the analysis above.

ADD COMMENT
0
Entering edit mode

thank you so much ,your information really so helpfull and already solved problem ,another things i want to ask is i am running basecalling using epi2me and nextflow in linux ,but there is always error and i did not understand it .:ERROR ~ Error executing process > 'wf_dorado:dorado (2)'

Caused by: Failed to pull singularity image command: singularity pull --name ontresearch-dorado-shae9327ad17e023b76e4d27cf287b6b9d3a271092b.img.pulling.1754057268435 docker://ontresearch/dorado:shae9327ad17e023b76e4d2 7cf287b6b9d3a271092b > /dev/null status : 255 hint : Try and increase singularity.pullTimeout in the config (current is "20m") message:

ADD REPLY
1
Entering edit mode
7 weeks ago

The BAM file has tags that contain the information you need.

There are tags such as:

  • MM: Modified base motif and positions.
  • ML: Per-base modification likelihoods

You can use tools like

or write a program with PySAM to extract that information

ADD COMMENT
1
Entering edit mode

modkit is the updated version of modbam2bed, which is deprecated. Megalodon is also deprecated.

So use dorado -> minimap -y -> modkit.

ADD REPLY

Login before adding your answer.

Traffic: 6180 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6