Commit 5a82b23
Deprecate console db (#841)
* Remove deprecated jcvi.utils.console and jcvi.utils.db modules
Remove the console module (thin wrapper around rich.Console) and the db
module (legacy JCVI database connectors for Sybase/MySQL/PostgreSQL/Oracle).
Replace console imports with direct rich.console.Console usage in aws.py,
fetch.py, and formats/base.py. Remove the now-unused set_db_opts method
from OptionParser.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Remove deprecated modules: formats.cdt, formats.contig, formats.coords,
variation.deconvolute, assembly.syntenypath, annotation.ahrd, apps.emboss,
apps.gbsubmit
Relocate reusable code to consuming modules:
- CoordsLine, Coords, Overlap_types, get_coords_stats -> formats.blast
- CDT class -> compara.pad
- ContigFile/ContigLine/ReadLine -> assembly.postprocess
- read_interpro -> projects.pineapple
- needle/NeedleHeader -> annotation.reformat
Also fix remaining utils.console references in formats.fasta and
algorithms.ec from prior deprecation.
* Remove deprecated modules: apps.blastplus, apps.bowtie, apps.lastz,
utils.ez_setup
Relocate reusable code to consuming modules:
- Bowtie2 wrappers (BowtieLogFile, check_index, align) -> apps.align
- Download utilities (ALL_DOWNLOADERS, get_best_downloader) -> apps.base
- LASTZ score conversion functions -> formats.maf
* Style fixes by Black
* Update src/jcvi/formats/blast.py
* Update src/jcvi/projects/pineapple.py
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 5e48c50 commit 5a82b23
33 files changed
Lines changed: 860 additions & 4402 deletions
File tree
- src/jcvi
- algorithms
- annotation
- apps
- assembly
- compara
- formats
- graphics
- projects
- utils
- variation
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments