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.
- {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/PKG-INFO +2 -2
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/pyproject.toml +1 -1
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/mappers/liftover.py +8 -7
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/resources/status.py +2 -2
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool.egg-info/PKG-INFO +2 -2
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool.egg-info/requires.txt +1 -1
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/.coveragerc +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/.github/CODEOWNERS +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/.github/ISSUE_TEMPLATE/bug-report.yaml +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/.github/ISSUE_TEMPLATE/feature-request.yaml +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/.github/workflows/checks.yaml +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/.github/workflows/pr-priority-label.yaml +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/.github/workflows/release.yml +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/.github/workflows/stale.yaml +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/.gitignore +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/.pre-commit-config.yaml +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/.readthedocs.yaml +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/CITATION.cff +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/LICENSE +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/README.md +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/Makefile +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/make.bat +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/source/_static/img/biomart.png +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/source/_templates/module_summary.rst +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/source/changelog.rst +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/source/conf.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/source/contributing.rst +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/source/index.rst +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/source/install.rst +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/source/license.rst +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/source/reference/index.rst +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/source/transcript_selection.rst +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/docs/source/usage.rst +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/setup.cfg +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/__init__.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/app.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/handlers/__init__.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/handlers/seqrepo_access.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/mappers/__init__.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/mappers/alignment.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/mappers/exon_genomic_coords.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/mappers/feature_overlap.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/mappers/mane_transcript.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/resources/__init__.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/resources/data_files.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/resources/transcript_mapping.tsv +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/schemas.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/sources/__init__.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/sources/mane_transcript_mappings.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/sources/transcript_mappings.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/sources/uta_database.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/utils.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool.egg-info/SOURCES.txt +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool.egg-info/dependency_links.txt +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool.egg-info/top_level.txt +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/tests/conftest.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/tests/handlers/test_feature_overlap.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/tests/handlers/test_seqrepo_access.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/tests/mappers/test_alignment.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/tests/mappers/test_exon_genomic_coords.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/tests/mappers/test_liftover.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/tests/mappers/test_mane_transcript.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/tests/sources/test_mane_transcript_mappings.py +0 -0
 - {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/tests/sources/test_uta_database.py +0 -0
 - {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. 
     | 
| 
      
 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. 
     | 
| 
      
 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
         
     | 
| 
         @@ -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  
     | 
| 
      
 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 
     | 
    
         
            -
                         
     | 
| 
       47 
     | 
    
         
            -
                         
     | 
| 
      
 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 
     | 
    
         
            -
                         
     | 
| 
       52 
     | 
    
         
            -
                         
     | 
| 
      
 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 
     | 
| 
      
 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. 
     | 
| 
      
 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. 
     | 
| 
      
 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
         
     | 
| 
         
            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
         
     | 
| 
         
            File without changes
         
     | 
    
        {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/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
         
     | 
    
        {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/resources/transcript_mapping.tsv
    RENAMED
    
    | 
         
            File without changes
         
     | 
| 
         
            File without changes
         
     | 
| 
         
            File without changes
         
     | 
    
        {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/sources/mane_transcript_mappings.py
    RENAMED
    
    | 
         
            File without changes
         
     | 
    
        {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/src/cool_seq_tool/sources/transcript_mappings.py
    RENAMED
    
    | 
         
            File without changes
         
     | 
| 
         
            File without changes
         
     | 
| 
         
            File without changes
         
     | 
| 
         
            File without changes
         
     | 
    
        {cool_seq_tool-0.15.0 → cool_seq_tool-0.15.1}/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.15.0 → cool_seq_tool-0.15.1}/tests/sources/test_mane_transcript_mappings.py
    RENAMED
    
    | 
         
            File without changes
         
     | 
| 
         
            File without changes
         
     | 
| 
         
            File without changes
         
     |