Skip to content

Python tool for visualizing methylation status as lollipop diagram.

Notifications You must be signed in to change notification settings

dohlee/meth-pops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

meth-pops

Python tool for visualizing methylation status as lollipop diagram.

Note: It only supports .sam/.bam file generated by running Bismark.

Examples

Lollipop diagram of CpG sites.

lollipop

Commandline visualization of methylation status of CpGs within specified genomic region.

commandline

Pretty-print.

pretty_print

Usage

Clone or download ZIP of this repository, and run the methpops package with python.

$PY methpops --help

When you type the command above, you'll see some help messages as below. (Note that $PY should be replaced with appropriate path to the python executable.)

usage: methpops [-h] -i INPUT [-o OUTPUT] [-d TEMPDIR] [-t THREADS] [-c]
                [--pretty] [-l] [-r REGION]

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        Input file.
  -o OUTPUT, --output OUTPUT
                        Output lollipop plot.
  -d TEMPDIR, --tempdir TEMPDIR
                        Temporary directory in which the .sorted.bam file and
                        bam index file will be saved.
  -t THREADS, --threads THREADS
                        Number of threads to be used.
  -c, --commandline     Show methylation status at commandline.
  --pretty              Show methylation status at commandline in prettier
                        way.
  -l, --lollipop        Save lollipop plot. Default: True
  -r REGION, --region REGION
                        Genomic region to visualize.

This might help you run the program.

About

Python tool for visualizing methylation status as lollipop diagram.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages