Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
inter_CATI_omics
Hackathon_octobre2021
atelier_repro
Commits
4094860c
Commit
4094860c
authored
Oct 05, 2021
by
Celine Noirot
Committed by
Joseph Tran
Oct 05, 2021
Browse files
Add mode opératoire création yml
parent
5d606cd0
Changes
1
Show whitespace changes
Inline
Side-by-side
Singularity/01.conda/README.md
View file @
4094860c
...
...
@@ -22,3 +22,54 @@
./conda.sif kallisto
#
# Mode opératoire pour créer un fichier conda yml
**1. Miniconda installation and configuration**
```
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh
conda config --set auto_activate_base false
conda deactivate
```
Ajout des channels :
```
conda config --add channels bioconda
conda config --add channels conda-forge
```
**2. Create .yml file**
Creer un environement conda avec les outils necessaires
```
conda create -n test_conda_env -c conda-forge -c bioconda kallisto seqtk
```
Activation de l'environement conda pour pour verifier que les outils sont bien installé
```
source activate test_conda_env
```
Sortir de l'environement conda
```
conda deactivate
```
Export du ficher .yml
```
conda env export -n test_conda_env > test_conda_env.yml
```
Editer le fichier :
-
supprimer toutes les dependances non necessaire,
-
enlever le tag
```
cat test_conda_env.yml | cut -d "=" -f 1,2 > test_conda_env.yml
```
-
enlever la ligne prefix
-
verifier le nom de l'environnement
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment