Repository navigation
Releases
Releases · gwas-catalog/sumstats-tools
2.0.2
2.0.1
2.0.0
Changelog
Breaking Changes
- Python ≥ 3.13 required (was ≥ 3.9)
- Pydantic v1 → v2 — schema classes rewritten to use pydantic v2 APIs
- pandas ≥ 2.1 (was pinned at 1.5.3), numpy ≥ 2.0 now required
Build & Tooling
- Migrated package manager from Poetry to uv (#64)
- Updated dependency constraints:
pandera>=0.17,typer>=0.9,ruamel-yaml>=0.17.32,pydantic>=2.0,pandas>=2.1,numpy>=2.0
ssf-morph Web App
- Upgraded Pyodide from v0.26.4 to v0.29.4 (Python 3.13, numpy 2.2.5) to match the library's updated requirements
- Fixed micropip wheel loading — newer micropip requires absolute URLs; added
wheel()helper usingself.location.href - Fixed
ruamel.yaml→ruamel-yamlPyodide package name (renamed in 0.28+) - Added stop button to cancel in-progress format or validation runs
- Added quick validate mode (first 1 M rows) alongside full validation
- Added time estimates for format (apply) and validation operations
- Added split rules and expanded edit rules (rename, find/replace, extract) to the column config form
- Chunked file I/O and reduced buffer copies to improve performance on large files
- Various UI and wording improvements
Core Library
- Restructured config schema: new
FileConfig,SplitConfig,EditConfig,ColumnConfig, andFormatconfigPydantic models - New
Validatorclass wrapping validation logic with configurable chunk size and sample size - Fixed:
coerce_dtypeerrors are now deduplicated with dtype errors (same root cause) - Fixed: Typer 0.26.3 changed exit code for argument-less commands from 0 → 2; tests updated accordingly
Documentation & Deployment
- Added
docs/gwas-sumstats-tools-doc/with full CLI and UI documentation, tutorials, and test data - Added GitHub Actions workflow to publish docs
- Updated Helm chart (ingress, namespace, API version)
- Updated
DockerfileandDockerfile.docs
Update the metadata generation
This release includes:
- Update the metadata generation from the rest API to use V2
- Changed the file_type to be a mandatory field and validated the file_type value
- Implement auto-mapping to map different file types into a standard value
What's Changed
- return the index to show the position of invalid row in the original file by @jiyue1214 in #57
- Meta rest api v2 by @jiyue1214 in #59
- Change tag pattern to match all tags in workflow by @jiyue1214 in #61
Full Changelog: 1.0.24...1.0.25
1.0.24
1.0.23
What's Changed
- fix: Avoid mutable default args in MetadataClient init by @karatugo in #47
- goci-1452 | Incorrect sumstats validation error by @karatugo in #50
- test: Add tests for p-value validation by @karatugo in #51
- Check chromosomes in the input sumstat file by @jiyue1214 in #52
- Update the test data to check if all chromosomes exist
Full Changelog: 1.0.22...1.0.23
1.0.23-b.5
1.0.23-b.3
1.0.22
Integrate functions from sum-stats-formatter
- Migrate the previous sum-stats-formatter function to gwas-ssf format. It includes:
- Generate configuration file.
- Apply configuration file.
- Apply the configuration file to the input file with pre-defined configuration.
- Read the file with the correct delimiter and/or remove comments
- Fix sample issue from this ticket here: EBISPOT/goci#1292
Some studies have sample response from Ingest API. However the response is empty. Therefore we should utilize public REST API as a fallback option.