Coder Social home page Coder Social logo

hmmcluster's Introduction

hmmcluster

Overview

This repo contains the code for a nucleotide sequence clustering algorithm based on Hidden Markov Models. This approach effectively addresses the challenge of non-homologous segments within the alignment.

Getting started

The easiest way to use this program is via the packaged jar file available for download from the release page to the right here. Then assuming Java is installed you run the program by providing a single argument which is a multi-sequences alignment (MSA) file in fasta format e.g. java -jar hmmcluster.jar test/msa.fa

By default, the program considers the alignment verbatim, but with the -trim option the underlying statistical approach can be used to find the optimal start and end base positions of the cluster-able region. e.g. java -jar hmmcluster.jar test/msa.fa -trim

Method

For full details see our paper Genomic and geographical structure of human cytomegalovirus

From a given sequence alignment, hmmcluster determines the optimal number of sequence clusters that best explain the diversity across the genomes. This approach groups together sequences based on the statistical likelihood that they come from the same underlying source.

Output

The program outputs two types of data. The first prints how well n HMM clusters represents the present variability, where n is 1 to the number of sequences in the input. This is represented by a table containing log likeihood, number of parameters and AIC. The last printed line of this output is the optimal number of clusters. The second output below this table is the assignment of sequences to clusters for the optimal model as just described.

Development and contacts

Richard Goldstein UCL & Oscar Charles UCL & Cristina Venturini UCL

hmmcluster's People

Contributors

ojcharles avatar

Watchers

 avatar

hmmcluster's Issues

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.