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 of samples in distruct visualisation by --popmap #66

Open
ARW-UBT opened this issue Apr 27, 2021 · 3 comments
Open

Order of samples in distruct visualisation by --popmap #66

ARW-UBT opened this issue Apr 27, 2021 · 3 comments

Comments

@ARW-UBT
Copy link

ARW-UBT commented Apr 27, 2021

Hello,
I have reated distruct plots using the --popfile option. However, the samples are not sorted as specified in popfile but alphabetically. Is there any chance to control the order of samples in distruct plots?

Related to this: is there any possibility to extract the order of samples in distruct plots created without the --popfile information?

Best,

@sanderdebacker
Copy link

As far as the results I generated, populations specified in --popfile are randomly ordered in the distruct plots.
Have you received any kind of response since this thread has no reactions?

@sanderdebacker
Copy link

@ARW-UBT there is a modified version of the original distruct.py called distructv2, available through https://github.com/hrk2109/distruct2
It has the --poporder argument which seems to fulfil your wishes to control the order of samples/populations.

@ARW-UBT
Copy link
Author

ARW-UBT commented Mar 3, 2022

@sanderdebacker , Thanks for posting, I will test it asap.
Best,

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

2 participants