-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #118 from Roestlab/update/docs
Update/docs
- Loading branch information
Showing
30 changed files
with
294 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# MassDash Documentation | ||
|
||
*** | ||
|
||
Documentation for the MassDash project is built using [sphinx](https://www.sphinx-doc.org/en/master/) and is hosted on Read the Docs [MassDash](https://massdash.readthedocs.io/en/latest/). | ||
|
||
## Building the Documentation | ||
|
||
To build the documentation locally, you will need to install the following dependencies in requirements.txt: | ||
|
||
```bash | ||
pip -r requirements.txt | ||
``` | ||
|
||
Then you can build the documentation using the following command (assuming you are in the docs directory): | ||
|
||
```bash | ||
sphinx-build -b html ./source ./build | ||
``` | ||
|
||
This will build the documentation in the build directory. You can then open the *./build/html/index.html* file in your browser to view the documentation. | ||
|
||
## Adding Documentation | ||
|
||
To add documentation, you will need to add a new **.rst** file in this docs directory. You can then add the file to the *index.rst* file to include it in the documentation. |
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
Binary file added
BIN
+96.9 KB
docs/installation_docs/assets/img/macos_conda_cmd_massdash_gui_help.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+140 KB
docs/installation_docs/assets/img/macos_conda_cmd_massdash_gui_run.png
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.
Binary file added
BIN
+165 KB
docs/installation_docs/assets/img/ubuntu_conda_cmd_massdash_gui_help.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+384 KB
docs/installation_docs/assets/img/ubuntu_conda_cmd_massdash_gui_run.png
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.
Binary file added
BIN
+398 KB
docs/installation_docs/assets/img/windows_anaconda_nav_cmd_prompt_launch.png
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.
Binary file added
BIN
+71.8 KB
docs/installation_docs/assets/img/windows_conda_cmd_install_massdash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+306 KB
docs/installation_docs/assets/img/windows_conda_cmd_massdash_gui_help.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+847 KB
docs/installation_docs/assets/img/windows_conda_cmd_massdash_gui_run.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+73.8 KB
docs/installation_docs/assets/img/windows_conda_cmd_prompt_create_env.png
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.
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,83 @@ | ||
MassDash Installation on MacOS Big Sur | ||
====================================== | ||
|
||
This guide will help you install MassDash on MacOS Big Sur. | ||
|
||
.. note:: | ||
This tutorial was created using a clean installation of MacOS Big Sur using a virtual machine. The virtual machine was created using Oracle VM VirtualBox, with 32Gb of RAM, 8 processors, and 64Gb of storage. The virtual machine was created using the macOS Big Sur iso file from `The Internet Archive <https://archive.org/details/mac-osx-big-sur-iso>`_. | ||
|
||
Prerequisites | ||
------------- | ||
|
||
It is recommended to use Anaconda to manage Python environments and packages. You can download Anaconda from `here <https://www.anaconda.com/download>`_. You can find documentation for installing Anaconda on MacOS `here <https://docs.anaconda.com/free/anaconda/install/mac-os/>`__. | ||
|
||
Installation | ||
------------ | ||
|
||
1. Launch a terminal and create a new conda environment using the following command: | ||
|
||
.. code-block:: bash | ||
conda create -n massdash python=3.9 -y | ||
.. image:: ./assets/img/macos_conda_create_env.png | ||
:alt: Create a new conda environment | ||
:align: center | ||
|
||
2. Activate the new conda environment using the following command: | ||
|
||
.. code-block:: bash | ||
conda activate massdash | ||
.. image:: ./assets/img/macos_conda_env_activate.png | ||
:alt: Activate the new conda environment | ||
:align: center | ||
|
||
3. Install massdash using the following command: | ||
|
||
.. code-block:: bash | ||
pip install massdash | ||
.. image:: ./assets/img/macos_massdash_install.png | ||
:alt: Install massdash | ||
:align: center | ||
|
||
Usage | ||
----- | ||
|
||
Help | ||
~~~~ | ||
|
||
You can get help on how to use MassDash's GUI by running the following command in the terminal: | ||
|
||
.. code-block:: bash | ||
massdash gui --help | ||
.. image:: ./assets/img/macos_conda_cmd_massdash_gui_help.png | ||
|
||
Launch MassDash GUI | ||
~~~~~~~~~~~~~~~~~~~ | ||
|
||
You can launch MassDash's GUI by running the following command in the terminal: | ||
|
||
.. code-block:: bash | ||
massdash gui | ||
A browser window will open with the MassDash GUI. If the browser window does not open, you can navigate to the following URL in your browser using the local url provided in the Anaconda CMD.exe output, by default it should be `http://localhost:8501/`, unless the port is changed. | ||
|
||
.. note:: | ||
It is recommended to use Google Chrome or Firefox to open the MassDash GUI instead of Safari. | ||
|
||
.. note:: | ||
MassDash warns you that onnxruntime, torch, and torchmeets are not installed. You can ignore this warning if you do not plan to use the MassDash's peak picking conformer model. | ||
|
||
.. image:: ./assets/img/macos_conda_cmd_massdash_gui_run.png | ||
|
||
Once the browser window opens, you can start using MassDash's GUI to visualize your mass spectrometry data. For more information on the GUI, please refer to the `MassDash GUI Documentation <../GUI.rst>`_. | ||
|
||
.. image:: ./assets/img/macos_massdash_gui.png | ||
.. image:: ./assets/img/macos_massdash_gui_example.png |
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,80 @@ | ||
MassDash Installation on Ubuntu 22.04 | ||
====================================== | ||
|
||
This guide will help you install MassDash on Ubuntu 22.04. | ||
|
||
.. note:: | ||
This tutorial was created using a clean installation of Ubuntu 22.04 using a virtual machine. The virtual machine was created using Oracle VM VirtualBox, with 64Gb of RAM, 8 processors, and 64Gb of storage. The virtual machine was created using the Ubuntu 22.04 iso file from `Ubuntu <https://ubuntu.com/download/desktop/thank-you?version=22.04.4&architecture=amd64>`_. | ||
|
||
Prerequisites | ||
------------- | ||
|
||
It is recommended to use Anaconda to manage Python environments and packages. You can download Anaconda from `here <https://www.anaconda.com/download>`_. You can find documentation for installing Anaconda on Ubuntu `here <https://docs.anaconda.com/free/anaconda/install/linux/>`__. | ||
|
||
Installation | ||
------------ | ||
|
||
1. Launch a terminal and create a new conda environment using the following command: | ||
|
||
.. code-block:: bash | ||
conda create -n massdash python=3.9 -y | ||
.. image:: ./assets/img/ubuntu_conda_env_create.png | ||
:alt: Create a new conda environment | ||
:align: center | ||
|
||
2. Activate the new conda environment using the following command: | ||
|
||
.. code-block:: bash | ||
conda activate massdash | ||
.. image:: ./assets/img/ubuntu_conda_env_activate.png | ||
:alt: Activate the new conda environment | ||
:align: center | ||
|
||
3. Install massdash using the following command: | ||
|
||
.. code-block:: bash | ||
pip install massdash | ||
.. image:: ./assets/img/ubuntu_massdash_install.png | ||
:alt: Install massdash | ||
:align: center | ||
|
||
Usage | ||
----- | ||
|
||
Help | ||
~~~~ | ||
|
||
You can get help on how to use MassDash's GUI by running the following command in the terminal: | ||
|
||
.. code-block:: bash | ||
massdash gui --help | ||
.. image:: ./assets/img/ubuntu_conda_cmd_massdash_gui_help.png | ||
|
||
Launch MassDash GUI | ||
~~~~~~~~~~~~~~~~~~~ | ||
|
||
You can launch MassDash's GUI by running the following command in the terminal: | ||
|
||
.. code-block:: bash | ||
massdash gui | ||
A browser window will open with the MassDash GUI. If the browser window does not open, you can navigate to the following URL in your browser using the local url provided in the Anaconda CMD.exe output, by default it should be `http://localhost:8501/`, unless the port is changed. | ||
|
||
.. note:: | ||
MassDash warns you that onnxruntime, torch, and torchmeets are not installed. You can ignore this warning if you do not plan to use the MassDash's peak picking conformer model. | ||
|
||
.. image:: ./assets/img/ubuntu_conda_cmd_massdash_gui_run.png | ||
|
||
Once the browser window opens, you can start using MassDash's GUI to visualize your mass spectrometry data. For more information on the GUI, please refer to the `MassDash GUI Documentation <../GUI.rst>`_. | ||
|
||
.. image:: ./assets/img/ubuntu_massdash_gui.png | ||
.. image:: ./assets/img/ubuntu_massdash_gui_example.png |
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,80 @@ | ||
MassDash Installation on Windows 10 | ||
==================================== | ||
|
||
This guide will walk you through the installation of MassDash on a Windows 10 machine. | ||
|
||
.. note:: | ||
This tutorial was created using a clean installation of Windows 10 using a virtual machine. The virtual machine was created using Oracle VM VirtualBox, with 50Gb of RAM, 8 processors, and 50Gb of storage. The virtual machine was created using the Windows 10 ISO file from `Microsoft <https://www.microsoft.com/en-us/software-download/windows10>`_. | ||
|
||
Prerequisites | ||
------------- | ||
|
||
It is recommended to use Anaconda to manage Python environments and packages. You can download Anaconda from `here <https://www.anaconda.com/download>`_. You can find documentation for installing Anaconda on windows `here <https://docs.anaconda.com/free/anaconda/install/windows/>`__. | ||
|
||
Installation | ||
------------ | ||
|
||
1. Launch the Anaconda Navigator from the start menu. | ||
|
||
2. Launch the Anaconda CMD.exe Prompt from the Anaconda Navigator. | ||
|
||
.. image:: ./assets/img/windows_anaconda_nav_cmd_prompt_launch.png | ||
|
||
3. Create a new environment by running the following command in the Anaconda CMD.exe Prompt: | ||
|
||
.. code-block:: bash | ||
conda create -n massdash python=3.9 -y | ||
.. image:: ./assets/img/windows_conda_cmd_prompt_create_env.png | ||
|
||
4. Activate the new environment by running the following command in the Anaconda CMD.exe Prompt: | ||
|
||
.. code-block:: bash | ||
conda activate massdash | ||
.. image:: ./assets/img/windows_conda_cmd_activate_env.png | ||
|
||
5. Install MassDash by running the following command in the Anaconda CMD.exe Prompt: | ||
|
||
.. code-block:: bash | ||
pip install massdash | ||
.. image:: ./assets/img/windows_conda_cmd_install_massdash.png | ||
|
||
Usage | ||
----- | ||
|
||
Help | ||
~~~~ | ||
|
||
You can get help on how to use MassDash's GUI by running the following command in the Anaconda CMD.exe Prompt: | ||
|
||
.. code-block:: bash | ||
massdash gui --help | ||
.. image:: ./assets/img/windows_conda_cmd_massdash_gui_help.png | ||
|
||
Launch MassDash GUI | ||
~~~~~~~~~~~~~~~~~~~ | ||
|
||
You can launch MassDash's GUI by running the following command in the Anaconda CMD.exe Prompt: | ||
|
||
.. code-block:: bash | ||
massdash gui | ||
A browser window will open with the MassDash GUI. If the browser window does not open, you can navigate to the following URL in your browser using the local url provided in the Anaconda CMD.exe output, by default it should be `http://localhost:8501/`, unless the port is changed. | ||
|
||
.. note:: | ||
MassDash warns you that onnxruntime, torch, and torchmeets are not installed. You can ignore this warning if you do not plan to use the MassDash's peak picking conformer model. | ||
|
||
.. image:: ./assets/img/windows_conda_cmd_massdash_gui_run.png | ||
|
||
Once the browser window opens, you can start using MassDash's GUI to visualize your mass spectrometry data. For more information on the GUI, please refer to the `MassDash GUI Documentation <../GUI.rst>`_. | ||
|
||
.. image:: ./assets/img/windows_massdash_gui.png | ||
.. image:: ./assets/img/windows_massdash_gui_example.png |