Skip to content

Commit

Permalink
Added references and about page.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkayasth authored May 10, 2024
1 parent a0bed10 commit 1a7e4e2
Show file tree
Hide file tree
Showing 2 changed files with 165 additions and 0 deletions.
84 changes: 84 additions & 0 deletions templates/about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
<!DOCTYPE html>
<html>
<head>
<title>About ViralGeneClock</title>
<style>
body {
font-family: Arial;
background-color: whitesmoke;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0,0,0,0.5);
margin: 10;
}
h1, h2 {
color: black;
margin: 10px 0;
}
.content {
background-color: white;
padding: 20px;
border-radius: 5px;
box-shadow: 0 5px 5px rgba(0,0,0,0.5);
max-width: 700px;
margin: 20px auto;
}
p {
font-size: 16px;
line-height: 1.6;
margin-top: 10px;
}
nav {
background-color: black;
overflow: hidden;
}
nav a {
float: left;
display: block;
color: white;
text-align: center;
padding: 8px 20px;
text-decoration: none;
}
nav a:hover, nav a.logo:hover {
background-color: darkgreen;
color: black;
}
nav a.logo {
padding: 0;
}
nav img {
display: block;
height: 25px;
padding: 4px 20px;
}
</style>
</head>
<body>
<nav>
<a href="/" class="logo"><img src="{{ url_for('static', filename='logo.png') }}"></a>
<a href="/about">About</a>
<a href="/references">References</a>
</nav>

<div class="content">
<h1>About <i> ViralGeneClock </i> </h1>

<p>ViralGeneClock is a Linux-based web application developed, where the users can deposit the whole genome sequence (WGS) of different viral strains to study their evolutionary relationships and mutation rates.</p>

<h2>Methodology</h2>

<p>The application uses the Neighbor-joining (NJ) algorithm for phylogenetic analyses to assess genetic distances and mutation rates. Despite newer algorithms with superior accuracy such as Maximum Likelihood and Maximum Parsimony, NJ remains the least computationally expensive algorithm among them. This makes NJ appropriate for analyzing large data sets in a local device. Based on the predicted genetic distance of each strain with the reference strain for a gene, the relative mutation rate can be estimated by dividing the genetic distance by the branch length of the strain to the reference strain. While this estimate will not provide an absolute mutation rate for the gene, the ratio of mutation rates estimated for different genes can give insight into their relative mutation rates.</p>

<h2>Tools and Materials</h2>

<p>ViralGeneClock leverages Prokka, a Linux-based rapid prokaryotic genome annotation tool, for viral annotation. MUSCLE (Multiple Sequence Comparison by Log-Expectation) is employed for progressive sequence alignment of the viral strains. The command line interface of ViralGeneClock has been wrapped with Flask, a lightweight Python web application framework, to provide this user-friendly web application interface! Additionally, Flask-Mail, an extension of the Flask framework, automatically emails users with results once the phylogenetic analysis is complete.</p>

<h2> Tool Guide </h2>

<p> Enter the FASTA sequence of different strains of a virus for ViralGeneClock to process. The FASTA header of each strain should be the NAME of the strain. Additionally, provide the reference strain and your email address. Once the output has been created, they will be emailed to the provided email address. <br>

Start playing around with the sample FASTA files from <a href = "https://github.com/mkayasth/viralGeneClock--codespaces/tree/main/Sample%20Input%20FASTA">our Github repository</a> here! </p>
</div>

</body>
</html>
81 changes: 81 additions & 0 deletions templates/references.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
<!DOCTYPE html>
<html>
<head>
<title>References - ViralGeneClock</title>
<style>
body {
font-family: Arial;
background-color: whitesmoke;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0,0,0,0.5);
margin: 10;
}
h1 {
color: black;
margin: 20px;
text-align: center;
}
.references {
background-color: white;
padding: 20px;
border-radius: 5px;
box-shadow: 0 5px 5px rgba(0,0,0,0.5);
max-width: 800px;
margin: auto;
}
li {
font-size: 16px;
margin-bottom: 10px;
}
nav {
background-color: black;
overflow: hidden;
}
nav a {
float: left;
display: block;
color: white;
text-align: center;
padding: 8px 20px;
text-decoration: none;
}
nav a:hover, nav a.logo:hover {
background-color: darkgreen;
color: black;
}
nav a.logo {
padding: 0;
}
nav img {
display: block;
height: 25px;
padding: 4px 20px;
}
</style>
</head>
<body>
<nav>
<a href="/" class="logo"><img src="{{ url_for('static', filename='logo.png') }}"></a>
<a href="/about">About</a>
<a href="/references">References</a>
</nav>

<h1>References: </h1>
<div class="references">
<ul>

<li>Saitou, N., & Nei, M. (1987). The neighbor-joining method: a new method for reconstructing phylogenetic trees. <em>Molecular Biology and Evolution, 4(4),</em> 406–425. <a href="https://doi.org/10.1093/oxfordjournals.molbev.a040454">https://doi.org/10.1093/oxfordjournals.molbev.a040454</a></li>
<li>Kuhner, M. K., & Felsenstein, J. (1994). A simulation comparison of phylogeny algorithms under equal and unequal evolutionary rates. <em>Molecular Biology and Evolution, 11(3),</em> 459–468. <a href="https://doi.org/10.1093/oxfordjournals.molbev.a040126">https://doi.org/10.1093/oxfordjournals.molbev.a040126</a></li>
<li>Seemann, T. (2014). Prokka: rapid prokaryotic genome annotation. <em>Bioinformatics (Oxford, England), 30(14),</em> 2068–2069. <a href="https://doi.org/10.1093/bioinformatics/btu153">https://doi.org/10.1093/bioinformatics/btu153</a></li>
<li>Hyatt, D., et al. (2010). Prodigal: prokaryotic gene recognition and translation initiation site identification. <em>BMC Bioinformatics, 11(1).</em> <a href="https://doi.org/10.1186/1471-2105-11-119">https://doi.org/10.1186/1471-2105-11-119</a></li>
<li>Edgar, R. C. (2004). MUSCLE: multiple sequence alignment with high accuracy and high throughput. <em>Nucleic Acids Research, 32(5),</em> 1792–1797. <a href="https://doi.org/10.1093/nar/gkh340">https://doi.org/10.1093/nar/gkh340</a></li>
<li>Cock, P. J. A., et al. (2009). Biopython: freely available Python tools for computational molecular biology and bioinformatics. <em>Bioinformatics (Oxford, England), 25(11),</em> 1422–1423. <a href="https://doi.org/10.1093/bioinformatics/btp163">https://doi.org/10.1093/bioinformatics/btp163</a></li>
<li>Flask documentation. <a href="https://readthedocs.org/projects/flask/">https://readthedocs.org/projects/flask/</a>. Retrieved April 6, 2024.</li>
<li>Flask-mail documentation. <a href="https://pythonhosted.org/Flask-Mail/">https://pythonhosted.org/Flask-Mail/</a>. Retrieved May 1, 2024.</li>
<li>AJAX introduction. <a href="https://www.w3schools.com/js/js_ajax_intro.asp">https://www.w3schools.com/js/js_ajax_intro.asp</a>. Retrieved May 1, 2024.</li>
<li>Neighbor joining project. <a href="https://www.github.com/anicksaha/neighbor_joining">https://www.github.com/anicksaha/neighbor_joining</a></li>
</ul>
</div>

</body>
</html>

0 comments on commit 1a7e4e2

Please sign in to comment.