Hi @f.asnicar
I was trying to download reference genome for all the genomes using phylophlan_get_reference command and I got the following error:
Command used:
phylophlan_get_reference -g all -o /home/rakesh/PHYLO_ANALYSIS/PHYLO_TOL/ -n 1 --verbose 2>&1 | tee /home/rakesh/PHYLO_ANALYSIS/logs/phylophlan_get_reference.log
phylophlan_get_reference.py version 3.0.18 (27 November 2020)
Command line: /home/rakesh/anaconda3/envs/phylophlan/bin/phylophlan_get_reference -g all -o /home/rakesh/PHYLO_ANALYSIS/PHYLO_TOL/ -n 1 --verbose
Arguments: {âgetâ: âallâ, âlist_cladesâ: False, âdatabase_updateâ: False, âoutput_file_extensionâ: â.fna.gzâ, âoutputâ: â/home/rakesh/PHYLO_ANALYSIS/PHYLO_TOL/â, âhow_manyâ: 1, âgenbank_mappingâ: âassembly_summary_genbank.txtâ, âverboseâ: True}
File âtaxa2genomes.txtâ present
File âtaxa2genomes_cpa201901_up201901.txt.bz2â present
Output folder â/home/rakesh/PHYLO_ANALYSIS/PHYLO_TOL/â present
File âassembly_summary_genbank.txtâ present
Traceback (most recent call last):
File â/home/rakesh/anaconda3/envs/phylophlan/bin/phylophlan_get_referenceâ, line 10, in
sys.exit(phylophlan_get_reference())
File â/home/rakesh/anaconda3/envs/phylophlan/lib/python3.10/site-packages/phylophlan/phylophlan_get_reference.pyâ, line 319, in phylophlan_get_reference
get_reference_genomes(args.genbank_mapping, taxa2genomes_file_latest, args.get, args.how_many,
File â/home/rakesh/anaconda3/envs/phylophlan/lib/python3.10/site-packages/phylophlan/phylophlan_get_reference.pyâ, line 265, in get_reference_genomes
gb_assembly_summary = dict([(r.strip().split(â\tâ)[0],
File â/home/rakesh/anaconda3/envs/phylophlan/lib/python3.10/site-packages/phylophlan/phylophlan_get_reference.pyâ, line 266, in
(r.strip().split(â\tâ)[19].replace(âftp://â, âhttps://â) + â/â +
IndexError: list index out of range
Please help me resolve this error! Thanks in Advance!