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

Fix ssw-py issues #4

Merged
merged 2 commits into from
Sep 26, 2022
Merged

Fix ssw-py issues #4

merged 2 commits into from
Sep 26, 2022

Conversation

inumanag
Copy link
Contributor

Hi @rawagiha

Thank you for the indelpost---really nice piece of software!

We are extensively using indelpost in our pharmacogenomics suite Aldy. However, we have received lots of bug reports regarding the ssw-py dependency. ssw-py is quite hard to install, does not support newer Python versions, and is not compatible with ARM/M1 machines.

Here I integrated ssw-py directly into the indelpost tree and cleaned up various build issues with. ARM/M1 is also supported. We are using this version internally for now, and it would be great if you are able to merge it into the master branch.

try:
from Cython.Build import cythonize
from Cython.Distutils import build_ext
except ImportError:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pyproject.toml should take care of these now, I guess

Copy link
Member

@rawagiha rawagiha Sep 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, pyproject.toml does not take care of (hence, doc failling).
If this deleted part is recovered, will it affect your fix?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It won't affect the fix--- please keep it in that case.

from pysam import get_include as pysam_get_include

try:
import numpy
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that numpy is not used during the setup. Removing it as it can occasionally cause issues.

@rawagiha
Copy link
Member

@ inumanag Thank you so much for your contribution. This is really helpful to alleviate the cumbersome installation issue.

@rawagiha rawagiha merged commit 273f0ec into stjude:master Sep 26, 2022
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

Successfully merging this pull request may close these issues.

2 participants