Skip to content

Python code for adding XM tag to bisulfite bam file.

Notifications You must be signed in to change notification settings

BonilKoo/XMtagger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

Bisulfite XM tagger

Python code for adding XM tag (methylation call string) to bisulfite bam file.

Both Single-end and paired-end are available.

Motivation

Some bisulfite alignment tools do not provide XM tag. XM tag is required to compute levels of DNA methylation heterogeneity.

Package requirement

File requirement

The input bam file must be indexed.

Usage

python XMtagger.py [reference genome file] [input bam file] [output bam file]

Example

python XMtagger.py hg38.fa input.bam output.bam

Additional Information

For faster results, it is recommended to use the subcommand tag in Metheor.

https://github.com/dohlee/metheor

About

Python code for adding XM tag to bisulfite bam file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages