Skip to content

Generate interactive dotplot from mummer4 output using plotly

Notifications You must be signed in to change notification settings

PengfeiInTuebingen/mummer-idotplot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mummer-idotplot

Generate interactive dotplot from MUMmer4 output using plotly

Downloads PyPI version

Installation

$ pip install mummer-idotplot

plotly is required to install.

Usage

When aligning two sequences with MUMmer4, you should set an option -F(force 4 column output format) and -L(show length of query). Also, you should not use -c option, which change output position of match starting position and have bugs.

So for example: If you have chr1, chr2 in reference.fasta, and contig1, contig2 in query.fasta

$ mummer -maxmatch -F -L -b -l 10 reference.fasta query.fasta > output.mum
$ mummer-idotplot output.mum output.html --ref chr1 chr2 --query contig1 contig2
$ mummer-idotplot output.mum output.html --ref chr1:0:50000 chr2:100:20000 --query contig1 contig2  # you can specify the region to plot
$ open output.html  # you'll see dotplot in your browser

About

Generate interactive dotplot from mummer4 output using plotly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.3%
  • Shell 3.7%
  • Makefile 1.0%