cool-seq-tool 0.15.0__tar.gz → 0.15.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.
Files changed (65) hide show
  1. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/PKG-INFO +2 -2
  2. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/pyproject.toml +1 -1
  3. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/mappers/liftover.py +8 -7
  4. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/resources/status.py +2 -2
  5. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool.egg-info/PKG-INFO +2 -2
  6. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool.egg-info/requires.txt +1 -1
  7. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/.coveragerc +0 -0
  8. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/.github/CODEOWNERS +0 -0
  9. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/.github/ISSUE_TEMPLATE/bug-report.yaml +0 -0
  10. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/.github/ISSUE_TEMPLATE/feature-request.yaml +0 -0
  11. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/.github/workflows/checks.yaml +0 -0
  12. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/.github/workflows/pr-priority-label.yaml +0 -0
  13. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/.github/workflows/release.yml +0 -0
  14. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/.github/workflows/stale.yaml +0 -0
  15. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/.gitignore +0 -0
  16. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/.pre-commit-config.yaml +0 -0
  17. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/.readthedocs.yaml +0 -0
  18. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/CITATION.cff +0 -0
  19. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/LICENSE +0 -0
  20. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/README.md +0 -0
  21. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/Makefile +0 -0
  22. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/make.bat +0 -0
  23. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/source/_static/img/biomart.png +0 -0
  24. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/source/_templates/module_summary.rst +0 -0
  25. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/source/changelog.rst +0 -0
  26. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/source/conf.py +0 -0
  27. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/source/contributing.rst +0 -0
  28. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/source/index.rst +0 -0
  29. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/source/install.rst +0 -0
  30. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/source/license.rst +0 -0
  31. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/source/reference/index.rst +0 -0
  32. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/source/transcript_selection.rst +0 -0
  33. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/source/usage.rst +0 -0
  34. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/setup.cfg +0 -0
  35. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/__init__.py +0 -0
  36. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/app.py +0 -0
  37. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/handlers/__init__.py +0 -0
  38. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/handlers/seqrepo_access.py +0 -0
  39. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/mappers/__init__.py +0 -0
  40. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/mappers/alignment.py +0 -0
  41. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/mappers/exon_genomic_coords.py +0 -0
  42. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/mappers/feature_overlap.py +0 -0
  43. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/mappers/mane_transcript.py +0 -0
  44. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/resources/__init__.py +0 -0
  45. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/resources/data_files.py +0 -0
  46. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/resources/transcript_mapping.tsv +0 -0
  47. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/schemas.py +0 -0
  48. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/sources/__init__.py +0 -0
  49. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/sources/mane_transcript_mappings.py +0 -0
  50. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/sources/transcript_mappings.py +0 -0
  51. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/sources/uta_database.py +0 -0
  52. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/utils.py +0 -0
  53. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool.egg-info/SOURCES.txt +0 -0
  54. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool.egg-info/dependency_links.txt +0 -0
  55. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool.egg-info/top_level.txt +0 -0
  56. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/tests/conftest.py +0 -0
  57. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/tests/handlers/test_feature_overlap.py +0 -0
  58. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/tests/handlers/test_seqrepo_access.py +0 -0
  59. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/tests/mappers/test_alignment.py +0 -0
  60. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/tests/mappers/test_exon_genomic_coords.py +0 -0
  61. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/tests/mappers/test_liftover.py +0 -0
  62. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/tests/mappers/test_mane_transcript.py +0 -0
  63. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/tests/sources/test_mane_transcript_mappings.py +0 -0
  64. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/tests/sources/test_uta_database.py +0 -0
  65. {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cool_seq_tool
3
- Version: 0.15.0
3
+ Version: 0.15.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
@@ -46,7 +46,7 @@ Description-Content-Type: text/markdown
46
46
  License-File: LICENSE
47
47
  Requires-Dist: asyncpg
48
48
  Requires-Dist: boto3
49
- Requires-Dist: agct>=0.1.0-dev1
49
+ Requires-Dist: agct>=0.2.0rc1
50
50
  Requires-Dist: polars~=1.0
51
51
  Requires-Dist: biocommons.seqrepo
52
52
  Requires-Dist: pydantic<3.0,>=2.0
@@ -26,7 +26,7 @@ license = {file = "LICENSE"}
26
26
  dependencies = [
27
27
  "asyncpg",
28
28
  "boto3",
29
- "agct >= 0.1.0-dev1",
29
+ "agct >= 0.2.0rc1",
30
30
  "polars ~= 1.0",
31
31
  "biocommons.seqrepo",
32
32
  "pydantic >=2.0,<3.0",
@@ -6,7 +6,8 @@ Currently only supports GRCh37 <-> GRCh38
6
6
  import logging
7
7
  from os import environ
8
8
 
9
- from agct import Converter, Genome
9
+ from agct import Assembly as AgctAssembly
10
+ from agct import Converter
10
11
 
11
12
  from cool_seq_tool.schemas import Assembly
12
13
  from cool_seq_tool.utils import process_chromosome_input
@@ -43,13 +44,13 @@ class LiftOver:
43
44
  """
44
45
  self.from_37_to_38 = Converter(
45
46
  chainfile=chain_file_37_to_38 or LIFTOVER_CHAIN_37_TO_38,
46
- from_db=Genome.HG19,
47
- to_db=Genome.HG38,
47
+ from_assembly=AgctAssembly.HG19,
48
+ to_assembly=AgctAssembly.HG38,
48
49
  )
49
50
  self.from_38_to_37 = Converter(
50
51
  chainfile=chain_file_38_to_37 or LIFTOVER_CHAIN_38_TO_37,
51
- from_db=Genome.HG38,
52
- to_db=Genome.HG19,
52
+ from_assembly=AgctAssembly.HG38,
53
+ to_assembly=AgctAssembly.HG19,
53
54
  )
54
55
 
55
56
  def get_liftover(
@@ -77,9 +78,9 @@ class LiftOver:
77
78
  """
78
79
  chromosome = process_chromosome_input(chromosome, "LiftOver.get_liftover()")
79
80
  if liftover_to_assembly == Assembly.GRCH38:
80
- liftover = self.from_37_to_38.convert_coordinate(chromosome, pos)
81
+ liftover = self.from_37_to_38.convert_coordinate(chromosome, pos, pos)
81
82
  elif liftover_to_assembly == Assembly.GRCH37:
82
- liftover = self.from_38_to_37.convert_coordinate(chromosome, pos)
83
+ liftover = self.from_38_to_37.convert_coordinate(chromosome, pos, pos)
83
84
  else:
84
85
  _logger.warning("%s assembly not supported", liftover_to_assembly)
85
86
  liftover = None
@@ -114,9 +114,9 @@ async def check_status(
114
114
  chain_file_38_to_37=chain_file_38_to_37,
115
115
  )
116
116
  except (FileNotFoundError, ChainfileError):
117
- _logger.exception("agct converter setup failed")
117
+ _logger.exception("`agct` converter setup failed")
118
118
  except Exception as e:
119
- _logger.critical("Encountered unexpected error setting up agct: %s", e)
119
+ _logger.critical("Encountered unexpected error setting up `agct`: %s", e)
120
120
  else:
121
121
  status["liftover"] = True
122
122
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cool_seq_tool
3
- Version: 0.15.0
3
+ Version: 0.15.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
@@ -46,7 +46,7 @@ Description-Content-Type: text/markdown
46
46
  License-File: LICENSE
47
47
  Requires-Dist: asyncpg
48
48
  Requires-Dist: boto3
49
- Requires-Dist: agct>=0.1.0-dev1
49
+ Requires-Dist: agct>=0.2.0rc1
50
50
  Requires-Dist: polars~=1.0
51
51
  Requires-Dist: biocommons.seqrepo
52
52
  Requires-Dist: pydantic<3.0,>=2.0
@@ -1,6 +1,6 @@
1
1
  asyncpg
2
2
  boto3
3
- agct>=0.1.0-dev1
3
+ agct>=0.2.0rc1
4
4
  polars~=1.0
5
5
  biocommons.seqrepo
6
6
  pydantic<3.0,>=2.0
File without changes
File without changes
File without changes