-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nothing is changed on the level of the virus or toolbox information.
- Loading branch information
Showing
73 changed files
with
1,172 additions
and
135 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,4 +1,13 @@ | ||
alpha/index.html | ||
alpha/index_files/ | ||
.Rhistory | ||
_material | ||
|
||
# node | ||
node_modules | ||
package.json | ||
package-lock.json | ||
|
||
# quarto | ||
/.quarto/ | ||
_site | ||
index_files | ||
_extensions |
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,35 +1,46 @@ | ||
# VirusBank Phylotree project | ||
|
||
## Requirements and setup | ||
|
||
In order to *render* this site/app, the following are required: | ||
Update | ||
|
||
0. `wget` | ||
## Introduction | ||
|
||
1. Quarto | ||
This repository contains the code *and* content for the PhyloViz part of | ||
the \[VirusBank platform\](https://virusbankplatform.be. The idea is | ||
that as much as possible of the site is generated, either during | ||
pre-rendering or page load. Next to that, all functionality that is | ||
generic is handled as such and can be found under `_js/`. | ||
|
||
2. `yq`: | ||
We use [Quarto](https://quarto.org) for rendering the site from source | ||
code and content to what you see on the internet. Quarto files have the | ||
`.qmd` extension and typically contain a YAML header (the part between | ||
the `---` lines). By using Quarto, it’s possible for instance to include | ||
files from `_js/` into another file using a `` statement. | ||
|
||
``` sh | ||
sudo wget -qO /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 | ||
sudo chmod a+x /usr/local/bin/yq | ||
``` | ||
This can be illustrated using three situations that the site/app is | ||
created for: | ||
|
||
## Rendering | ||
### A new tool is available for a virus | ||
|
||
## Setup | ||
Adding a new tool for a virus should be easy, especially if we keep in | ||
mind that developing tools is the core business of the VirusBank. | ||
|
||
### Toolbox page | ||
### Adding a virus to an existing family | ||
|
||
The toolbox page is based on a YAML file. | ||
If tools are developed or made available for a virus that was not yet | ||
listed, we should be able to quickly add this information and let this | ||
be reflected where relevant. | ||
|
||
### Virus family pages | ||
### Updating information about a virus | ||
|
||
Every virus family is contained in a *folder* of its own. Inside this | ||
folder, everything related to this specific family can be found. | ||
Next to structure information about a virus, we also store and show | ||
semi-structured data: transmission and symptoms, for instance. This | ||
information should be easy to add or update. | ||
|
||
### Virus pages | ||
These scenarios (and others) have been taken into account for the design | ||
of the site/app. | ||
|
||
## Various remarks | ||
## Documentation | ||
|
||
- `d3` is loaded by Quarto already, there is not need to load it again | ||
Documentation has been integrated in the app itself and [is stored onder | ||
`docs/`](https://steady-beijinho-13360d.netlify.app//docs). |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
find . -type f -empty | grep "\-toolbox" |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
sudo apt-get update | ||
sudo apt-get install nodejs | ||
|
||
npm install xlsx liquidjs exceljs |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
wget https://github.com/quarto-dev/quarto-cli/releases/download/v1.4.550/quarto-1.4.550-linux-amd64.deb -O /tmp/quarto.deb | ||
sudo dpkg -i /tmp/quarto.deb | ||
|
||
sudo apt-get install r-base r-base-dev -y | ||
quarto install tinytex | ||
|
||
Rscript -e 'dir.create(Sys.getenv("R_LIBS_USER"), recursive = TRUE)' | ||
Rscript -e '.libPaths(Sys.getenv("R_LIBS_USER"))' | ||
Rscript -e 'install.packages("rmarkdown)' |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
title: VirusBank documentation | ||
format: | ||
html: | ||
toc: true | ||
sidebar: true | ||
page-layout: article | ||
--- | ||
|
||
Table of contents: | ||
|
||
1. [Introduction](/docs/introduction.qmd) | ||
2. [Information on how it ties together](/docs/internals.qmd) | ||
3. [What one needs to know concerning the UI/UX](docs/ui-ux.qmd) | ||
3. [Some information on specific components and styling](/docs/ui-ux.qmd) | ||
4. [Some common scenarios in detail](/docs/scenarios.qmd) | ||
5. [General information on how to use Github for the scenarios](docs/use-github.qmd) | ||
|
||
|
||
A rendered version of the repository [`README` file](/docs/readme.qmd). | ||
|
Oops, something went wrong.