-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
574a0d3
commit 15f5d9a
Showing
4 changed files
with
132 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<%- include("../includes/header.ejs") %> | ||
<div id="container" class="container"> | ||
<%- include("header.ejs") %> | ||
<%- include("../partials/msa/form.ejs") %> | ||
<%- include("./msa_form.ejs") %> | ||
<%- include("../includes/modal.ejs") %> | ||
</div> | ||
<%- include("../includes/footer.ejs") %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,136 +1,131 @@ | ||
<%- include("../includes/header.ejs") %> | ||
<div id="container" class="container"> | ||
<%- include("header.ejs") %> | ||
|
||
<!-- | ||
<div class="nav nav-list span4i"> | ||
<a href="/help" target="_blank"><span class="glyphicon glyphicon-info-sign"></span></a> | ||
</div> | ||
--> | ||
|
||
<div class="row"> | ||
|
||
<form id="msa-form" class="form-horizontal upload-form col-12" name="uploadform" enctype="multipart/form-data" method="post" action=<%= post_to %>> | ||
|
||
<div id="seq-file-div" class="upload-div"> | ||
<input id="seq-file" type="file" name="files"> | ||
<div id="file-progress" class="progress progress-striped active hidden"> | ||
<div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="1" aria-valuemax="100"> | ||
<span class="sr-only">0% Complete</span> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="upload-div"> | ||
<label id="geneticcode-content">Genetic Code<a href="/help#genetic-code" target="_blank"><sup>?</sup></a></label> | ||
<select name="gencodeid"> | ||
|
||
<option value="0"> | ||
Universal code | ||
</option> | ||
|
||
<option value="1"> | ||
Vertebrate mitochondrial DNA code | ||
</option> | ||
|
||
<option value="2"> | ||
Yeast mitochondrial DNA code | ||
</option> | ||
|
||
<option value="3"> | ||
Mold, Protozoan and Coelenterate mt; | ||
Mycloplasma/Spiroplasma | ||
</option> | ||
|
||
<option value="4"> | ||
Invertebrate mitochondrial DNA code | ||
</option> | ||
|
||
<option value="5"> | ||
Ciliate, Dasycladacean and Hexamita Nuclear code | ||
</option> | ||
|
||
<option value="6"> | ||
Echinoderm mitochondrial DNA code | ||
</option> | ||
|
||
<option value="7"> | ||
Euplotid Nuclear code | ||
</option> | ||
|
||
<option value="8"> | ||
Alternative Yeast Nuclear code | ||
</option> | ||
|
||
<option value="9"> | ||
Ascidian mitochondrial DNA code | ||
</option> | ||
|
||
<option value="10"> | ||
Flatworm mitochondrial DNA code | ||
</option> | ||
|
||
<option value="11"> | ||
Blepharisma Nuclear code | ||
</option> | ||
|
||
</select> | ||
</div> | ||
|
||
<div class="form-group <%if (typeof errors != "undefined" && typeof errors.mail != "undefined") { %>has-error<% } %>"> | ||
<label id="datatype-content">Notify When Completed</label> | ||
<input name="mail" type="text" class="form-control" placeholder="Email Address"> | ||
</div><!-- /form-group --> | ||
|
||
<div class="accordion" id="accordionExample"> | ||
<div class="card"> | ||
<div class="card-header" id="headingOne"> | ||
<h5 class="mb-0"> | ||
<button class="btn btn-link" type="button" data-toggle="collapse" data-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne"> | ||
Advanced Options | ||
</button> | ||
</h5> | ||
</div> | ||
|
||
<div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordionExample"> | ||
<div class="card-body"> | ||
<div class="resample"> | ||
<p>[Advanced setting, will result in MUCH SLOWER run time] Perform parametric bootstrap resampling to derive site-level null LRT distributions up to this many replicates per site. Recommended use for small to medium (<30 sequences) datasets.</p> | ||
<label>Resample?</label> | ||
<input type="number" id="resample" name="resample" placeholder="50" min="0" max="1000"> | ||
</div> | ||
<!-- | ||
<div class="nav nav-list span4i"> | ||
<a href="/help" target="_blank"><span class="glyphicon glyphicon-info-sign"></span></a> | ||
</div> | ||
--> | ||
|
||
<div class="row"> | ||
|
||
<form id="msa-form" class="form-horizontal upload-form col-12" name="uploadform" enctype="multipart/form-data" method="post" action=<%= post_to %>> | ||
|
||
<div id="seq-file-div" class="upload-div"> | ||
<input id="seq-file" type="file" name="files"> | ||
<div id="file-progress" class="progress progress-striped active hidden"> | ||
<div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="1" aria-valuemax="100"> | ||
<span class="sr-only">0% Complete</span> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="upload-div"> | ||
<label id="geneticcode-content">Genetic Code<a href="/help#genetic-code" target="_blank"><sup>?</sup></a></label> | ||
<select name="gencodeid"> | ||
|
||
<option value="0"> | ||
Universal code | ||
</option> | ||
|
||
<option value="1"> | ||
Vertebrate mitochondrial DNA code | ||
</option> | ||
|
||
<button id="submit-button" type="submit" class="dm-continue-btn btn float-right"> | ||
Run Analysis | ||
<span class="fa fa-play"></span></button> | ||
</button> | ||
<option value="2"> | ||
Yeast mitochondrial DNA code | ||
</option> | ||
|
||
</form> | ||
</div> | ||
<option value="3"> | ||
Mold, Protozoan and Coelenterate mt; | ||
Mycloplasma/Spiroplasma | ||
</option> | ||
|
||
</div> | ||
<option value="4"> | ||
Invertebrate mitochondrial DNA code | ||
</option> | ||
|
||
<script src="/assets/js/msa/form.js"></script> | ||
<option value="5"> | ||
Ciliate, Dasycladacean and Hexamita Nuclear code | ||
</option> | ||
|
||
<option value="6"> | ||
Echinoderm mitochondrial DNA code | ||
</option> | ||
|
||
<option value="7"> | ||
Euplotid Nuclear code | ||
</option> | ||
|
||
<div aria-labelledby="errorModalLabel" role="dialog" id="errorModal" class="modal ng-scope"> | ||
<div class="modal-dialog"><div class="modal-content"> | ||
<div class="modal-header dialog-header-error"> | ||
<button data-dismiss="modal" class="close" type="button">×</button> | ||
<h4 class="modal-title text-danger"><span class="glyphicon glyphicon-warning-sign"></span> Error</h4> | ||
</div> | ||
<div id="modal-error-msg" class="modal-body text-danger">This is my error message</div> | ||
<div class="modal-footer"> | ||
<button data-dismiss="modal" class="btn btn-primary" type="button">Close</button> | ||
</div> | ||
<option value="8"> | ||
Alternative Yeast Nuclear code | ||
</option> | ||
|
||
<option value="9"> | ||
Ascidian mitochondrial DNA code | ||
</option> | ||
|
||
<option value="10"> | ||
Flatworm mitochondrial DNA code | ||
</option> | ||
|
||
<option value="11"> | ||
Blepharisma Nuclear code | ||
</option> | ||
|
||
</select> | ||
</div> | ||
</div> | ||
|
||
<div class="upload-div"> | ||
<label for="multiple-hits">Multiple Hits</label> | ||
<select name="multiple_hits" id="multiple-hits"> | ||
<option value="None">None</option> | ||
<option value="Double">Double</option> | ||
<option value="Double+Triple">Double+Triple</option> | ||
</select> | ||
</div> | ||
|
||
<div class="upload-div"> | ||
<label for="site-multihit">Site Multihit</label> | ||
<select name="site_multihit" id="site-multihit"> | ||
<option value="Estimate">Estimate</option> | ||
<option value="Global">Global</option> | ||
</select> | ||
</div> | ||
|
||
<div class="upload-div"> | ||
<label for="rates">Rates</label> | ||
<select name="rates" id="rates"> | ||
<option value="2">2</option> | ||
<option value="3">3</option> | ||
<option value="4">4</option> | ||
</select> | ||
</div> | ||
|
||
<div class="upload-div"> | ||
<label for="resample">Resample</label> | ||
<input type="number" id="resample" name="resample" min="0" placeholder="0"> | ||
</div> | ||
|
||
<div class="upload-div"> | ||
<label for="impute-states">Impute States</label> | ||
<select name="impute_states" id="impute-states"> | ||
<option value="No">No</option> | ||
<option value="Yes">Yes</option> | ||
</select> | ||
</div> | ||
|
||
<div class="form-group <%if (typeof errors != "undefined" && typeof errors.mail != "undefined") { %>has-error<% } %>"> | ||
<label id="datatype-content">Notify When Completed</label> | ||
<input name="mail" type="text" class="form-control" placeholder="Email Address"> | ||
</div><!-- /form-group --> | ||
|
||
<button id="submit-button" type="submit" class="dm-continue-btn btn float-right"> | ||
Run Analysis | ||
<span class="fa fa-play"></span></button> | ||
</button> | ||
|
||
</form> | ||
</div> | ||
|
||
<%- include("../includes/footer.ejs") %> | ||
</div> | ||
|
||
<script src="/assets/js/msa/form.js"></script> | ||
|