MaestSi / MetONTIIME

A Meta-barcoding pipeline for analysing ONT data in QIIME2 framework
GNU General Public License v3.0
78 stars 17 forks source link

Please help- dont really understand the instruction #23

Closed amsyarimorni closed 3 years ago

amsyarimorni commented 3 years ago

I am very new to coding environment and get confused with:

Then, after completing MetONTIIME installation, set the MINICONDA_DIR variable in config_MinION_mobile_lab.R to the full path to miniconda3 directory.

Could someone help me to understand this sentence? Your help is much appreciated

MaestSi commented 3 years ago

Hi, miniconda is a package manager that you can use to easily install other software with a single command. Also MetONTIIME requires a miniconda3 installation to create a dedicated environment where to install all the required dependencies. If you installed miniconda3, you will tipically have a miniconda3 directory somewhere in your pc (e.g. in ~/miniconda3, but it depends on where you chose to install it). For MetONTIIME to find all the software, you need to specify where it has to look for them. Therefore, you should open the config file config_MinION_mobile_lab.R and set the value of the MINICONDA_DIR variable to the appropriate directory. For example, in my own file I have: MINICONDA_DIR <- "/home/simone/miniconda3" Is it clearer now? Simone

amsyarimorni commented 3 years ago

Thanks Simone

I see.. is this a command that I suppose to write in the terminal?

I wrote in terminal and got this:

(base) amsyarimorni@Amsyaris-MacBook-Pro ~ % Miniconda_dir <-/Users/amsyarimorni/opt/miniconda3 zsh: no such file or directory: -/Users/amsyarimorni/opt/miniconda3

MaestSi commented 3 years ago

No, you don't have to write it in the terminal. You have to write it in the config_MinION_mobile_lab.R file. Have you followed previous instructions in the README? Simone

amsyarimorni commented 3 years ago

Yes I did followed the previous instructions in the README.

And I think its clearer now, just one quick question: for the Miniconda_dir, I need to mkdir the folder manually right?

Thanks!

MaestSi commented 3 years ago

No, you don't have to create the miniconda dir manually. If you followed the previous steps, you should have installed miniconda, so you should already have the directory. Moreover, if you ran the ./install.sh script, it should have suggested you where the miniconda directory is located on your computer. P.s.: The pipeline is designed to work with Ubuntu systems, I don't think it will work with Mac. Simone

amsyarimorni commented 3 years ago

I see.. then the best way is for me is to run the Ubuntu system first. Will go towards that direction. Thanks by the way for developing this pipeline!

Amsyari

MaestSi commented 3 years ago

You're welcome! Simone