liu-congcong / MetaDecoder

An algorithm for clustering metagenomic sequences.
GNU General Public License v3.0
30 stars 2 forks source link

Ask help on the installation of the MetaDecoder #5

Closed B-1991-ing closed 1 year ago

B-1991-ing commented 2 years ago

Dear MetaDecoder support team,

I emailed our HPC admin to install the MetaDecoder, but this is their reply. Could you update some dependencies for us?

Screenshot 2022-07-12 at 14 17 56

Best,

Bing

liu-congcong commented 2 years ago

Thank you very much for using MetaDecoder. Once I fully verify the usability of MetaDecoder, I will remove the version restrictions of the dependencies. But until then, you may need to do as follows:

  1. git clone https://github.com/liu-congcong/MetaDecoder.git
  2. cd MetaDecoder
  3. Edit the setup.py file: Line 31: 'numpy == 1.18.5' -> 'numpy' Line 32: 'scipy == 1.5.4' -> 'scipy' Line 33: 'scikit-learn == 0.23.2' -> 'scikit-learn'
  4. python3 setup.py install
  5. pip3 install numpy scikit-learn scipy threadpoolctl

It should be noted that in step 3, please just remove the version restriction, please do not change the line indentation. If you have any difficulties with the installation, please contact me.

liu-congcong commented 2 years ago

I have also uploaded the MetaDecoder here (https://drive.google.com/drive/folders/10LVMoc1txmyyKTig6AYly-BjVqSrL4pS?usp=sharing). Just download and install it, please be careful not to change the file name. pip3 install metadecoder-1.0.13-py3-none-any.whl

B-1991-ing commented 2 years ago

Hi congcong,

Thank you very much for your quick reply.

I've already sent your response to our admin and I am not sure which way he would choose.

Best,

Bing