Giter VIP home page Giter VIP logo

Comments (5)

HajkD avatar HajkD commented on August 22, 2024

Hi Jan,

Many thanks for your feedback.

So far, orthologr didn't support the conda path version of Orthofinder2, but assumed that it is installed as system tool accessed via usr/local/bin. I realise that most people will install OF2 via conda, so I now changed the default path to the miniconda path /opt/miniconda3/bin/orthofinder. I just pushed the new version of orthologr and this new feature should be accessible to you now.

Please also make sure you have DIAMOND installed as executable tool (/usr/local/bin).

Does this work for you?

Best wishes,
Hajk

from orthologr.

janstrauss1 avatar janstrauss1 commented on August 22, 2024

Hi Hajk,

Many thanks for your quick response!

Unfortunately, this still doesn't seem to work for me and I get the error:

...
> # run orthofinder2 to infer ortho groups for the specified species
> orthofinder2(proteome_folder = "of_proteomes_longest_sv", comp_cores = 4)
sh: /opt/miniconda3/bin/orthofinder: No such file or directory
Error: It seems like you don't have OrthoFinder2 installed locally on your machine or the PATH variable to the OrthoFinder2 program is not set correctly.

I'm in a macOS environment and my path to OF2 appears to be /Users/janstrauss/miniconda3/bin/orthofinder and /Users/janstrauss/miniconda3/bin/diamond for DIAMOND.

Is there maybe a way to set a custom path in orthologr as for the orthologs() function?

Many thanks in advance for your help!

Jan

from orthologr.

HajkD avatar HajkD commented on August 22, 2024

Hi Jan,

Thank you very much for coming back to me and for this great feature request.

I now added a new path argument to orthofinder2() that allows you to specify your own path.

The only problem that I still see is that you cannot pass the diamond path to the orthofinder command line call.
So far, orthofinder assumes that DIAMOND is installed in the classic usr/local/bin environment and not in the conda/miniconda path. See also details here: davidemms/OrthoFinder#406 .

I will see if I can find a way around this so that users can also set the diamond path in orthofinder2(), but would be grateful if you could also share some ideas on how to approach this. I would then implement whatever is required.

I hope this helps?

Many thanks,
Hajk

from orthologr.

mcatto avatar mcatto commented on August 22, 2024

Hi, when I try to set the dNdS functions param ortho_detection to "Orthofinder2" I get the error "Error: Please choose a orthology detection method that is supported by this function." Is there something else I should be doing? Or is this not included in the dNdS function?

from orthologr.

HajkD avatar HajkD commented on August 22, 2024

Hi @mcatto

Thank you for your question. Unfortunately, dNdS with orthogroups is not supported yet. It is on my long ToDo list, but it may require a while until this feature is available.

I hope you find pairwise dNdS useful anyway.

Cheers,
Hajk

from orthologr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.