OrthoFinder icon indicating copy to clipboard operation
OrthoFinder copied to clipboard

create_files_for_hogs :: not installed by setpu.py

Open EricDeveaud opened this issue 4 years ago • 3 comments

Hello,

while installing version 2.5.4 from release tag tarball I noticed that the tools/create_files_for_hogs.py script is not installed

is this expected.

regards

Eric

EricDeveaud avatar Sep 08 '21 10:09 EricDeveaud

Hi Eric

Thanks for letting me know. No, that wasn't intended, I'll make sure it's included in all future releases.

Best wishes David

davidemms avatar Sep 14 '21 15:09 davidemms

Just to add, you can get them from the current source code release: https://github.com/davidemms/OrthoFinder/releases/download/2.5.4/OrthoFinder_source.tar.gz

davidemms avatar Sep 14 '21 15:09 davidemms

Hi! Stumbled on this thread. I am having difficulty running the create_files_for_hogs from a conda installation. Maybe I am missing something but I can't find it on the conda environment.

I suspect that its because there is no entry point for the script, maybe the solution would be to add it on the setup.py. I'd be happy to do the PR if that is really the issue!

EDIT: PR submitted #853

        'console_scripts': [
            'orthofinder=scripts_of.__main__:main',
            'primary_transcript=tools.primary_transcript:main',
            'make_ultrametric=tools.make_ultrametric:main',
            'convert_orthofinder_tree_ids=tools.convert_orthofinder_tree_ids:main',
            'create_files_for_hogs=tools.create_files_for_hogs:main'
        ],
    },

Matt-BF avatar Aug 09 '23 20:08 Matt-BF