Skip to content

runtime-terror101/Gibbs-Sampling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Gibbs-Sampling

This python script

  • Generates 100 random 1 kilobase sequences (assuming they are upstream regions of some genes).

  • Randomly generates a motif of length 10 bases.

  • Plants the motif after introducing 0,1, or 2 random mutations (uniformly distributed).

  • Then implements the Gibbs Sampler algorithm which is used to find common motifs in DNA sequences; to identify the motif locations and the consensus motif. This probablistic search algorithm runs in polynomial time, which is an improvement over the brute force algorithm's exponential running time.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages