<commit_before>##depends:none

#Miniconda3 installation:

echo $-
shopt

set +u

echo $-
shopt

wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
CONDA_PATH=("/opt/chipster/tools/miniconda3")
bash Miniconda3-latest-Linux-x86_64.sh -b -p $CONDA_PATH 
export PATH=${PATH}:${CONDA_PATH}/bin
conda config --add channels defaults
conda config --add channels conda-forge
conda config --add channels bioconda

mv $HOME/.condarc $CONDA_PATH
conda create -n chipster_tools -y

cat << EOF > $CONDA_PATH/conda_execute
#!/bin/bash

conda_path=("$CONDA_PATH")

c_env=\$(echo \$1 | awk -F "/" '{print \$1}')
c_tool=\$(echo \$1 | awk -F "/" '{print \$2}')<commit_msg>Add single-cell R runtime<commit_after>##depends:none

#Miniconda3 installation:

echo $-

# conda installation doesn't work with 'set -u' https://github.com/conda/conda/issues/9966
set +u

echo $-

wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
CONDA_PATH=("/opt/chipster/tools/miniconda3")
bash Miniconda3-latest-Linux-x86_64.sh -b -p $CONDA_PATH 
export PATH=${PATH}:${CONDA_PATH}/bin
conda config --add channels defaults
conda config --add channels conda-forge
conda config --add channels bioconda

mv $HOME/.condarc $CONDA_PATH
conda create -n chipster_tools -y

cat << EOF > $CONDA_PATH/conda_execute
#!/bin/bash

conda_path=("$CONDA_PATH")

c_env=\$(echo \$1 | awk -F "/" '{print \$1}')
c_tool=\$(echo \$1 | awk -F "/" '{print \$2}')
{'fraction_non_alphanumeric': 0.16608996539792387, 'fraction_numerical': 0.02491349480968858, 'mean_word_length': 4.43609022556391, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1686697', 'n_tokens_mistral': 595, 'n_tokens_neox': 561, 'n_words': 126}