fmalmeida / plot_nucmer

A simple script to run an alignment with nucmer and visualise its results.
https://plot-nucmer.readthedocs.io/en/latest/
GNU General Public License v3.0
7 stars 0 forks source link
circular-visualization conda ggbio nucmer plot r whole-genome-alignment

GitHub release (latest by date)

Plot nucmer

plot_nucmer is a simple script to run an alignment with nucmer and visualise its results.

Table of contents

Features

This script is designed to:

It is an automation of the methods described by Taylor Reiter at https://taylorreiter.github.io/2019-05-11-Visualizing-NUCmer-Output/.

If you don't like very much the combination of nucmer and ggbio, check out my other package called easy_circos that uses blastn and circos.

Installation

Conda package

Users are advised to create separate conda environments

# Get the conda package
mamba create -n plot_nucmer -c conda-forge -c bioconda -c falmeida plot_nucmer

:fire: Users are advised to use mamba since it is faster.

Docker image

# pull and enter the image
docker run --platform linux/amd64 -v $(pwd):/work -w /work -it fmalmeida/plot_nucmer

# run the script from inside the container
root@c896e9370a2f:/work# plot_nucmer --help

Remember to use the parameters -v so your files are available to the docker container.

:fire: The "--platform linux/amd64" only tells docker the architecture that the image was built so it emulates the correct one. You can run this exact command in any system architecture.

Documentation

Command line documentation can be seen with:

# activate env
conda activate plot_nucmer

# see help
plot_nucmer --help

Additionally, an online documentation and a simple step-by-step quickstart is provided:

Collaborating

You can collaborate by:

Checkout more at about forking and contributing to repos at:

Citation

To cite this pipeline users can use the github url. Users are encouraged to cite the python packages used in this pipeline whenever their outputs are valuable.