MetaPhlAn version 3.0
Command-
metaphlan --install
metaphlan --install --index v30_CHOCOP
hlAn_201901
Traceback (most recent call last):
File “/pbs/data/bis/giulia/envs/mpa_bimaster01/bin/metaphlan”, line 10, in
sys.exit(main())
File “/pbs/data/bis/giulia/envs/mpa_bimaster01/lib/python3.6/site-packages/metaphlan/metaphlan.py”, line 1187, in main
pars[‘index’] = check_and_install_database(pars[‘index’], pars[‘bowtie2db’], pars[‘bowtie2_build’], pars[‘nproc’], pars[‘force_download’])
File “/pbs/data/bis/giulia/envs/mpa_bimaster01/lib/python3.6/site-packages/metaphlan/metaphlan.py”, line 585, in check_and_install_database
ls_f = dict( [row.strip().split() for row in f])
ValueError: dictionary update sequence element #1 has length 5; 2 is required
I know i have an outdated version of Metaphlan, and that the download won’t work because dropbox is deprecated. However I have manually downloaded the files from zenodo (.tar, which I’ve tried both to unpack and leave as is, mpa_latest and md5. I tought it would detect the files and not try to download it anyways?
Sadly I can’t update to Metaphlan 4.0 or any version that requires python 3.7.
Thanks for any insight,
Giulia