Skip to content

calculates probability of k-mer motif occurrence in n ntd random sequence

Notifications You must be signed in to change notification settings

naturale0/MotifOccur

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This program computes probability of k-mer sequence motif occurence in n ntd random target sequence. There's a blog post describing the rationale behind it. Python 3 needs to be installed.

Manual

  -h, --help              show help message and exit
  -k K [K ...]            length of query sequence (k >= 3)
  -n N [N ...]            length of random target sequence
  -p {0,1}, --plot {0,1}
                          Wheter or not to produce a plot
                          (0: no plot / 1: plot)

examples

1. single input

./main -n 52 -k 7 -p 0

n=52, k=7: 0.002804712821387148

2. multiple inputs

./main -n 500 500 500 -k 3 4 7 -p 1

img

About

calculates probability of k-mer motif occurrence in n ntd random sequence

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages