Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Aim

Install and use a python package called multiqc on Sol.

Step One: Search

Go to anaconda.org and search for multiqc in the search bar:

Screenshot 2024-11-13 at 1.53.54 PM.png

Click on one of the search results, usually the first one:

Screenshot 2024-11-13 at 1.55.18 PM.png

Exam the details on the following page, especially the version of the package:

Screenshot 2024-11-13 at 1.52.12 PM.png

The “conda install” on the above page gives the installation commands.

Screenshot 2024-11-13 at 1.58.33 PM.png

The conda part in the red circle needs to be changed to mamba, and the bioconda part in the blue box is the channel name of this multiqc package.

Step Two: Install

1. Open a terminal app or a command line interface on my personal laptop or pc, or in a Sol desktop session. And then type in the commands:

2. ssh someone@sol.asu.edu

3. interactive -p htc -c 4 -t 30

4. module load mamba/latest

5. mamba create -n myENV -c bioconda multiqc

6. And answer Y to the promoted question, if everything looks fine

In step 5, the -c flag means “channel", which is similar to the name of an online folder, that mamba can find and download the correct package. The channel must be correct to install the correct package. You can find the correct channel name by searching the package name on anaconda.org. In our case, the channel of multiqc is bioconda.

Step Three: Use

Once the myENV environment is ready, multiqc can be used directly or within a python session/script.

  1. Open a terminal app or a command line interface on my personal laptop or pc, or in a Sol desktop session. And then type in the commands:

  1. ssh someone@sol.asu.edu

  1. interactive -p htc -c 4 -t 30

  1. module load mamba/latest

  2. source activate myENV

  3. python

  4. import multiqc

  • No labels