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

Add alignment summary: organisms #263

Open
njrollins opened this issue Apr 19, 2021 · 1 comment
Open

Add alignment summary: organisms #263

njrollins opened this issue Apr 19, 2021 · 1 comment

Comments

@njrollins
Copy link

Would be useful to give quick visual summary of what organisms are collected in the alignment.

One option: represent aligned sequences in a tree or simply a bar-chart, colored by species membership
e.g. by

  • fetch NCBI taxonomy from UniProt IDs (batch query API) or TaxID in annotations.csv
  • input IDs to visualize as e.g. tree (https://itol.embl.de/)
  • Perhaps color at according to chordata + mammalia + domain (other eukaryotes, bacteria, virus, ..)

Could in the future be nice to do something similar, but color branches by strongest Pfam hit to each seq overlapping aligned region

@mrunalimanj
Copy link

was working on this with the alignments I've been reviewing, and think I found something that might be nice with the hierarchical data one can pull from NCBI.
I pulled taxa information using TaxID in *_annotations.csv, then used plotly for the visualization, grouping on superkingdom, phylum, and order (could try using class, or family, but I chose some higher ranks to keep graph light). plotly also makes its charts interactive, so you can view totals or subset to different groups. The sizing of the lettering is also a bit noisy, but there are ways of setting those to be fixed. can share my notebook/start a pull request if this seems like a suitable addition!
plot

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

No branches or pull requests

3 participants