metagenlab / zDB

zDB: comparative bacterial genomics made easy
MIT License
24 stars 4 forks source link

Add phylogenetic representation of GWAS results #68

Closed njohner closed 3 months ago

njohner commented 3 months ago

With this PR we add a new tab to the GWAS results showing the significant hits on the phylegenetic tree. The first column shows the phenotype, colored as red for present and blue for absent. The other columns show the genes/annotations as blue if absent and matching the trait, and red if present and matching the trait.

Note that there is currently an issue in the calculation of the sensitivity and specificity of genes that are negatively correlated to the trait. I've opened a PR in Scoary-2 to fix this.

gwas_phylogeny

For a negatively correlated gene gwas_phylogeny_neg

Checklist