Detailed visualization of CMs, HMMs and their comparisions

Latest on Hackage:1.0.8

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow to host generated Haddocks.

GPL-3 licensed by Florian Eggenhofer


cmv is a collection of tools for the visualisation of Hidden Markov Models (HMMV) and RNA-family models (CMV). Moreover it can visualise comparisons of these models (HMMCV,CMCV), and annotate linked regions in the structural alignments they were constructed from and via, 3rd party tools, in their consensus secondary structure.

They are available as a commandline tools and as a webservice cmvs.

The source code of cmv is open source and available via GitHub and Hackage (License GPL-3):

  • GitHub Build Status Hackage Bioconda Docker Repository on Quay

For instruction how to use cmv please see the Help page.


For Linux we recommend installation via bioconda, for macOS usage of the docker container. The example input files used in the webservice (EGF, Piwi, Hammerhead Clan, tRNA Clan) can be retrieved here: Example input

Installation via bioconda - Linux

cmv can be installed with all dependencies via conda. Once you have conda installed simply type:

   conda install -c bioconda -c conda-forge cmv

Usage via biocontainer docker - MacOS

cmv can be retrieved and used as docker container with all dependencies via docker. Once you have docker installed simply type:

   docker run -i -t /bin/bash

Installation via cabal-install

cmv is implemented in Haskell and can be installed via the Haskell package distribution sytem cabal. CMV is implemented in Haskell and can be installed via the Haskell package distribution sytem cabal. Additionally to cabal you require cairo, pango, happy and alex which can be installed via the distribution package manager e.g. Ubuntu:

    sudo apt-get install libcairo2 libpango1.0-0 libpangomm-1.4-dev happy alex

Once you have cabal installed simply type:

     cabal install cmv

Optional Dependencies:

cmv creates output which can be visualised via following optional dependencies.

Precompiled Executables


1.0.8 Florian Eggenhofer <> 27. January 2018
* Fixed secondary structure visualisation for missing consensus
secondary structure
1.0.7 Florian Eggenhofer <> 15. January 2018
* Improved placment of index labels
* Prepared for layout direction extension
1.0.6 Florian Eggenhofer <> 26. September 2017
* Fixed a missing output bug in HMMCV
1.0.5 Florian Eggenhofer <> 18. September 2017
* Changed used stack lts due to problems with build tool dependencies
1.0.4 Florian Eggenhofer <> 14. September 2017
* Initial compatiblity with GHC 8.2.1
1.0.3 Florian Eggenhofer <> 12. September 2017
* Added missing README instructions
* Added link to biocontainer
* Fixed changed dependency in travis file, updated stack file
1.0.2 Florian Eggenhofer <> 22. June 2017
* Added package meta files for stack and cabal-new
1.0.1 Florian Eggenhofer <> 16. June 2017
* Additions to documentation
1.0.0 Florian Eggenhofer <> 16. June 2017
* Initial release
comments powered byDisqus