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

Can Phylo-HMRF do pairwise comparison? #5

Open
llq0325 opened this issue Apr 6, 2020 · 3 comments
Open

Can Phylo-HMRF do pairwise comparison? #5

llq0325 opened this issue Apr 6, 2020 · 3 comments

Comments

@llq0325
Copy link

llq0325 commented Apr 6, 2020

Hi,
Very delicacy approach Phylo-HMRF has! I would like to try it in my research.
I have a question though, can Phylo-HMRF do comparison between two species? and how can I do it?

cheers.

@yangymargaret
Copy link
Collaborator

Hi @llq0325,
Thank you very much for your interest in Phylo-HMRF and thank you for the question. Yes, Phylo-HMRF can perform comparison between two species. In this case, the phylogenetic tree is simplified to be a tree with four nodes: one remote ancestor node (root node), one ancestor node, and two leaf nodes (representing the two species to study). Please edit the input files edge.1.txt, branch_length.1.txt, and species_name.1.txt accordingly. Please see the README about how to prepare the input files and the input data. Please let me know if you have any other questions. Thanks!

Best regards!
Yang Yang

@llq0325
Copy link
Author

llq0325 commented Apr 9, 2020

Hi Yang,

Thank you for replying.
In current version of utility.py, you hard code the species name list. Maybe you can consider leave them out for a wider use.
https://github.com/ma-compbio/Phylo-HMRF/blob/b20f4e901d66f08de5a6d65b0d693583147f5236/utility.py#L2476

regards,

Langqing

@yangymargaret
Copy link
Collaborator

Hi Langqing @llq0325 ,
Thank you very much for letting me know this problem. I have updated utility.py accordingly. Please let me know if you have any other questions. Many thanks!

Best regards!
Yang Yang

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