Releases: nmdp-bioinformatics/py-ard
Releases · nmdp-bioinformatics/py-ard
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
InvalidAlleleErrorinstead of wrapping it inInvalidTypingErrorwhen 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:01Fixes 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_diris not writable - Add
--lookup-macand--expand-mactopyardcommand
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