I installed nextstrain on a different computer which did have augur in place. Following the instruction I ran the same sample data and it failed. Can you help interpret the problem?
ncov$ snakemake --profile profiles/king-county/
Building DAG of jobs…
Updating job 81 (aggregate_alignments).
Using shell: /bin/bash
Provided cores: 8
Rules claiming more threads will be scaled down.
Job counts:
count jobs
1 all
2 export
2 finalize
2 incorporate_travel_history
7
[Mon Jun 29 12:30:34 2020]
Job 17: Exporting data files for for auspice
Reason: Missing output files: results/usa/ncov_with_accessions.json
augur export v2 --tree results/usa/tree.nwk --metadata results/usa/metadata_adjusted.tsv --node-data results/usa/branch_lengths.json results/usa/nt_muts.json results/usa/aa_muts.json results/usa/legacy_clades.json results/usa/clades.json results/usa/recency.json results/usa/traits.json --auspice-config config/auspice_config.json --colors results/usa/colors.tsv --lat-longs config/lat_longs.tsv --title 'Genomic epidemiology of novel coronavirus - Usa-focused subsampling' --description config/description.md --output results/usa/ncov_with_accessions.json 2>&1 | tee logs/export_usa.txt
[Mon Jun 29 12:30:34 2020]
Job 21: Exporting data files for for auspice
Reason: Missing output files: results/usa_washington/ncov_with_accessions.json
augur export v2 --tree results/usa_washington/tree.nwk --metadata results/usa_washington/metadata_adjusted.tsv --node-data results/usa_washington/branch_lengths.json results/usa_washington/nt_muts.json results/usa_washington/aa_muts.json results/usa_washington/legacy_clades.json results/usa_washington/clades.json results/usa_washington/recency.json results/usa_washington/traits.json --auspice-config config/auspice_config.json --colors results/usa_washington/colors.tsv --lat-longs config/lat_longs.tsv --title 'Genomic epidemiology of novel coronavirus - Usa_Washington-focused subsampling' --description config/description.md --output results/usa_washington/ncov_with_accessions.json 2>&1 | tee logs/export_usa_washington.txt
WARNING: You asked for a color-by for trait ‘pangolin_lineage’, but it has no values on the tree. It has been ignored.
WARNING: You asked for a color-by for trait ‘GISAID_clade’, but it has no values on the tree. It has been ignored.
WARNING: These values for trait location were not specified in your provided color scale: maricopa county, kenner. Auspice will create colors for them.
WARNING: These values for trait division were not specified in your provided color scale: south america, oceania, europe, asia. Auspice will create colors for them.
WARNING: These values for trait country were not specified in your provided color scale: south america, asia, oceania, europe. Auspice will create colors for them.
WARNING: These values for trait region were not specified in your provided color scale: asia. Auspice will create colors for them.
Validating schema of ‘results/usa_washington/aa_muts.json’…
Validating config file config/auspice_config.json against the JSON schema
Validating schema of ‘config/auspice_config.json’…
Traceback (most recent call last):
File “/Library/Frameworks/Python.framework/Versions/3.6/bin/augur”, line 11, in
sys.exit(main())
File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/augur/main.py”, line 10, in main
return augur.run( argv[1:] )
File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/augur/init.py”, line 74, in run
return args.command.run(args)
File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/augur/export.py”, line 22, in run
return run_v2(args)
File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/augur/export_v2.py”, line 861, in run_v2
set_node_attrs_on_tree(data_json, node_attrs)
File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/augur/export_v2.py”, line 509, in set_node_attrs_on_tree
author_data = create_author_data(node_attrs)
File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/augur/export_v2.py”, line 491, in create_author_data
node_author_info[node_name][“value”] = author + " {}".format(“ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz”[index])
IndexError: string index out of range
WARNING: You asked for a color-by for trait ‘pangolin_lineage’, but it has no values on the tree. It has been ignored.
WARNING: You asked for a color-by for trait ‘GISAID_clade’, but it has no values on the tree. It has been ignored.
WARNING: These values for trait location were not specified in your provided color scale: maricopa county, kenner. Auspice will create colors for them.
WARNING: These values for trait division were not specified in your provided color scale: south america, oceania, europe, asia. Auspice will create colors for them.
WARNING: These values for trait country were not specified in your provided color scale: south america, europe, oceania, asia. Auspice will create colors for them.
WARNING: These values for trait region were not specified in your provided color scale: asia. Auspice will create colors for them.
Validating schema of ‘results/usa/aa_muts.json’…
Validating config file config/auspice_config.json against the JSON schema
Validating schema of ‘config/auspice_config.json’…
Traceback (most recent call last):
File “/Library/Frameworks/Python.framework/Versions/3.6/bin/augur”, line 11, in
sys.exit(main())
File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/augur/main.py”, line 10, in main
return augur.run( argv[1:] )
File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/augur/init.py”, line 74, in run
return args.command.run(args)
File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/augur/export.py”, line 22, in run
return run_v2(args)
File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/augur/export_v2.py”, line 861, in run_v2
set_node_attrs_on_tree(data_json, node_attrs)
File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/augur/export_v2.py”, line 509, in set_node_attrs_on_tree
author_data = create_author_data(node_attrs)
File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/augur/export_v2.py”, line 491, in create_author_data
node_author_info[node_name][“value”] = author + " {}".format(“ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz”[index])
IndexError: string index out of range
[Mon Jun 29 12:30:35 2020]
Error in rule export:
jobid: 17
output: results/usa/ncov_with_accessions.json
log: logs/export_usa.txt (check log file(s) for error message)
shell:
augur export v2 --tree results/usa/tree.nwk --metadata results/usa/metadata_adjusted.tsv --node-data results/usa/branch_lengths.json results/usa/nt_muts.json results/usa/aa_muts.json results/usa/legacy_clades.json results/usa/clades.json results/usa/recency.json results/usa/traits.json --auspice-config config/auspice_config.json --colors results/usa/colors.tsv --lat-longs config/lat_longs.tsv --title 'Genomic epidemiology of novel coronavirus - Usa-focused subsampling' --description config/description.md --output results/usa/ncov_with_accessions.json 2>&1 | tee logs/export_usa.txt
(one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)
Job failed, going on with independent jobs.
[Mon Jun 29 12:30:35 2020]
Error in rule export:
jobid: 21
output: results/usa_washington/ncov_with_accessions.json
log: logs/export_usa_washington.txt (check log file(s) for error message)
shell:
augur export v2 --tree results/usa_washington/tree.nwk --metadata results/usa_washington/metadata_adjusted.tsv --node-data results/usa_washington/branch_lengths.json results/usa_washington/nt_muts.json results/usa_washington/aa_muts.json results/usa_washington/legacy_clades.json results/usa_washington/clades.json results/usa_washington/recency.json results/usa_washington/traits.json --auspice-config config/auspice_config.json --colors results/usa_washington/colors.tsv --lat-longs config/lat_longs.tsv --title 'Genomic epidemiology of novel coronavirus - Usa_Washington-focused subsampling' --description config/description.md --output results/usa_washington/ncov_with_accessions.json 2>&1 | tee logs/export_usa_washington.txt
(one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)
Job failed, going on with independent jobs.
Exiting because a job execution failed. Look above for error message