cool-seq-tool 0.5.0__tar.gz → 0.5.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/.github/workflows/checks.yaml +6 -6
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/.github/workflows/release.yml +3 -3
- cool_seq_tool-0.5.1/.github/workflows/stale.yaml +27 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/.pre-commit-config.yaml +5 -1
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/PKG-INFO +7 -7
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/docs/source/contributing.rst +1 -1
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/docs/source/install.rst +1 -1
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/pyproject.toml +2 -2
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool/mappers/exon_genomic_coords.py +1 -1
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool.egg-info/PKG-INFO +7 -7
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool.egg-info/requires.txt +2 -2
- cool_seq_tool-0.5.0/.github/workflows/stale.yaml +0 -28
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/.coveragerc +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/.github/ISSUE_TEMPLATE/bug-report.yaml +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/.github/ISSUE_TEMPLATE/feature-request.yaml +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/.github/workflows/close_issue.yml +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/.github/workflows/pr-priority-label.yaml +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/.gitignore +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/.readthedocs.yaml +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/CITATION.cff +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/LICENSE +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/README.md +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/docs/Makefile +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/docs/make.bat +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/docs/source/_static/img/biomart.png +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/docs/source/_templates/module_summary.rst +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/docs/source/changelog.rst +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/docs/source/conf.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/docs/source/index.rst +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/docs/source/license.rst +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/docs/source/reference/index.rst +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/docs/source/transcript_selection.rst +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/docs/source/usage.rst +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/setup.cfg +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool/__init__.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool/app.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool/handlers/__init__.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool/handlers/seqrepo_access.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool/mappers/__init__.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool/mappers/alignment.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool/mappers/liftover.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool/mappers/mane_transcript.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool/resources/__init__.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool/resources/data_files.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool/resources/status.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool/resources/transcript_mapping.tsv +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool/schemas.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool/sources/__init__.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool/sources/mane_transcript_mappings.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool/sources/transcript_mappings.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool/sources/uta_database.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool/utils.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool.egg-info/SOURCES.txt +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool.egg-info/dependency_links.txt +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool.egg-info/top_level.txt +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/tests/conftest.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/tests/handlers/test_seqrepo_access.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/tests/mappers/test_alignment.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/tests/mappers/test_exon_genomic_coords.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/tests/mappers/test_liftover.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/tests/mappers/test_mane_transcript.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/tests/sources/test_mane_transcript_mappings.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/tests/sources/test_uta_database.py +0 -0
- {cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/tests/test_utils.py +0 -0
@@ -9,10 +9,10 @@ jobs:
|
|
9
9
|
matrix:
|
10
10
|
python-version: ["3.10", "3.11", "3.12"]
|
11
11
|
steps:
|
12
|
-
- uses: actions/checkout@
|
12
|
+
- uses: actions/checkout@v4
|
13
13
|
|
14
14
|
- name: Set up Python ${{ matrix.python-version }}
|
15
|
-
uses: actions/setup-python@
|
15
|
+
uses: actions/setup-python@v5
|
16
16
|
with:
|
17
17
|
python-version: ${{ matrix.python-version }}
|
18
18
|
|
@@ -23,10 +23,10 @@ jobs:
|
|
23
23
|
lint:
|
24
24
|
runs-on: ubuntu-latest
|
25
25
|
steps:
|
26
|
-
- uses: actions/checkout@
|
26
|
+
- uses: actions/checkout@v4
|
27
27
|
|
28
28
|
- name: Set up Python
|
29
|
-
uses: actions/setup-python@
|
29
|
+
uses: actions/setup-python@v5
|
30
30
|
with:
|
31
31
|
python-version: 3.11
|
32
32
|
|
@@ -41,10 +41,10 @@ jobs:
|
|
41
41
|
env:
|
42
42
|
SPHINX_GITHUB_CHANGELOG_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
43
43
|
steps:
|
44
|
-
- uses: actions/checkout@
|
44
|
+
- uses: actions/checkout@v4
|
45
45
|
|
46
46
|
- name: Set up Python
|
47
|
-
uses: actions/setup-python@
|
47
|
+
uses: actions/setup-python@v5
|
48
48
|
with:
|
49
49
|
python-version: 3.11
|
50
50
|
|
@@ -13,7 +13,7 @@ jobs:
|
|
13
13
|
steps:
|
14
14
|
- uses: actions/checkout@v4
|
15
15
|
- name: Set up Python
|
16
|
-
uses: actions/setup-python@
|
16
|
+
uses: actions/setup-python@v5
|
17
17
|
with:
|
18
18
|
python-version: "3.x"
|
19
19
|
- name: Install pypa/build
|
@@ -25,7 +25,7 @@ jobs:
|
|
25
25
|
- name: Build a binary wheel and a source tarball
|
26
26
|
run: python3 -m build
|
27
27
|
- name: Store the distribution packages
|
28
|
-
uses: actions/upload-artifact@
|
28
|
+
uses: actions/upload-artifact@v4
|
29
29
|
with:
|
30
30
|
name: python-package-distributions
|
31
31
|
path: dist/
|
@@ -42,7 +42,7 @@ jobs:
|
|
42
42
|
id-token: write # IMPORTANT: mandatory for trusted publishing
|
43
43
|
steps:
|
44
44
|
- name: Download all the dists
|
45
|
-
uses: actions/download-artifact@
|
45
|
+
uses: actions/download-artifact@v4
|
46
46
|
with:
|
47
47
|
name: python-package-distributions
|
48
48
|
path: dist/
|
@@ -0,0 +1,27 @@
|
|
1
|
+
name: "Stalebot for issues and PRs"
|
2
|
+
|
3
|
+
on:
|
4
|
+
schedule:
|
5
|
+
- cron: "30 13 * * 1-5"
|
6
|
+
|
7
|
+
jobs:
|
8
|
+
stale-high-priority:
|
9
|
+
uses: genomicmedlab/software-templates/.github/workflows/reusable-stale.yaml@main
|
10
|
+
with:
|
11
|
+
days-before-issue-stale: 90
|
12
|
+
days-before-pr-stale: 1
|
13
|
+
labels: priority:high
|
14
|
+
|
15
|
+
stale-medium-priority:
|
16
|
+
uses: genomicmedlab/software-templates/.github/workflows/reusable-stale.yaml@main
|
17
|
+
with:
|
18
|
+
days-before-issue-stale: 135
|
19
|
+
days-before-pr-stale: 3
|
20
|
+
labels: priority:medium
|
21
|
+
|
22
|
+
stale-low-priority:
|
23
|
+
uses: genomicmedlab/software-templates/.github/workflows/reusable-stale.yaml@main
|
24
|
+
with:
|
25
|
+
days-before-issue-stale: 180
|
26
|
+
days-before-pr-stale: 7
|
27
|
+
labels: priority:low
|
@@ -1,14 +1,18 @@
|
|
1
1
|
repos:
|
2
2
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
3
|
-
rev:
|
3
|
+
rev: v4.6.0 # pre-commit-hooks version
|
4
4
|
hooks:
|
5
5
|
- id: check-added-large-files
|
6
6
|
- id: detect-private-key
|
7
7
|
- id: trailing-whitespace
|
8
8
|
- id: end-of-file-fixer
|
9
|
+
- id: check-merge-conflict
|
10
|
+
- id: detect-aws-credentials
|
11
|
+
args: [ --allow-missing-credentials ]
|
9
12
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
10
13
|
rev: v0.5.0
|
11
14
|
hooks:
|
12
15
|
- id: ruff-format
|
13
16
|
- id: ruff
|
14
17
|
args: [ --fix, --exit-non-zero-on-fix ]
|
18
|
+
minimum_pre_commit_version: 3.7.1
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: cool_seq_tool
|
3
|
-
Version: 0.5.
|
3
|
+
Version: 0.5.1
|
4
4
|
Summary: Common Operation on Lots of Sequences Tool
|
5
5
|
Author: Kori Kuzma, James Stevenson, Katie Stahl, Alex Wagner
|
6
6
|
License: MIT License
|
@@ -56,16 +56,16 @@ Requires-Dist: ga4gh.vrs
|
|
56
56
|
Requires-Dist: wags-tails~=0.1.3
|
57
57
|
Requires-Dist: bioutils
|
58
58
|
Provides-Extra: dev
|
59
|
-
Requires-Dist: pre-commit; extra == "dev"
|
59
|
+
Requires-Dist: pre-commit>=3.7.1; extra == "dev"
|
60
60
|
Requires-Dist: ipython; extra == "dev"
|
61
61
|
Requires-Dist: ipykernel; extra == "dev"
|
62
62
|
Requires-Dist: psycopg2-binary; extra == "dev"
|
63
63
|
Requires-Dist: ruff==0.5.0; extra == "dev"
|
64
|
-
Provides-Extra:
|
65
|
-
Requires-Dist: pytest; extra == "
|
66
|
-
Requires-Dist: pytest-cov; extra == "
|
67
|
-
Requires-Dist: pytest-asyncio==0.18.3; extra == "
|
68
|
-
Requires-Dist: mock; extra == "
|
64
|
+
Provides-Extra: test
|
65
|
+
Requires-Dist: pytest; extra == "test"
|
66
|
+
Requires-Dist: pytest-cov; extra == "test"
|
67
|
+
Requires-Dist: pytest-asyncio==0.18.3; extra == "test"
|
68
|
+
Requires-Dist: mock; extra == "test"
|
69
69
|
Provides-Extra: docs
|
70
70
|
Requires-Dist: sphinx==6.1.3; extra == "docs"
|
71
71
|
Requires-Dist: sphinx-autodoc-typehints==1.22.0; extra == "docs"
|
@@ -17,7 +17,7 @@ Create a virtual environment and install :ref:`all dependency groups<dependency-
|
|
17
17
|
|
18
18
|
python3 -m venv venv
|
19
19
|
source venv/bin/activate
|
20
|
-
python3 -m pip install -e ".[dev,
|
20
|
+
python3 -m pip install -e ".[dev,test,docs]"
|
21
21
|
|
22
22
|
We use `pre-commit <https://pre-commit.com/#usage>`_ to run conformance tests before commits. This provides checks for:
|
23
23
|
|
@@ -24,7 +24,7 @@ Install Cool-Seq-Tool from `PyPI <https://pypi.org/project/cool-seq-tool/>`_:
|
|
24
24
|
Cool-Seq-Tool provides extra dependency groups for development and testing purposes. Most users won't need to install them.
|
25
25
|
|
26
26
|
* ``dev`` includes packages for linting and performing other kinds of quality checks
|
27
|
-
* ``
|
27
|
+
* ``test`` includes packages for running tests
|
28
28
|
* ``docs`` includes packages for writing and building documentation
|
29
29
|
|
30
30
|
Set up UTA
|
@@ -39,8 +39,8 @@ dependencies = [
|
|
39
39
|
dynamic = ["version"]
|
40
40
|
|
41
41
|
[project.optional-dependencies]
|
42
|
-
dev = ["pre-commit", "ipython", "ipykernel", "psycopg2-binary", "ruff==0.5.0"]
|
43
|
-
|
42
|
+
dev = ["pre-commit>=3.7.1", "ipython", "ipykernel", "psycopg2-binary", "ruff==0.5.0"]
|
43
|
+
test = ["pytest", "pytest-cov", "pytest-asyncio==0.18.3", "mock"]
|
44
44
|
docs = [
|
45
45
|
"sphinx==6.1.3",
|
46
46
|
"sphinx-autodoc-typehints==1.22.0",
|
{cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool/mappers/exon_genomic_coords.py
RENAMED
@@ -962,7 +962,7 @@ class ExonGenomicCoordsMapper:
|
|
962
962
|
exon = tx_exons_genomic_coords[i]
|
963
963
|
next_exon = tx_exons_genomic_coords[i + 1]
|
964
964
|
bp = start if start else end
|
965
|
-
if strand ==
|
965
|
+
if strand == Strand.POSITIVE:
|
966
966
|
lte_exon = exon
|
967
967
|
gte_exon = next_exon
|
968
968
|
else:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: cool_seq_tool
|
3
|
-
Version: 0.5.
|
3
|
+
Version: 0.5.1
|
4
4
|
Summary: Common Operation on Lots of Sequences Tool
|
5
5
|
Author: Kori Kuzma, James Stevenson, Katie Stahl, Alex Wagner
|
6
6
|
License: MIT License
|
@@ -56,16 +56,16 @@ Requires-Dist: ga4gh.vrs
|
|
56
56
|
Requires-Dist: wags-tails~=0.1.3
|
57
57
|
Requires-Dist: bioutils
|
58
58
|
Provides-Extra: dev
|
59
|
-
Requires-Dist: pre-commit; extra == "dev"
|
59
|
+
Requires-Dist: pre-commit>=3.7.1; extra == "dev"
|
60
60
|
Requires-Dist: ipython; extra == "dev"
|
61
61
|
Requires-Dist: ipykernel; extra == "dev"
|
62
62
|
Requires-Dist: psycopg2-binary; extra == "dev"
|
63
63
|
Requires-Dist: ruff==0.5.0; extra == "dev"
|
64
|
-
Provides-Extra:
|
65
|
-
Requires-Dist: pytest; extra == "
|
66
|
-
Requires-Dist: pytest-cov; extra == "
|
67
|
-
Requires-Dist: pytest-asyncio==0.18.3; extra == "
|
68
|
-
Requires-Dist: mock; extra == "
|
64
|
+
Provides-Extra: test
|
65
|
+
Requires-Dist: pytest; extra == "test"
|
66
|
+
Requires-Dist: pytest-cov; extra == "test"
|
67
|
+
Requires-Dist: pytest-asyncio==0.18.3; extra == "test"
|
68
|
+
Requires-Dist: mock; extra == "test"
|
69
69
|
Provides-Extra: docs
|
70
70
|
Requires-Dist: sphinx==6.1.3; extra == "docs"
|
71
71
|
Requires-Dist: sphinx-autodoc-typehints==1.22.0; extra == "docs"
|
@@ -11,7 +11,7 @@ wags-tails~=0.1.3
|
|
11
11
|
bioutils
|
12
12
|
|
13
13
|
[dev]
|
14
|
-
pre-commit
|
14
|
+
pre-commit>=3.7.1
|
15
15
|
ipython
|
16
16
|
ipykernel
|
17
17
|
psycopg2-binary
|
@@ -26,7 +26,7 @@ sphinxext-opengraph==0.8.2
|
|
26
26
|
furo==2023.3.27
|
27
27
|
sphinx-github-changelog==1.2.1
|
28
28
|
|
29
|
-
[
|
29
|
+
[test]
|
30
30
|
pytest
|
31
31
|
pytest-cov
|
32
32
|
pytest-asyncio==0.18.3
|
@@ -1,28 +0,0 @@
|
|
1
|
-
name: "Stalebot for issues and PRs"
|
2
|
-
|
3
|
-
on:
|
4
|
-
schedule:
|
5
|
-
- cron: "30 13 * * *"
|
6
|
-
|
7
|
-
jobs:
|
8
|
-
stale:
|
9
|
-
runs-on: ubuntu-latest
|
10
|
-
permissions:
|
11
|
-
issues: write
|
12
|
-
pull-requests: write
|
13
|
-
steps:
|
14
|
-
- uses: actions/stale@v9
|
15
|
-
with:
|
16
|
-
remove-stale-when-updated: true
|
17
|
-
days-before-close: 14
|
18
|
-
|
19
|
-
days-before-issue-stale: 60
|
20
|
-
stale-issue-label: stale
|
21
|
-
stale-issue-message: "This issue is stale because it has been open 45 days with no activity. Please make a comment for triaging or closing the issue."
|
22
|
-
close-issue-label: closed-by-stale
|
23
|
-
close-issue-message: "This issue was closed because it has been stalled for 14 days with no activity."
|
24
|
-
|
25
|
-
days-before-pr-stale: 7
|
26
|
-
stale-pr-label: stale
|
27
|
-
stale-pr-message: "This PR is stale because it has been open 7 days with no activity. Please review this PR."
|
28
|
-
days-before-pr-close: -1
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool/resources/transcript_mapping.tsv
RENAMED
File without changes
|
File without changes
|
File without changes
|
{cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool/sources/mane_transcript_mappings.py
RENAMED
File without changes
|
{cool_seq_tool-0.5.0 → cool_seq_tool-0.5.1}/src/cool_seq_tool/sources/transcript_mappings.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|