The MaChIAto consists of python and R with various packages other developers established. So the installation process is complex. However, you can quickly install MaChIAto using the docker container.
Install MaChIAto using the docker (Strongly Recommended)
Download and install Docker Desktop: https://docs.docker.com/engine/install/#desktop
Enter Docker settings menu to adjust the memory allocation (~10G of memory is recommmended)
- Type the following commands in the terminal.
1 | # Download Docker image for MaChIAto Classifier |
Then, if you wish, you can follow the manual below.
Quick Start: https://machiatopage.github.io/2100/01/02/Quick-Start/
Usage of MaChIAto Classifier: https://machiatopage.github.io/2022/06/22/Usage-of-MaChIAto-Classifier/
Usage of MaChIAto Aligner: https://machiatopage.github.io/2022/06/22/Usage-of-MaChIAto-Aligner/
Usage of collect_MaChIAto_data.py: https://machiatopage.github.io/2022/07/27/Usage-of-collect-MaChIAto-data-py/
Usage of MaChIAto Analyzer: https://machiatopage.github.io/2022/06/22/Usage-of-MaChIAto-Analyzer/
Usage of MaChIAto Reviewer: https://machiatopage.github.io/2022/06/22/Usage-of-MaChIAto-Reviewer/
Install MaChIAto within the conda environment (Deprecated)
The installation procedure is deprecated. We are not supporting the procedure because the environment is not stable and is difficult to reproduce.
MacOSX
- Click HERE to download MaChIAto.
Alternatively, enter the following command terminal.
1 | git clone https://github.com/KazukiNakamae/MaChIAto.git; |
- Install miniconda3, R (>version R-4.0.1), Xcode, and XQuartz according to the following instructions.
Change default shell
1. Set bash as default shell
1 | chsh -s /bin/bash; |
Install software
1. install miniconda3 from Conda
(https://docs.conda.io/en/latest/miniconda.html)
2. install R (>version R-4.0.1) from the CRAN
3. install Xcode from the App Store
(https://apps.apple.com/jp/app/xcode/id497799835?mt=12)
1 | sudo xcodebuild -license; |
4. install XQuartz from the XQuartz project
(xquartz.macosforge.org)
Build the environment using conda
1. Environment for MaChIAto_(MaChIAto Classifier)
1 | conda create --name MaChIAto_env; |
2. Environment for MaChIAtoAligner
1 | conda create --name MaChIAto_Aligner_env; |
3. Environment for MaChIAtoAnalyzer
1 | conda create --name MaChIAto_Analyzer_env; |
4. Environment for MaChIAtoReviewer
1 | conda create -n MaChIAto_Reviewer_env --clone MaChIAto_Aligner_env; |
Linux
- Click HERE to download MaChIAto.
Alternatively, enter the following command terminal.
1 | git clone https://github.com/KazukiNakamae/MaChIAto.git; |
- Install micromamba (version 0.13.1). All packages can be installed using mamba and apt-get in the same way as generating the docker images.
Please refer to the dockerfile of each directory (MaChIAto, MaChIAto_Aligner, collect_MaChIAto_data, MaChIAto_Analyzer, MaChIAto_Reviewer).