Hi!
Thanks for writing such a detailed tutorial as well as all of your great software. I was able to follow it and successfully run the example getting_started
example workflow using conda envs (rather than docker).
I am now trying to run my own data (800 seqs) without context using a very simple custom build, but am running into the following error. Might someone be able to help me troubleshoot?
My metadata.tsv looks like this:
name date nosocomial_acquisition sex virus region
a39-ob_3_05/2020-11-16 2020-11-16 Staff F SARS-CoV-2 Europe
Snakemake output
[Mon Jun 21 18:40:27 2021]
Job 5:
Refining tree
- estimate timetree
- use skyline coalescent timescale
- estimate marginal node dates
augur refine --tree results/default-build/tree_raw.nwk --alignment results/default-build/aligned.fasta --metadata results/default-bu
ild/metadata_adjusted.tsv.xz --output-tree results/default-build/tree.nwk --output-node-data results/default-build/branch_lengths.json --roo
t Wuhan/Hu-1/2019 --timetree --clock-rate 0.0008 --clock-std-dev 0.0004 --coalescent skyline --date-inf
erence marginal --divergence-unit mutations --date-confidence --no-covariance --clock-filter-iqd 4 2>&1 | tee logs/refine_defaul
t-build.txt
Activating conda environment: /gpfs2/well/bag/uzv018/sars2/nextstrain/ncov/.snakemake/conda/f794c0c2346483e881efe86baebefe4d
augur refine is using TreeTime version 0.8.1
11.26 TreeTime.reroot: with method or node: Wuhan/Hu-1/2019
Traceback (most recent call last):
File "/gpfs2/well/bag/uzv018/sars2/nextstrain/ncov/.snakemake/conda/f794c0c2346483e881efe86baebefe4d/bin/augur", line 10, in <module>
sys.exit(main())
File "/gpfs2/well/bag/uzv018/sars2/nextstrain/ncov/.snakemake/conda/f794c0c2346483e881efe86baebefe4d/lib/python3.8/site-packages/augur/__main__.py", line 10, in main
return augur.run( argv[1:] )
File "/gpfs2/well/bag/uzv018/sars2/nextstrain/ncov/.snakemake/conda/f794c0c2346483e881efe86baebefe4d/lib/python3.8/site-packages/augur/__init__.py", line 75, in run
return args.__command__.run(args)
File "/gpfs2/well/bag/uzv018/sars2/nextstrain/ncov/.snakemake/conda/f794c0c2346483e881efe86baebefe4d/lib/python3.8/site-packages/augur/refine.py", line 206, in run
tt = refine(tree=T, aln=aln, ref=ref, dates=dates, confidence=args.date_confidence,
File "/gpfs2/well/bag/uzv018/sars2/nextstrain/ncov/.snakemake/conda/f794c0c2346483e881efe86baebefe4d/lib/python3.8/site-packages/augur/refine.py", line 42, in refine
tt.clock_filter(reroot=reroot, n_iqd=clock_filter_iqd, plot=False) #use whatever was specified
File "/gpfs2/well/bag/uzv018/sars2/nextstrain/ncov/.snakemake/conda/f794c0c2346483e881efe86baebefe4d/lib/python3.8/site-packages/treetime/treetime.py", line 327, in clock_fil
ter
self.reroot(root='least-squares' if reroot=='best' else reroot, covariation=False, clock_rate=fixed_clock_rate)
File "/gpfs2/well/bag/uzv018/sars2/nextstrain/ncov/.snakemake/conda/f794c0c2346483e881efe86baebefe4d/lib/python3.8/site-packages/treetime/treetime.py", line 453, in reroot
raise UnknownMethodError('TreeTime.reroot -- ERROR: unsupported rooting mechanisms or root not found')
treetime.UnknownMethodError: TreeTime.reroot -- ERROR: unsupported rooting mechanisms or root not found
My builds.yaml file looks like this:
inputs:
- name: sars2-oxfordshire
metadata: data/data/metadata.tsv
sequences: data/data/sequences.fasta
files:
auspice_config: "my_profiles/sars2-oxfordshire/my_auspice_config.json"
frequencies:
min_date: 2020-11-16
max_date: 2020-01-04
Thank you,
Bede