Lukas Adam (Talk | contribs) |
|||
Line 114: | Line 114: | ||
} | } | ||
</style> | </style> | ||
− | |||
− | |||
+ | <!-- Assets --> | ||
+ | <link rel="stylesheet" href="http://static.tildacdn.com/css/tilda-grid-3.0.min.css" type="text/css" media="all" /> | ||
+ | <link rel="stylesheet" type="text/css" | ||
+ | href="https://2017.igem.org/Template:Heidelberg/general/CSS?action=raw&ctype=text/css" /> | ||
+ | <link rel="stylesheet" href="http://static.tildacdn.com/css/tilda-zoom-1.0.min.css" type="text/css" media="all" /> | ||
+ | <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Josefin+Sans:300,400|Roboto:300,400,500"> | ||
+ | <link rel="stylesheet" href="http://azmind.com/demo/bootstrap-navbar-menu/layout-3/assets/bootstrap/css/bootstrap.min.css"> | ||
+ | <script src="http://azmind.com/demo/bootstrap-navbar-menu/layout-3/assets/bootstrap/js/bootstrap.min.js"></script> | ||
+ | <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css?action=raw&ctype=text/css" type="text/css" rel="stylesheet"> | ||
+ | <link rel="stylesheet" href="http://azmind.com/demo/bootstrap-navbar-menu/layout-3/assets/font-awesome/css/font-awesome.min.css"> | ||
+ | <link rel="stylesheet" type="text/css" | ||
+ | href="https://2017.igem.org/Template:Heidelberg/navbar/CSS?action=raw&ctype=text/css" /> | ||
+ | <link rel="stylesheet" type="text/css" | ||
+ | href="https://2017.igem.org/Template:Heidelberg/table_layout/CSS?action=raw&ctype=text/css" /> | ||
+ | <!-- Favicon and touch icons --> | ||
+ | <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> | ||
+ | <script src="http://static.tildacdn.com/js/jquery-1.10.2.min.js"></script> | ||
+ | <script src="http://static.tildacdn.com/js/tilda-scripts-2.8.min.js"></script> | ||
+ | <script src="http://static.tildacdn.com/js/tilda-zoom-1.0.min.js"></script> | ||
+ | <script src="http://static.tildacdn.com/js/bootstrap.min.js"></script> | ||
+ | <script src="http://static.tildacdn.com/js/jquery.touchswipe.min.js"></script> | ||
+ | <script src="http://static.tildacdn.com/js/tilda-map-1.0.min.js"></script> | ||
+ | <script src="http://static.tildacdn.com/js/lazyload-1.3.min.js"></script> | ||
+ | |||
+ | <style> | ||
+ | #input_form { | ||
+ | background-color: #939393; | ||
+ | border: none; | ||
+ | color: white; | ||
+ | padding: 5px 32px; | ||
+ | text-align: center; | ||
+ | text-decoration: none; | ||
+ | display: inline-block; | ||
+ | font-size: 16px; | ||
+ | } | ||
+ | |||
+ | </style> | ||
+ | </head> | ||
+ | <body class="t-body"> | ||
+ | <!-- CSS --> | ||
+ | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | <!-- Top menu --> | |
− | + | <nav class="navbar navbar-inverse navbar-fixed-top navbar-no-bg" role="navigation"> | |
− | + | <div class="container"> | |
− | + | <div class="navbar-header"> | |
− | + | <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#top-navbar-1"> | |
− | + | <span class="sr-only">Toggle navigation</span> | |
+ | <span class="icon-bar"></span> | ||
+ | <span class="icon-bar"></span> | ||
+ | <span class="icon-bar"></span> | ||
+ | </button> | ||
+ | <a class="navbar-brand" href="#"><div id="circle"> | ||
+ | </div></a> | ||
+ | </div> | ||
+ | <!-- Collect the nav links, forms, and other content for toggling --> | ||
+ | <div class="collapse navbar-collapse" id="top-navbar-1"> | ||
+ | <ul class="nav navbar-nav navbar-right"> | ||
+ | <li><a href="#">Achievements</a></li> | ||
+ | <li class="dropdown"><a href="#">Project <span class="caret"></span></a> | ||
− | + | </li> | |
− | + | <li><a href="#">Modeling</a></li> | |
− | + | <li><a href="#">Software & Hardware <span class="caret"></span></a></li> | |
− | + | <li class="dropdown"><a href="#">Human Practice <span class="caret"></span></a> | |
− | + | <ul class="dropdown-menu"> | |
+ | <li><a href="">Safety & Security</a></li> | ||
+ | <li class="divider"></li> | ||
+ | <li><a href="">Integrated Human Practice</a></li> | ||
+ | <li><a href="">Education</a></li> | ||
+ | <li class="divider"></li> | ||
+ | <li><a href="">Public Engagement</a></li> | ||
+ | <li><a href="">Collaborations</a></li> | ||
+ | </ul> | ||
+ | |||
+ | </li> | ||
+ | <li><a href="#">People</a></li> | ||
+ | <li><a href="#">Toolbox</a></li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | </div> | ||
+ | </nav> | ||
+ | |||
− | : | + | <div style="background-color:white;"> |
− | + | <div class="t-container"> | |
− | + | <div class="t-col t-col_12"> | |
− | + | <div class="container-fluid tex" style="margin-top: 100px; padding-bottom: 30px;"> | |
− | + | <h1>Internal Tools</h1> | |
− | } | + | <h2>Number of mutations and mutated sequences</h2> |
− | / | + | <p>Expected number of mutations in a single sequence: |
+ | $$p_{m} = \frac{N_{mutations}}{L_{Sequence}} = N_{generations} * r_{mutation} = t_{total} * \Phi * r_{mutation}$$ | ||
+ | </p> | ||
+ | <p>The expected share of sequences that shows at least one mutation in \(L_{Sequence}\) bp is the probability that \(L_{sequence}\) basepairs stay unchanged when \(\frac{N_{mutations}}{L_{Sequence}}\) mutations are expected: | ||
+ | $$p_{M} = \frac{N_{mutated}}{N_{Sequences}} = 1 - p(N_{mutations}=0) = 1 - (1-p_{m})^{L_{Sequence}} $$ | ||
+ | </p> | ||
+ | <p>With this equation we can also calculate the number of sequences \(N_{Sequences}\) that have to be sequenced in order to find a mutated one with a probability of \(p(N_{mutated} > 0)\). | ||
+ | $$ N_{Sequences} = \frac{p(N_{mutated} > 0)}{p_{M}} $$ | ||
+ | </p> | ||
+ | <p>The probability to find at least one mutated sequence under the given conditions is | ||
+ | $$p(N_{mutated}>0) = 1 - (1-p_{M})^{N_{sequences}}$$ | ||
+ | which gives | ||
+ | $$N_{Sequences} = \frac{ln(1-p(N_{mutated}>0))}{ln(1-p_{M})}$$ | ||
+ | </p> | ||
+ | <p>Set \(\Phi\) to zero to use the number of generations for the calculation. If \(\Phi\) and the number of generations are given, \(\Phi\) is used.</p> | ||
+ | <p>Consider \(L_{Sequence}\) as the number of basepairs that is expected to be mutated. If half of the sequence you are interested in, is highly conserved choose a lower \(L_{Sequence}\).</p> | ||
+ | </div> | ||
+ | <form action="" id="form1"> | ||
+ | <section> | ||
+ | <h2>Get your mutations</h2> | ||
+ | <ul class="input-list style-1 clearfix"> | ||
+ | <li> | ||
+ | <label> | ||
+ | Mutation rate \(r_{mutation} [bp/generation]\) | ||
+ | <input type="number" pattern="[0-9]+([,\.][0-9]+)?" id="mr" value="0" lang='en-150' step="any"> | ||
+ | </label> | ||
+ | </li> | ||
+ | <li> | ||
+ | <label> | ||
+ | Flow troughLagoon \(\Phi_{lagoon} [Volumes/h]\) | ||
+ | <input type="number" pattern="[0-9]+([,\.][0-9]+)?" id="phi" value="0" lang='en-150' step="any"> | ||
+ | </label> | ||
+ | </li> | ||
+ | <li> | ||
+ | <label> | ||
+ | Total time<br> in lagoon \(t_{total} [h]\) | ||
+ | <input type="number" pattern="[0-9]+([,\.][0-9]+)?" id="tt" value="0" lang='en-150' step="any"> | ||
+ | </label> | ||
+ | </li> | ||
+ | <li> | ||
+ | <label> | ||
+ | Number<br> of generations \(N_{generations}\) | ||
+ | <input type="number" pattern="[0-9]+([,\.][0-9]+)?" id="ng" value="0" lang='en-150' step="any"> | ||
+ | </label> | ||
+ | </li> | ||
+ | <li> | ||
+ | <label> | ||
+ | Length of sequence that can mutate \(L_{Sequence} [bp]\)<br> | ||
+ | <input type="number" pattern="[0-9]+([,\.][0-9]+)?" id="ls" value="0" lang='en-150' step="any"> | ||
+ | </label> | ||
+ | </li> | ||
+ | <li> | ||
+ | <label> | ||
+ | Number of sequences that are sequenced \(N_{Sequences}\)<br> | ||
+ | <input type="number" pattern="[0-9]+([,\.][0-9]+)?" id="ns" value="0" lang='en-150' step="any"> | ||
+ | </label> | ||
+ | </li> | ||
+ | <li> | ||
+ | <label> | ||
+ | Probability to get at least one mutated result \(p(N_{mutated}>0) \) | ||
+ | <br> | ||
+ | <input type="number" pattern="[0-9]+([,\.][0-9]+)?" id="pm" value="0.9" lang='en-150' step="any"> | ||
+ | </label> | ||
+ | </li> | ||
+ | <li> | ||
+ | <div style="padding-top: 30px;"> | ||
+ | <input type="button" value="Submit" id="input_form" onclick="return number_mutations();"> | ||
+ | </div> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </section> | ||
+ | </form> | ||
+ | |||
+ | <br> | ||
+ | <p id="number_generations"></p> | ||
+ | <p>\(p_{m} =\) <span id="amount_mutations"></span> %(bp/bp).</p> | ||
+ | <p>\(N_{mutations} =\) <span id="number_mutations"></span> bp per sequence.</p> | ||
+ | <p>The share of sequences that shows at least one mutation in \(L_{Sequence}\) bp is \(p_{M}=\) <span id="amount_mutated"></span> % of sequences</p> | ||
+ | <p id="number_to_seq"></p> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | <section id="footer-sec"> | ||
+ | <div class="container"> | ||
+ | <div class="row" style="padding-top: 30px;"> | ||
+ | <div class="col-md-3"> | ||
+ | <h4>ABOUT US </h4> | ||
+ | <p>"We are an extremely motivated team of young students competing in the worlds biggest synthetic biology competition"</p> | ||
− | + | </div> | |
+ | <div class="col-md-3"> | ||
+ | <h4> Useful <strong>Links</strong> </h4> | ||
− | + | <li> | |
− | + | <a href="#"> | |
− | + | <i class="fa fa-angle-right"> | |
− | + | </i> | |
− | + | Special pages | |
− | + | </a> | |
+ | </li> | ||
+ | <li> | ||
+ | <a href="#"> | ||
+ | <i class="fa fa-angle-right"> | ||
+ | </i> | ||
+ | Main Page | ||
+ | </a> | ||
+ | </li> | ||
+ | </div> | ||
+ | <div class="col-md-3"> | ||
+ | <h4> Follow us on </h4> | ||
+ | <a href="#" target="_blank" id="facebook"><i class="fa fa-facebook-square fa-3x"></i></a> | ||
+ | <span style="color: grey">&</span> | ||
+ | <a href="#" target="_blank" id="twitter"><i class="fa fa-twitter-square fa-3x"></i></a> | ||
+ | </div> | ||
+ | <div class="col-md-3"> | ||
+ | <h4> Contact us </h4> | ||
+ | <li> | ||
+ | <i class="fa fa-map-marker fa-lg"> | ||
+ | </i> | ||
+ | Im Neuenheimer Feld 267 | ||
+ | <br> | ||
+ | 69120 Heidelberg | ||
+ | </li> | ||
+ | <li> | ||
+ | <i class="fa fa-phone"> | ||
+ | </i> | ||
+ | Tel: XXXXXX | ||
+ | </li> | ||
− | + | <li> | |
− | + | <a href="mailto:info@yourdomain.com"> | |
− | + | <i class="fa fa-envelope"> | |
− | + | </i> | |
− | + | bioquant@uni-heidelberg.de | |
− | + | </a> | |
− | + | </li> | |
− | + | </div> | |
− | + | </div> | |
− | + | </div> | |
− | + | </section> | |
− | + | <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | @ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </ | + | |
− | + | ||
− | + | ||
− | <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | + | |
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script> | <script src="https://cdn.plot.ly/plotly-latest.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/numjs/0.13.1/numjs.js"></script> | <script src="https://cdnjs.cloudflare.com/ajax/libs/numjs/0.13.1/numjs.js"></script> | ||
Line 935: | Line 462: | ||
</script> | </script> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Revision as of 10:09, 18 September 2017
WikitemplateA home
From 2014.igem.org
Internal Tools
Number of mutations and mutated sequences
Expected number of mutations in a single sequence: $$p_{m} = \frac{N_{mutations}}{L_{Sequence}} = N_{generations} * r_{mutation} = t_{total} * \Phi * r_{mutation}$$
The expected share of sequences that shows at least one mutation in \(L_{Sequence}\) bp is the probability that \(L_{sequence}\) basepairs stay unchanged when \(\frac{N_{mutations}}{L_{Sequence}}\) mutations are expected: $$p_{M} = \frac{N_{mutated}}{N_{Sequences}} = 1 - p(N_{mutations}=0) = 1 - (1-p_{m})^{L_{Sequence}} $$
With this equation we can also calculate the number of sequences \(N_{Sequences}\) that have to be sequenced in order to find a mutated one with a probability of \(p(N_{mutated} > 0)\). $$ N_{Sequences} = \frac{p(N_{mutated} > 0)}{p_{M}} $$
The probability to find at least one mutated sequence under the given conditions is $$p(N_{mutated}>0) = 1 - (1-p_{M})^{N_{sequences}}$$ which gives $$N_{Sequences} = \frac{ln(1-p(N_{mutated}>0))}{ln(1-p_{M})}$$
Set \(\Phi\) to zero to use the number of generations for the calculation. If \(\Phi\) and the number of generations are given, \(\Phi\) is used.
Consider \(L_{Sequence}\) as the number of basepairs that is expected to be mutated. If half of the sequence you are interested in, is highly conserved choose a lower \(L_{Sequence}\).
\(p_{m} =\) %(bp/bp).
\(N_{mutations} =\) bp per sequence.
The share of sequences that shows at least one mutation in \(L_{Sequence}\) bp is \(p_{M}=\) % of sequences