matsengrp / gctree

GCtree: phylogenetic inference of genotype-collapsed trees
https://matsengrp.github.io/gctree
GNU General Public License v3.0
16 stars 2 forks source link

Phylip Installaion #123

Closed vivekruhela closed 8 months ago

vivekruhela commented 8 months ago

Can anyone suggest to me how to install Phylip. I tried conda (as suggested in documentation) but it's not working (error screenshot shown below). Phylip error

I also tried to build it from source in Linux (both 3.697 nd 3.698 version), it is also not working (error screenshot shown below) phylip error2

I really appreciate any help. Thanks

willdumm commented 8 months ago

Hi Vivek,

I've had luck following the build instructions on Linux, although I'm not sure what's going wrong in your case. Luckily it shouldn't be necessary to build from source though, since there are pre-built executables available on the PHYLIP website. They're very difficult to find, but they've worked for me on Mac and Linux (I don't use windows, but there are windows executables available too)

Here's the downloads page where you'll find those: https://phylipweb.github.io/phylip/getme-new1.html You should be able to just unzip the archive wherever you like and either link the binary somewhere in your path or just run it with a full file path where it is.

I don't know what's wrong with the conda installation, perhaps the package isn't available for Windows? I have been able to install via conda on linux and macOS.

vivekruhela commented 8 months ago

Thanks for your reply. As per gctree documentation, I need to pre-process fasta files using deduplicate module. But in the available executables, I didn't find a deduplicate executable which is the reason why I am trying to build it from source. Let me know if I have missed something. Thanks.

willdumm commented 8 months ago

Ah I see. The deduplicate tool is part of gctree, not phylip, and like the cli tools gctree and mkconfig, should automatically be available in any environment in which gctree is installed with pip or conda.

vivekruhela commented 8 months ago

Thanks. Problem solved.