Skip to content

Releases: nmdp-bioinformatics/py-ard

Fix `exon` redux for 2 field alleles

07 May 20:56
8788a3c
Compare
Choose a tag to compare

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

Full Changelog: 1.1.2...1.1.3

ARD default redux + Bug Fixes

22 Mar 21:14
a4f6931
Compare
Choose a tag to compare

Feature:

  • ARD reduction (lgx) is the default for ard.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

05 Mar 15:36
7082a6f
Compare
Choose a tag to compare

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
  • Support Associated Antigens in addition to broad/splits #303
  • Fix Serology reduction for 2 field alleles
  • All recognized serology to be valid, not only the ones that have corresponding DNA Alleles #306
  • Fix batch processing for DRBX column
  • Map Serology to the correct XX version

Fix CWD and Serology reduction issues

02 Feb 21:50
fd22fdd
Compare
Choose a tag to compare
  • CWD reduction issues for XX alleles
  • Allow S reduction mode for REST endpoint

See #301 For details.

1.0.10

19 Jan 21:32
778049b
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.0.9...1.0.10

1.0.9 Updated CWD2 Reference Data

15 Dec 15:03
e85a27f
Compare
Choose a tag to compare
  • Updated CWD2 Reference Data from igdawg
  • cwd_redux() can handle CWD2 allele that are Nulls

1.0.8 - `/similar` endpoint and validation fix

05 Dec 21:09
728bc3e
Compare
Choose a tag to compare
  • #286 similar endpoint return all alleles/MAC with given prefixes
  • #287 Allele validation in non-strict mode

Find Similar Alleles

09 Nov 16:02
489f3bc
Compare
Choose a tag to compare

Features:

  • Find similar Alleles options with pyard command #264

Bug Fixes:

  • V2 formats that are not valid #283
  • MICA, MICB, HFE alleles that show up as V2 formats #280

1.0.6 Validation of allele specific MAC codes

30 Oct 16:20
940121f
Compare
Choose a tag to compare
  • 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 in InvalidTypingError when an allele is not valid.

1.0.5 Non strict mode

04 Oct 14:58
b26c187
Compare
Choose a tag to compare

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