Difference between revisions of "Ipyrad"
Line 30: | Line 30: | ||
You will notice the change of the command-line prompt to indicate the active environment. Packages that are now installed with <tt>conda install</tt> will be installed in this environment and not interfere with other software installations. | You will notice the change of the command-line prompt to indicate the active environment. Packages that are now installed with <tt>conda install</tt> will be installed in this environment and not interfere with other software installations. | ||
{{sidenote| | |||
(*) The alternative <tt>conda activate</tt> requires you to use the command <tt>conda init bash</tt> first which modifies your <tt>.bashrc</tt> and more or less forces you to always use the same version of <tt>Anaconda3</tt>. | (*) The alternative <tt>conda activate</tt> requires you to use the command <tt>conda init bash</tt> first which modifies your <tt>.bashrc</tt> and more or less forces you to always use the same version of <tt>Anaconda3</tt>. | ||
}} |
Revision as of 13:28, 15 June 2020
Introduction
The software ipyrad is an interactive toolkit for assembly and analysis of restriction-site associated genomic data sets (e.g., RAD, ddRAD, GBS) for population genetic and phylogenetic studies. [1]
At the moment, there is no central installation of ipyrad, however, you can easily install it yourself using Anaconda3 as described below.
Installation
To install ipyrad you first need to load a module for Anaconda3. In this example, we use Anaconda3/2020.02 which can be found in hpc-env/8.3 (if you want to use a different version/environment you can search with module av Anaconda3 or module spider Anaconda3):
[carl]$ module load hpc-env/8.3 [carl]$ module load Anaconda/2020.02
The next step is to create a new environment for ipyrad with the command:
[carl]$ conda create --name ipyrad Collecting package metadata (current_repodata.json): done Solving environment: done ## Package Plan ## environment location: /user/abcd1234/.conda/envs/ipyrad Proceed ([y]/n)? Preparing transaction: done Verifying transaction: done Executing transaction: done
The name for the environment can be freely chosen and it will be created after you have confirmed to proceed with pressing (y and)enter. You may see a warning about an outdated conda which you can safely ignore (or, if you wish, you can switch to a newer module of Anaconda3 if available).
The new environment can now be activated. We recommend using the command(*):
[carl]$ source activate ipyrad2 (ipyrad) [carl]$
You will notice the change of the command-line prompt to indicate the active environment. Packages that are now installed with conda install will be installed in this environment and not interfere with other software installations.
(*) The alternative conda activate requires you to use the command conda init bash first which modifies your .bashrc and more or less forces you to always use the same version of Anaconda3.