Skip to content
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

Inconsistencies in branch stats file #181

Closed
kelwyres opened this issue Nov 14, 2016 · 3 comments
Closed

Inconsistencies in branch stats file #181

kelwyres opened this issue Nov 14, 2016 · 3 comments

Comments

@kelwyres
Copy link

Hi,
I'm running Gubbins 2.0.0 and seeing some inconsistencies in my branch stats output files, including outputs for distinct analyses using different sets of sequences. For example...

Node Total_SNPs Num_of_SNPs_inside_recombinations Num_of_SNPs_outside_recombinations Num_of_Recombination_Blocks Bases_in_Recombinations r/m rho/theta Genome_Length Bases_in_Clonal_Frame
573.1446 98 0 98 0 79847 0.000000 0.000000 5343462 5263613

So there are 0 recombination blocks on the branch leading to node 573.1446 but somehow there are 79847 bases in recombinant regions? Is the number of bases in recombinant regions counting everything in the history of that node rather than just the preceding branch?

Thanks in advance for your clarification of this,
Kelly

@ammaraziz
Copy link

What are the stats for the other nodes? Most likely you are seeing a recombination block identified in the internal nodes which are carried over.

@flashton2003
Copy link

I was also wondering about the 0 recombination blocks, >0 bases in recombinations so thanks for clarification.

So, if I want to know the overall r/m for a strain, I have to figure out all the parent nodes for that strain back to the root and sum the total SNPs and num snps inside recombinations?

I guess the node labelled tree will be helpful for that.

@andrewjpage
Copy link
Contributor

The node labelled tree has been added back in as an output. And yes the counts are cumulative from the root of the tree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants