Releases: nmdp-bioinformatics/py-ard
Releases · nmdp-bioinformatics/py-ard
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
Fixes when used without login user
Fixed the OSError when running without a login user.
1.0.3 – Permission Errors and pyard updates
- Alert permission Errors when
data_dir
is not writable - Add
--lookup-mac
and--expand-mac
topyard
command
Fixes issue with using py-ard without MAC
Fixes issue with using py-ard without MAC
- When using py-ard with
load_mac=False
, check if the allele looks like a MAC
1.0.1 → Bug Fixes for 1.0.0 Release
Fixed bugs and added some niceties
#237 Additional functionalities for pyard
CLI command enhancement
#235 Invalid allele in CWD2 mapping bug
#234 Success with lgx when given Invalid format bug
#233 validate
endpoint can be a GET request enhancement
#230 Redux with a "P" option does not return P-groups for two-field or three-field alleles bug
Final Release 1.0.0
Release YAY!! 🎉