Coder Social home page Coder Social logo

tommakesthings / genome-sequence-analysis-hmm Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 2.0 1.35 MB

HMM for annotating coding regions of DNA in S. cerevisiae chromosome III

Jupyter Notebook 100.00%
hmm hidden-markov-model genome-sequence-analysis chromosome yeast computational-biology baum-welch forward-algorithm gc-content s-cerevisiae

genome-sequence-analysis-hmm's Introduction

Genome Sequence Analysis Hidden Markov Model

🧬 Code by TomMakesThings 🧬

January 2022


Methodology

In this Jupyter notebook, coding regions of S. cerevisiae chromosome III DNA were inferred by modelling regions of the genome via a hidden Markov model (HMM). The chromosome was binned into 100 base-pair long windows and the percentage of G and C per window calculated. The %GC per window was then labelled with one of five possible categories, e.g. %GC < 33%, and the encoded genome modelled as an emitted sequence of the HMM. This allowed the Baum-Welch algorithm to be run to estimate the HMM's parameters. The coding and non-coding regions of DNA could then inferred through estimating the most probable sequence of hidden states via the Viterbi algorithm.

Figure (A) HMM state transition diagram is shown in the centre, with number above each arrow depicting the inferred probability of jumping from one state to another, e.g. there is a 9% probability of transitioning from a coding to non-coding region. To the left/right are the probabilities of the HMM emitting different %GC depending on whether the model is in the coding or non-coding state.

Results

Looking at the first 150 windows of encoded S. cerevisiae chromosome III, the first 9 were predicted to be a coding region. This is because the first 1,098 base pairs are known to be the telomeric region TEL03L, and in most organisms telomeric regions have high %GC. The telomere is followed by 251bp long terminal repeat and a 744bp dubious open reading frame. As these regions consecutively have lower %GC, they have been predicted non-coding by the Viterbi algorithm.

In long genomic sequences, higher %GC is indicative of the presence of genes. The next region predicted as coding is between bins 23 to 37, i.e. base pairs 2300 to 3700. When compared against the known annotation, the high %GC in this area can be explained by the presence of two pseudogenes between 2126bp - 2566bp and 2824bp - 3750bp.

Other regions of interest include GEX1, a gene encoding a proton:glutathione antiporter between 6479bp - 8326bp, VBA3, a vacuolar basic amino acid transporter between 9706bp - 11082bp and YCL068C, a putative protein of unknown function between 11503bp - 12285bp. The HMM successfully identifies the location of YCL068C, however it is not always precise demonstrated as it only picked up on the first half of GEX1 and did not pinpoint VBA3.

Figure (B) 100bp windows of S. cerevisiae chromosome III (x-axis), their %GC (y-axis) and the HMM's predicted state. Known coding regions of the genome are annotated in grey via the reference below. A higher emitted value represents higher %GC, with 1 representing %GC < 33 and 5 representing %GC > 45. A predicted state of 0 indicates the HMM predicted a coding region, while 1 indicates a prediction of a non-coding region.

genome-sequence-analysis-hmm's People

Contributors

tommakesthings avatar

Stargazers

 avatar  avatar  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.