cool-seq-tool 0.12.0__tar.gz → 0.13.0__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.12.0 → cool_seq_tool-0.13.0}/PKG-INFO +1 -1
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/docs/source/install.rst +5 -5
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/docs/source/usage.rst +1 -1
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool/sources/uta_database.py +1 -1
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool.egg-info/PKG-INFO +1 -1
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/.coveragerc +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/.github/ISSUE_TEMPLATE/bug-report.yaml +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/.github/ISSUE_TEMPLATE/feature-request.yaml +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/.github/workflows/checks.yaml +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/.github/workflows/pr-priority-label.yaml +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/.github/workflows/release.yml +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/.github/workflows/stale.yaml +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/.gitignore +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/.pre-commit-config.yaml +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/.readthedocs.yaml +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/CITATION.cff +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/LICENSE +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/README.md +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/docs/Makefile +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/docs/make.bat +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/docs/source/_static/img/biomart.png +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/docs/source/_templates/module_summary.rst +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/docs/source/changelog.rst +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/docs/source/conf.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/docs/source/contributing.rst +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/docs/source/index.rst +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/docs/source/license.rst +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/docs/source/reference/index.rst +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/docs/source/transcript_selection.rst +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/pyproject.toml +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/setup.cfg +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool/__init__.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool/app.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool/handlers/__init__.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool/handlers/seqrepo_access.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool/mappers/__init__.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool/mappers/alignment.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool/mappers/exon_genomic_coords.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool/mappers/liftover.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool/mappers/mane_transcript.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool/resources/__init__.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool/resources/data_files.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool/resources/status.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool/resources/transcript_mapping.tsv +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool/schemas.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool/sources/__init__.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool/sources/mane_transcript_mappings.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool/sources/transcript_mappings.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool/utils.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool.egg-info/SOURCES.txt +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool.egg-info/dependency_links.txt +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool.egg-info/requires.txt +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool.egg-info/top_level.txt +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/tests/conftest.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/tests/handlers/test_seqrepo_access.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/tests/mappers/test_alignment.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/tests/mappers/test_exon_genomic_coords.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/tests/mappers/test_liftover.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/tests/mappers/test_mane_transcript.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/tests/sources/test_mane_transcript_mappings.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/tests/sources/test_uta_database.py +0 -0
- {cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/tests/test_utils.py +0 -0
@@ -40,11 +40,11 @@ Cool-Seq-Tool requires an available instance of the Universal Transcript Archive
|
|
40
40
|
createuser -U postgres anonymous
|
41
41
|
createdb -U postgres -O uta_admin uta
|
42
42
|
|
43
|
-
export UTA_VERSION=
|
43
|
+
export UTA_VERSION=uta_20241220.pgd.gz # most recent as of 2025/03/10
|
44
44
|
curl -O https://dl.biocommons.org/uta/$UTA_VERSION
|
45
45
|
gzip -cdq ${UTA_VERSION} | psql -h localhost -U uta_admin --echo-errors --single-transaction -v ON_ERROR_STOP=1 -d uta -p 5432
|
46
46
|
|
47
|
-
By default, Cool-Seq-Tool expects to connect to the UTA database via a PostgreSQL connection served local on port 5432, under the PostgreSQL username ``uta_admin`` and the schema ``
|
47
|
+
By default, Cool-Seq-Tool expects to connect to the UTA database via a PostgreSQL connection served local on port 5432, under the PostgreSQL username ``uta_admin`` and the schema ``uta_20241220``.
|
48
48
|
|
49
49
|
Set up SeqRepo
|
50
50
|
--------------
|
@@ -56,20 +56,20 @@ Cool-Seq-Tool requires access to `SeqRepo <https://github.com/biocommons/biocomm
|
|
56
56
|
.. code-block::
|
57
57
|
|
58
58
|
pip install seqrepo
|
59
|
-
export SEQREPO_VERSION=2024-
|
59
|
+
export SEQREPO_VERSION=2024-12-20
|
60
60
|
sudo mkdir /usr/local/share/seqrepo
|
61
61
|
sudo chown $USER /usr/local/share/seqrepo
|
62
62
|
seqrepo pull -i $SEQREPO_VERSION
|
63
63
|
|
64
64
|
.. note::
|
65
65
|
|
66
|
-
Our lab typically uses the latest SeqRepo release, which is ``2024-
|
66
|
+
Our lab typically uses the latest SeqRepo release, which is ``2024-12-20`` as of this commit. To check for the presence of newer snapshots, use the ``seqrepo list-remote-instances`` CLI command.
|
67
67
|
|
68
68
|
While this should no longer occur with the latest SeqRepo release, some users in the past have reported experiencing the following error:
|
69
69
|
|
70
70
|
.. code-block::
|
71
71
|
|
72
|
-
PermissionError: [Error 13] Permission denied: '/usr/local/share/seqrepo/2024-
|
72
|
+
PermissionError: [Error 13] Permission denied: '/usr/local/share/seqrepo/2024-12-20._fkuefgd' -> '/usr/local/share/seqrepo/2024-12-20'
|
73
73
|
|
74
74
|
Try moving data manually with ``sudo``:
|
75
75
|
|
@@ -80,7 +80,7 @@ Individual classes will accept arguments upon initialization to set parameters r
|
|
80
80
|
* - ``SEQREPO_ROOT_DIR``
|
81
81
|
- Path to SeqRepo directory (i.e. contains ``aliases.sqlite3`` database file, and ``sequences`` directory). Used by :py:class:`SeqRepoAccess <cool_seq_tool.handlers.seqrepo_access.SeqRepoAccess>`. If not defined, defaults to ``/usr/local/share/seqrepo/latest``.
|
82
82
|
* - ``UTA_DB_URL``
|
83
|
-
- A `libpq connection string <https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING>`_, i.e. of the form ``postgresql://<user>:<password>@<host>:<port>/<database>/<schema>``, used by the :py:class:`UtaDatabase <cool_seq_tool.sources.uta_database.UtaDatabase>` class. By default, it is set to ``postgresql://uta_admin:uta@localhost:5432/uta/
|
83
|
+
- A `libpq connection string <https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING>`_, i.e. of the form ``postgresql://<user>:<password>@<host>:<port>/<database>/<schema>``, used by the :py:class:`UtaDatabase <cool_seq_tool.sources.uta_database.UtaDatabase>` class. By default, it is set to ``postgresql://uta_admin:uta@localhost:5432/uta/uta_20241220``.
|
84
84
|
* - ``LIFTOVER_CHAIN_37_TO_38``
|
85
85
|
- A path to a `chainfile <https://genome.ucsc.edu/goldenPath/help/chain.html>`_ for lifting from GRCh37 to GRCh38. Used by the :py:class:`LiftOver <cool_seq_tool.mappers.liftover.LiftOver>` class as input to `agct <https://pypi.org/project/agct/>`_. If not provided, agct will fetch it automatically from UCSC.
|
86
86
|
* - ``LIFTOVER_CHAIN_38_TO_37``
|
@@ -27,7 +27,7 @@ from cool_seq_tool.schemas import (
|
|
27
27
|
UTADatabaseType = TypeVar("UTADatabaseType", bound="UtaDatabase")
|
28
28
|
|
29
29
|
UTA_DB_URL = environ.get(
|
30
|
-
"UTA_DB_URL", "postgresql://uta_admin:uta@localhost:5432/uta/
|
30
|
+
"UTA_DB_URL", "postgresql://uta_admin:uta@localhost:5432/uta/uta_20241220"
|
31
31
|
)
|
32
32
|
|
33
33
|
_logger = logging.getLogger(__name__)
|
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.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool/mappers/exon_genomic_coords.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool/resources/transcript_mapping.tsv
RENAMED
File without changes
|
File without changes
|
File without changes
|
{cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool/sources/mane_transcript_mappings.py
RENAMED
File without changes
|
{cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool/sources/transcript_mappings.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/src/cool_seq_tool.egg-info/dependency_links.txt
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
|
{cool_seq_tool-0.12.0 → cool_seq_tool-0.13.0}/tests/sources/test_mane_transcript_mappings.py
RENAMED
File without changes
|
File without changes
|
File without changes
|