[Python] Snakemake relative path for local libraries

Discussão em 'Python' iniciado por Stack, Maio 16, 2025.

  1. Stack

    Stack Membro Participativo

    I need to use a local python package (not on GitHub/PyPi) in a rule. I want to make include this in my environment.yaml file in the usual way

    - pip:
    - -e relative/path/to/package


    but I keep getting the error file does not exist. I have tried making the path relative to my Snakefile, my root directory, and the .snakemake/conda/ directory.

    I can get it to install using absolute paths but this is not portable.

    What is the correct relative path to use in this situation?

    Continue reading...

Compartilhe esta Página