Hi there
I’m trying to follow the strainphlan tutorial.
When I run the following: strainphlan -s consensus/.pkl -m clade_markers/s **Eubacterium_rectale.fna -d /home/eplummer/zb84/databases/metaphaln_database/mpa_v30_CHOCOPhlAn_201901.pkl -r reference_genomes/.fna -o output -c s** Eubacterium_rectale
I get the following output and error:
Mon Aug 10 08:54:57 2020: Start StrainPhlAn 3.0 execution
Mon Aug 10 08:54:57 2020: Creating temporary directory…
Mon Aug 10 08:54:57 2020: Done.
Mon Aug 10 08:54:57 2020: Getting markers from main sample files…
Mon Aug 10 08:54:58 2020: Done.
Mon Aug 10 08:54:58 2020: Getting markers from main reference files…Warning: [blastn] Examining 5 or more matches is recommended
Warning: [blastn] Examining 5 or more matches is recommended
Warning: [blastn] Examining 5 or more matches is recommended
Warning: [blastn] Examining 5 or more matches is recommended
Warning: [blastn] Examining 5 or more matches is recommended
Warning: [blastn] Examining 5 or more matches is recommended
Mon Aug 10 08:54:59 2020: Done.
Mon Aug 10 08:54:59 2020: Removing bad markers / samples…
Mon Aug 10 08:54:59 2020: Done.
Mon Aug 10 08:54:59 2020: Writing samples as markers’ FASTA files…
Mon Aug 10 08:55:00 2020: Done.
Mon Aug 10 08:55:00 2020: Writing filtered clade markers as FASTA file…
Mon Aug 10 08:55:00 2020: Done.
Mon Aug 10 08:55:00 2020: Calculating polymorphic rates…
Mon Aug 10 08:55:00 2020: Done.
Mon Aug 10 08:55:00 2020: Executing PhyloPhlAn 3.0…
Mon Aug 10 08:55:00 2020: Creating PhyloPhlAn 3.0 database…Traceback (most recent call last):
File “/usr/local/metaphlan/3.0/bin/strainphlan”, line 11, in
load_entry_point(‘MetaPhlAn==3.0.0a1’, ‘console_scripts’, ‘strainphlan’)()
File “/usr/local/metaphlan/3.0/lib/python3.7/site-packages/metaphlan/strainphlan.py”, line 830, in main
args.mutation_rates, args.print_clades_only, args.nprocs)
File “/usr/local/metaphlan/3.0/lib/python3.7/site-packages/metaphlan/strainphlan.py”, line 784, in strainphlan
mutation_rates, nprocs)
File “/usr/local/metaphlan/3.0/lib/python3.7/site-packages/metaphlan/strainphlan.py”, line 545, in compute_phylogeny
create_phylophlan_db(tmp_dir, clade)
File “/usr/local/metaphlan/3.0/lib/python3.7/site-packages/metaphlan/utils/external_exec.py”, line 100, in create_phylophlan_db
execute(compose_command(params, input_file=markers))
File “/usr/local/metaphlan/3.0/lib/python3.7/site-packages/metaphlan/utils/external_exec.py”, line 30, in execute
exec_res = sb.run(cmd[‘command_line’], stdin=inp_f, stdout=out_f)
File “/usr/local/python/3.7.3-system/lib/python3.7/subprocess.py”, line 472, in run
with Popen(*popenargs, **kwargs) as process:
File “/usr/local/python/3.7.3-system/lib/python3.7/subprocess.py”, line 775, in init
restore_signals, start_new_session)
File “/usr/local/python/3.7.3-system/lib/python3.7/subprocess.py”, line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: ‘phylophlan_setup_database’: ‘phylophlan_setup_database’
Any advice on how to rectify this error and what is the phylophlan_setup_database?
Thank you
Erica