Coder Social home page Coder Social logo

2020-stacked-dot-plots's Introduction

Stacked dot plots

an exploratory repository

Run mashmap or nucmer to find alignments between a query genome and one or more target genomes; plot, dot-plot style.

See the source in alignplot.py and the dotplot notebook for more info.

The first two examples below are of "non-stacked" dotplots, as in, they are just pairwise dotplots.

The third example below "stacks" the dotplots on the x axis, so that you can see two dotplots against the same query genome in the query genome coordinates, but with the target genomes split out.

installation and running

For now, if you want to try this out for yourself --

  • you'll need python3 installed
  • you'll need mummer4 and/or mashmap installed, along with matplotlib.
  • you'll need to put genomes somewhere (e.g. the genomes/ directory)
  • you can add names or replace names in info.csv
  • see the source in alignplot.py and the dotplot notebook for more info on actually running.

(More work to be done here -- will binderize eventually :)

examples

Shared sequences (contamination?) between two Genbank genomes.

Here, the Rokubacterium (red, x axis) is probably contaminated by sequences from the Acidobacterium (y axis coordinates).

Shared sequences between a TARA MAG and a Genbank genome.

The TARA binned genome/MAG is on the y axis, the Genbank genome is on x in red.

Shared sequences between a TARA MAG and two Genbank genomes.

The TARA binned genome/MAG is on the y axis, the first Genbank genome is on x in red, the second is on x in blue.

contact

Titus Brown, [email protected]

CTB Nov 2020

2020-stacked-dot-plots's People

Contributors

ctb avatar

Watchers

 avatar

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.