Releases: nmdp-bioinformatics/py-ard
Releases · nmdp-bioinformatics/py-ard
Fix `exon` redux for 2 field alleles
To correctly reduce to the exon version, it first expands to W
and then reduce to exon
level producing all possibilities at exon level.
Fixes #320
What's Changed
- Bump gunicorn from 20.1.0 to 22.0.0 by @dependabot in #319
- Fix
exon
reductions for 2 field alleles by @pbashyal-nmdp in #322
Full Changelog: 1.1.2...1.1.3
ARD default redux + Bug Fixes
Feature:
- ARD reduction (
lgx
) is the default forard.redux()
Bug Fixes:
- When looking up MAC codes for allele list, look up with smart sort
- Batch processing failed for zip and no compression
Serology Updates
Serolgy Updates
Note: This release changes and updates Serology related data. Please rebuild the cache database if there's a missing Serology error.
pyard-import --re-install
Fix CWD and Serology reduction issues
- CWD reduction issues for XX alleles
- Allow S reduction mode for REST endpoint
See #301 For details.
1.0.10
1.0.9 Updated CWD2 Reference Data
- Updated CWD2 Reference Data from igdawg
cwd_redux()
can handle CWD2 allele that are Nulls
1.0.8 - `/similar` endpoint and validation fix
Find Similar Alleles
1.0.6 Validation of allele specific MAC codes
- Use allele specific antigen code rules when validating MACs that cross antigen group similar to MAC Service
- Returns the original
InvalidAlleleError
instead of wrapping it inInvalidTypingError
when an allele is not valid.
1.0.5 Non strict mode
Supports non-strict mode makes valid alleles by adding expression characters to invalid alleles.
Use non strict
mode in config to reduce alleles that may be valid with expression characters.
>>> my_configs = {'strict': False, 'verbose_log': True}
>>> import pyard
>>> ard = pyard.init(config=my_configs, load_mac=False)
>>> ard.redux('A*24:329', 'lgx')
A*24:329 is not valid. Using A*24:329Q
'A*24:329Q'
>>> ard.redux('DQB1*03:276', 'lgx')
DQB1*03:276 is not valid. Using DQB1*03:276N
'DQB1*03:01'
Add non-strict and verbose modes to pyard CLI.
❯ pyard --gl "DQB1*03:276" -r lgx
Typing Error: DQB1*03:276 is not valid GL String.
DQB1*03:276 is not a valid Allele
❯ pyard --non-strict --gl "DQB1*03:276" -r lgx
DQB1*03:01
❯ pyard --non-strict --verbose --gl "DQB1*03:276" -r lgx
DQB1*03:276 is not valid. Using DQB1*03:276N
DQB1*03:01