-
Notifications
You must be signed in to change notification settings - Fork 8
Make tree for 450bp of the N gene ("N450") #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
55ea0ce
edbefd5
8343876
d55342b
ab92a1b
f39ba8b
119fbcf
862dbaf
8bea320
a9d2644
bf83a42
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| genes = ['N450', 'genome'] | ||
|
|
||
| configfile: "defaults/config.yaml" | ||
|
|
||
| rule all: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,9 +7,9 @@ See Augur's usage docs for these commands for more details. | |
| rule tree: | ||
| """Building tree""" | ||
| input: | ||
| alignment = "results/aligned.fasta" | ||
| alignment = "results/aligned_{gene}.fasta" | ||
| output: | ||
| tree = "results/tree_raw.nwk" | ||
| tree = "results/tree_raw_{gene}.nwk" | ||
| shell: | ||
| """ | ||
| augur tree \ | ||
|
|
@@ -26,12 +26,12 @@ rule refine: | |
| - filter tips more than {params.clock_filter_iqd} IQDs from clock expectation | ||
| """ | ||
| input: | ||
| tree = "results/tree_raw.nwk", | ||
| alignment = "results/aligned.fasta", | ||
| tree = "results/tree_raw_{gene}.nwk", | ||
| alignment = "results/aligned_{gene}.fasta", | ||
| metadata = "data/metadata.tsv" | ||
| output: | ||
| tree = "results/tree.nwk", | ||
| node_data = "results/branch_lengths.json" | ||
| tree = "results/tree_{gene}.nwk", | ||
| node_data = "results/branch_lengths_{gene}.json" | ||
| params: | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The following deprecation notice is present when running refine: DEPRECATION WARNING. TreeTime.resolve_polytomies: You are resolving
polytomies using the old 'greedy' mode. This is not well suited for large
polytomies. Stochastic resolution will become the default in future
versions. To switch now, rerun with the flag `--stochastic-resolve`. To
keep using the greedy method in the future, run with `--greedy-resolve`Especially for the N450 build where we will have large polytomies we should use
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done in f39ba8b |
||
| coalescent = config["refine"]["coalescent"], | ||
| date_inference = config["refine"]["date_inference"], | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The temporal signal is much better in this build (and the build Trevor showed me) than the one we looked at mid-week - do you know what changed? This gives me more confidence that the (temporal) rooting is working ok for the N450 build - it's broadly similar to the genome build - and so there's no longer a need to start in "unrooted" view if you'd prefer to go back to the more typical rectangular view.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The lower temporal signal for the tree I showed you last week seems to be related to the subsampling method I had used. Here is the subsampling method I used for that tree:
And here is the clock view for a tree I generated today using that subsampling method:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed default display back to rooted time-tree in 862dbaf