Code Monkey home page Code Monkey logo

eternafold's People

Contributors

everyday847 avatar hwaymentsteele avatar rhiju avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eternafold's Issues

Probability of pairing greater than 1

Expected Behavior

Probability of pairing $p_i$, calculated as a sum of all pairing probabilities $p_{ij}$, should not exceed unity, $p_i = \sum_j p_{ij} \leq 1$.

Current Behavior

For longer sequences, probability of pairing for certain nucleotides exceeds 1, the difference being significantly greater than one would expect from numerical instabilities.

Reproduction Steps

Fold the following MS2 sequence (MS2_short.txt) with default parameters:

./src/contrafold predict MS2_short.txt --params parameters/EternaFoldParams.v1 --posteriors 0.00001 MS2_bps.txt

Looking at the obtained pair probability matrix (MS2_bps.txt), one observes the following two lines:

571 C 613:0.00438902 616:0.996947
572 C 612:0.00449777 615:0.996294

The total pairing probability for nucleotides 571 and 572 therefore exceeds 1: $p_{571} = 1.00134$, $p_{572}= 1.000792$.

Environment

No response

Other information

No response

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.