Giter Site home page Giter Site logo

mummer-idotplot's Introduction

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

mummer-idotplot's People

Contributors

ryought avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mummer-idotplot's Issues

How can I plot all the contigs?

My query have at least 100 contigs,So What I should set the parameter to plot all the contigs easily?

mummer-idotplot 24771.mum 24771.html --refs all --querys all

like this?
Could U plz give me a answer?Thanks!

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.