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

Installing Cyrius using pip for ease of use with other python tools #39

Open
timsanford opened this issue Oct 13, 2023 · 3 comments
Open

Comments

@timsanford
Copy link

Hello,

I ran "!pip install git+https://github.com/Illumina/Cyrius.git" in a cell in my jupyter notebook and received the following output:

Collecting git+https://github.com/Illumina/Cyrius.git
Cloning https://github.com/Illumina/Cyrius.git to /tmp/pip-req-build-atgcxnnp
Running command git clone --filter=blob:none --quiet https://github.com/Illumina/Cyrius.git /tmp/pip-req-build-atgcxnnp
Resolved https://github.com/Illumina/Cyrius.git to commit 9fb1c6d
ERROR: git+https://github.com/Illumina/Cyrius.git does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.

Is there any way that i can install and import Cyrius so that it can be used in my workflow more efficiently? I am working in a cloud-based environment within a research project's platform. Let me know if there is a possible solution. Thank you for your help!

@timsanford
Copy link
Author

Hi, just to update I also tried using conda as shown below and got the following message:

!conda install -c https://github.com/Illumina/Cyrius.git Cyrius

Collecting package metadata (current_repodata.json): failed
NotWritableError: The current user does not have write permissions to a required path.
path: /opt/conda/pkgs/cache/69d154c7.json
uid: 1000
gid: 100
If you feel that permissions on this path are set incorrectly, you can manually
change them by executing
$ sudo chown 1000:100 /opt/conda/pkgs/cache/69d154c7.json
In general, it's not advisable to use 'sudo conda'.

Any suggestions on installing Cyrius tools? Thank you for the help.

@xiao-chen-xc
Copy link
Contributor

xiao-chen-xc commented Oct 14, 2023

Hi @timsanford, you can now find Cyrius on pip.
pip install cyrius
And it can be run with the command cyrius -h. The parameters are the same as listed in README.

@timsanford
Copy link
Author

Thank you for your help. In order to run our analysis, we need to run a dsub job that uses cyrius. Do you know of any docker images that have cyrius pre-installed in order to use them for the dsub job? We are not able to run pip within the environment we are using, so have to proceed this way. Thanks again.

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