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

Order rows and columns in ANIm_percentage_identity.tab in clustering order like images #116

Open
louellette opened this issue Aug 16, 2018 · 3 comments
Assignees
Labels
enhancement something we'd like pyani to do that it doesn't already interface issues related to how the user tells pyani to do something question how can I do this? why does it do that? where can I get this? etc.
Milestone

Comments

@louellette
Copy link

Summary:

Is there a way to order the rows and columns in the ANIm_percentage_identity.tab in the same order as they are clustered in ANIm_percentage_identity.pdf?

pyani Version:

Python Version:

Operating System:

@widdowquinn widdowquinn self-assigned this Aug 30, 2018
@widdowquinn widdowquinn added question how can I do this? why does it do that? where can I get this? etc. enhancement something we'd like pyani to do that it doesn't already labels Aug 30, 2018
@widdowquinn
Copy link
Owner

Hi,

Sorry for the delay!

You can't currently request it from pyani, but if you read the .tab file in, and use the seaborn/numpy clustering tools with the same settings you should get the same order.

I'll also mark this as an enhancement for incorporation into future releases.

Cheers,

L.

@widdowquinn widdowquinn added this to the 0.3.1 milestone May 29, 2020
@widdowquinn widdowquinn added the interface issues related to how the user tells pyani to do something label May 29, 2020
@KAMASEPO
Copy link

KAMASEPO commented Aug 1, 2022

Hi,
Could you please help me and provide the settings and the sample code to achieve this in pyani 0.2.x?

@widdowquinn
Copy link
Owner

Hi @KAMASEPO - there are currently no settings in pyani that produce the ordered tabular output, but as noted above you can use clustering tools in seaborn, numpy or some other package to process the output that pyani produces to get the same result.

L.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement something we'd like pyani to do that it doesn't already interface issues related to how the user tells pyani to do something question how can I do this? why does it do that? where can I get this? etc.
Projects
None yet
Development

No branches or pull requests

3 participants