You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made a tree and got a root named "cellular organism"
ran CanSNPer2 --database bacillus_anthracis_new.db data/*.fasta --summary --save_tree --tmpdir temp/ --strictness 0.8
and got a warning about that cellular organism has no snp_annotation:
2023-06-30 13:13:29,429 NewickTree [WARNI] #Node has no snp_annotation root
2023-06-30 13:13:29,429 NewickTree [WARNI] #Node has no snp_annotation cellular organisms
2023-06-30 13:13:29,429 NewickTree [WARNI] #Node has no snp_annotation A.Br.011
and also a node in the tree pdf named "-root- -cellular organism":
FlexTaxD ReadTaxonomyCanSNPer module creates root and cellular_organism node by default.
Solution
Move the creation of these nodes from init to the "parse_taxonomy function" (in FlexTaxD), this function is overrides in CanSNPer2 and can skip this step.
I made a tree and got a root named "cellular organism"
ran
CanSNPer2 --database bacillus_anthracis_new.db data/*.fasta --summary --save_tree --tmpdir temp/ --strictness 0.8
and got a warning about that cellular organism has no snp_annotation:
2023-06-30 13:13:29,429 NewickTree [WARNI] #Node has no snp_annotation root
2023-06-30 13:13:29,429 NewickTree [WARNI] #Node has no snp_annotation cellular organisms
2023-06-30 13:13:29,429 NewickTree [WARNI] #Node has no snp_annotation A.Br.011
and also a node in the tree pdf named "-root- -cellular organism":
Vollum_GCF_022221345.1_ASM2222134v1_tree.pdf
The text was updated successfully, but these errors were encountered: