Skip to content

Commit

Permalink
Merge pull request #87 from kcleal/dysgu_dev
Browse files Browse the repository at this point in the history
v1.6.3
  • Loading branch information
kcleal authored Mar 26, 2024
2 parents f99195f + 83b4d86 commit 57b28c0
Show file tree
Hide file tree
Showing 25 changed files with 3,273 additions and 585 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,23 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Build wheels
uses: pypa/cibuildwheel@v2.16.0
uses: pypa/cibuildwheel@v2.16.5
env:
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8, <3.12"
CIBW_SKIP: "*-win32 *-manylinux_i686 pp* cp311-macosx* *musl* "
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.10" # >=3.8 <3.12
CIBW_SKIP: "*-win32 *-manylinux_i686 pp* *musl* " # cp311-macosx*
CIBW_ARCHS_MACOS: "x86_64 arm64"
CIBW_ARCHS_LINUX: "auto"
CIBW_BEFORE_ALL_MACOS: bash ci/osx-deps
CIBW_BEFORE_ALL_LINUX: bash ci/manylinux-deps
CIBW_BEFORE_BUILD: pip install -r requirements.txt
CIBW_TEST_COMMAND: dysgu test

# ...
# with:
# package-dir: .
# output-dir: wheelhouse
# config-file: "{package}/pyproject.toml"
CIBW_BEFORE_BUILD_MACOS: |
ln -s /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/cpython/longintrepr.h /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11
pip install -r requirements.txt
CIBW_BEFORE_BUILD_LINUX: pip install -r requirements.txt
CIBW_REPAIR_WHEEL_COMMAND_MACOS: delocate-wheel --require-archs x86_64 -w {dest_dir} -v {wheel}
CIBW_TEST_SKIP: "*-macosx_arm64"
CIBW_TEST_REQUIRES: cython click>=8.0 numpy scipy pandas pysam>=0.22.0 networkx>=2.4 scikit-learn>=0.22 sortedcontainers lightgbm
CIBW_TEST_COMMAND: dysgu test --verbose

- uses: actions/upload-artifact@v3
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ dysgu/.DS_Store
docs/build/
docs/source/_templates/
dev
/dysgu/edlib/edlib.cpp
9 changes: 5 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,16 @@ for calling structural variants using paired-end or long read sequencing data. S
⚙️ Installation
---------------

Dysgu requires Python >=3.8 - 3.10 plus htslib and has been tested on linux and MacOS.
Dysgu can be installed via pip using Python 3.10 - 3.12 and has been tested on linux and MacOS.
The list of python packages needed can be found in requirements.txt.
To install::

conda install -c bioconda -c conda-forge dysgu
pip install dysgu

Or, fetch from PyPI::
Or, from conda::

conda install -c bioconda -c conda-forge dysgu

pip install dysgu

To build from source, run the install script: ``bash INSTALL.sh``.

Expand Down
Loading

0 comments on commit 57b28c0

Please sign in to comment.