Skip to content

Instantly share code, notes, and snippets.

@jvollme
Last active September 5, 2022 19:24
Show Gist options
  • Save jvollme/e1a511cee9349f87a446efd48be2c248 to your computer and use it in GitHub Desktop.
Save jvollme/e1a511cee9349f87a446efd48be2c248 to your computer and use it in GitHub Desktop.
installing groopm2

###a.) first create env with most dependencies:

conda create -n groomp2 python=2.7 matplotlib scipy bamm cython pillow pytables tempdir diamond hmmer pplacer mfqe orfm

###b.) obtain pip3 and use it to install singlem globally (while currently in the base environment OR any python3 environment)

sudo apt update
sudo apt install python3-pip
conda deactivate
conda deactivate # deactivate not only conda environment but also conda entirely (until you don't even see the base einvironment)
sudo pip3 install --no-cache-dir pandas==1.0.5 singlem # apparently tehre can be some pandas conflicts with sortm, so better to use the older version?

(singlem will automatically be in PATH for all environments, since it was installed globally)

###c.) switch to groopm2 conda environment, download groopm2 and install

conda activate #activate conda again
conda activate groopm2 
git clone https://github.com/timbalam/GroopM.git 
cd GroopM 
python setup.py install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment