-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* reformatted cbioportal pipeline for nextflow compatibility * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * minor in progress changes in process_cbioportal.nf * added shebang to process_cbioportal.py * updated cbioportal scripts to conform to NF ETL pipeline * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * interim commit for transform_cbioportal resolved conflicts in cbioportal.py * added transform_cbioportal CLI code * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * .gitignore and pyproject.toml changes for transform_cbioportal CLI changes * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * updated NF README * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * updated cli and pfam scripts * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * refactored cbioportal as class instead of functions * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * separated the extraction of the kinase annotations from the cbioportal transform CLI * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * added poetry to CI.yaml * tried poetry CI.yaml config alteration from python-poetry/poetry#2629 * python-poetry/poetry#5490 * unmarked proces_cbioportal.nf as an executable * reverting by removing SETUPTOOLS_USE_DISTUTILS=stdlib in CI.yaml * commenting out poetry config virtualenvs.create false * https://github.com/orgs/python-poetry/discussions/4943 * removed poetry pytest and just running pytest; last fix resolved installation errors * trying poetry run pytest * reverting back to using conda instead of poetry for CI testing - will likely need to update test_env.yaml in devtools * added pandas and bravado to test_env.yaml, commented out install poetry in CI.yaml * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * rebased test_env.yaml * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * added beautifulsoup4 and numpy to test_env.yaml --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
a300939
commit f00c721
Showing
15 changed files
with
542 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,9 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
# - name: Install poetry | ||
# run: pipx install poetry | ||
|
||
- name: Additional info about the build | ||
shell: bash | ||
run: | | ||
|
@@ -42,6 +45,7 @@ jobs: | |
environment-name: test | ||
# conda-forge is the default channel now and does not need to be specified | ||
channels: conda-forge,defaults | ||
# cache: 'poetry' | ||
extra-specs: | | ||
python=${{ matrix.python-version }} | ||
|
@@ -50,13 +54,18 @@ jobs: | |
shell: bash -l {0} | ||
run: | | ||
python -m pip install . --no-deps | ||
# python -m pip install poetry | ||
# python -m venv .venv --copies | ||
# poetry config virtualenvs.create false | ||
# poetry install | ||
micromamba list | ||
- name: Run tests | ||
# conda setup requires this special shell | ||
shell: bash -l {0} | ||
run: | | ||
pytest -v --cov=missense_kinase_toolkit --cov-report=xml --color=yes tests/ | ||
# poetry run pytest -v --cov=missense_kinase_toolkit --cov-report=xml --color=yes tests/ | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,33 @@ | ||
# readthedocs.yml | ||
# .readthedocs.yaml | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
# taken from https://education.molssi.org/python-package-best-practices/10-documentation.html#read-the-docs | ||
|
||
# Required | ||
version: 2 | ||
|
||
# Set the OS, Python version and other tools you might need | ||
build: | ||
image: latest | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.11" | ||
# You can also specify other tool versions: | ||
# nodejs: "19" | ||
# rust: "1.64" | ||
# golang: "1.19" | ||
|
||
python: | ||
version: 3.8 | ||
install: | ||
- method: pip | ||
path: . | ||
# Build documentation in the "docs/" directory with Sphinx | ||
sphinx: | ||
configuration: docs/conf.py | ||
|
||
# Optionally build your docs in additional formats such as PDF and ePub | ||
# formats: | ||
# - epub | ||
|
||
conda: | ||
environment: docs/requirements.yaml | ||
# Optional but recommended, declare the Python requirements required | ||
# to build your documentation | ||
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html | ||
python: | ||
install: | ||
- requirements: docs/requirements.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
"""An ETL pipeline package to facilitate structure-based ML for missense human kinase property prediction""" | ||
|
||
from missense_kinase_toolkit import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.