seqmat 0.1.55__tar.gz → 0.1.56__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 (27) hide show
  1. {seqmat-0.1.55/seqmat.egg-info → seqmat-0.1.56}/PKG-INFO +1 -1
  2. {seqmat-0.1.55 → seqmat-0.1.56}/seqmat/__init__.py +1 -1
  3. {seqmat-0.1.55 → seqmat-0.1.56}/seqmat/utils.py +6 -9
  4. {seqmat-0.1.55 → seqmat-0.1.56/seqmat.egg-info}/PKG-INFO +1 -1
  5. {seqmat-0.1.55 → seqmat-0.1.56}/setup.py +1 -1
  6. {seqmat-0.1.55 → seqmat-0.1.56}/LICENSE +0 -0
  7. {seqmat-0.1.55 → seqmat-0.1.56}/MANIFEST.in +0 -0
  8. {seqmat-0.1.55 → seqmat-0.1.56}/README.md +0 -0
  9. {seqmat-0.1.55 → seqmat-0.1.56}/examples/basic_usage.py +0 -0
  10. {seqmat-0.1.55 → seqmat-0.1.56}/examples/data_inspection.py +0 -0
  11. {seqmat-0.1.55 → seqmat-0.1.56}/requirements.txt +0 -0
  12. {seqmat-0.1.55 → seqmat-0.1.56}/seqmat/cli.py +0 -0
  13. {seqmat-0.1.55 → seqmat-0.1.56}/seqmat/config.py +0 -0
  14. {seqmat-0.1.55 → seqmat-0.1.56}/seqmat/gene.py +0 -0
  15. {seqmat-0.1.55 → seqmat-0.1.56}/seqmat/lmdb_store.py +0 -0
  16. {seqmat-0.1.55 → seqmat-0.1.56}/seqmat/seqmat.py +0 -0
  17. {seqmat-0.1.55 → seqmat-0.1.56}/seqmat/sqlite_store.py +0 -0
  18. {seqmat-0.1.55 → seqmat-0.1.56}/seqmat/transcript.py +0 -0
  19. {seqmat-0.1.55 → seqmat-0.1.56}/seqmat.egg-info/SOURCES.txt +0 -0
  20. {seqmat-0.1.55 → seqmat-0.1.56}/seqmat.egg-info/dependency_links.txt +0 -0
  21. {seqmat-0.1.55 → seqmat-0.1.56}/seqmat.egg-info/entry_points.txt +0 -0
  22. {seqmat-0.1.55 → seqmat-0.1.56}/seqmat.egg-info/requires.txt +0 -0
  23. {seqmat-0.1.55 → seqmat-0.1.56}/seqmat.egg-info/top_level.txt +0 -0
  24. {seqmat-0.1.55 → seqmat-0.1.56}/setup.cfg +0 -0
  25. {seqmat-0.1.55 → seqmat-0.1.56}/tests/__init__.py +0 -0
  26. {seqmat-0.1.55 → seqmat-0.1.56}/tests/test_gene.py +0 -0
  27. {seqmat-0.1.55 → seqmat-0.1.56}/tests/test_seqmat.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: seqmat
3
- Version: 0.1.55
3
+ Version: 0.1.56
4
4
  Summary: Lightning-fast gene manipulation and analysis library.
5
5
  Home-page: https://github.com/nicolasalynn/seqmat
6
6
  Author: Nicolas Lynn Vila
@@ -5,7 +5,7 @@ A comprehensive Python library for genomic sequence analysis with full mutation
5
5
  splicing analysis, and sequence manipulation.
6
6
  """
7
7
 
8
- __version__ = "0.1.55"
8
+ __version__ = "0.1.56"
9
9
  __author__ = "Nicolas Lynn Vila"
10
10
  __email__ = "nicolasalynn@gmail.com"
11
11
 
@@ -592,7 +592,7 @@ def download_prebuilt_data(
592
592
  """
593
593
  Download prebuilt genes.db and FASTA from the SeqMat S3 bucket.
594
594
  Layout: {base}/{organism}/genes.db, {base}/{organism}/{organism}.fa.gz.
595
- Optionally {base}/{organism}/conservation.db or conservation.pkl if present.
595
+ Conservation is not downloaded here; it is only fetched during build-from-sources.
596
596
  """
597
597
  from .config import DEFAULT_ORGANISM_DATA
598
598
 
@@ -630,13 +630,7 @@ def download_prebuilt_data(
630
630
 
631
631
  files["genes_db"] = _download_or_raise(genes_db_url, base_path, is_gz=False)
632
632
  files["fasta_file"] = _download_or_raise(fasta_gz_url, base_path, is_gz=True)
633
- files["cons_file"] = None
634
- for ext in (".db", ".pkl"):
635
- try:
636
- files["cons_file"] = download(f"{base_url}/{organism}/conservation{ext}", base_path, skip_existing=skip_existing)
637
- break
638
- except Exception:
639
- continue # Conservation optional for prebuilt path
633
+ files["cons_file"] = None # Conservation only downloaded during build-from-sources
640
634
  return files
641
635
 
642
636
 
@@ -751,7 +745,10 @@ def setup_genomics_data(
751
745
  config_paths['fasta_full_genome'] = str(files['fasta_file'])
752
746
  cons_data = None
753
747
  if files['cons_file'] is not None:
754
- cons_data = load_conservation(files['cons_file'])
748
+ try:
749
+ cons_data = load_conservation(files['cons_file'])
750
+ except Exception:
751
+ cons_data = None # Invalid or empty conservation file; build without it
755
752
  annotation_jobs = n_jobs if n_jobs is not None else max(1, cpu_count() - 1)
756
753
  retrieve_and_parse_ensembl_annotations(
757
754
  base_path,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: seqmat
3
- Version: 0.1.55
3
+ Version: 0.1.56
4
4
  Summary: Lightning-fast gene manipulation and analysis library.
5
5
  Home-page: https://github.com/nicolasalynn/seqmat
6
6
  Author: Nicolas Lynn Vila
@@ -8,7 +8,7 @@ long_description = (this_directory / "README.md").read_text()
8
8
 
9
9
  setup(
10
10
  name="seqmat",
11
- version="0.1.55",
11
+ version="0.1.56",
12
12
  author="Nicolas Lynn Vila",
13
13
  author_email="nicolasalynn@gmail.com",
14
14
  description="Lightning-fast gene manipulation and analysis library.",
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