Skip to content

Releases: nmdp-bioinformatics/py-ard

V2 to V3 Mapping

04 Feb 18:02
923f95b

Choose a tag to compare

  • Heuristically predict V3 from V2 when not in exceptional case list
  • Make is_XX a public method on the ARD object
  • Update README and fix bug in pyard-import for importing into Latest

Nomenclature versioning

08 Dec 15:47
9017299

Choose a tag to compare

adds nomenclature versioning, cmdline options, GL string examples

fix mac expansion

30 Nov 05:18
5d7d42b

Choose a tag to compare

Fix serology mapping and mac expansions

Upgrade Pandas to 1.1.4

03 Nov 15:18
f423251

Choose a tag to compare

Update pandas 1.1.4

  • Pandas 1.1.2 doesn't work with Python 3.9. Upgrade Pandas to 1.1.4 which works with Python 3.8 and 3.9

Support reduction of serologically typed GL String

22 Oct 21:28
775e0df

Choose a tag to compare

Uses WMDA rel_dna_ser.txt for the corresponding version of IMGT database to produce serology mapping

Use sqlite3 database for reference data

15 Oct 22:10
e06cea7

Choose a tag to compare

Use sqlite3 database for data

Offload MAC codes from memory to sqlite3 database (natively supported by Python) to reduce
memory footprint. All MAC lookups happen through the db. The alleles and G group expansions
are still held in memory.

In addition, all generated data is saved as tables in the same database. This leads to one
file for storing all reference data in a standard format.

This led to drastic reduction in memory usage and startup time.

Version First Time Prebuilt Data
0.1.0 10.5 sec 4.92 sec
0.2.0 814 msec 598 msec
0.3.0 24.1 msec 24.7 msec

Heap memory used by ARD reference data after ard = pyard.ARD(3290)

Version Memory (MB)
0.1.0 2977.86 MB
0.2.0 420.76 MB
0.3.0 3.74 MB

rearrange data in memory

14 Oct 21:34
b5f951c

Choose a tag to compare

This release rearranges how memory is used especially MAC codes and a lot of cleanup.

load_mac_file flag to load MAC file

01 Oct 15:09
fe7f4e6

Choose a tag to compare

Rename download_mac flag

  • Rename download_mac ARD flag to load_mac_file as it properly describes what it does.
  • Remove dead code
  • Reformat code and fix some comments
  • Version bumped to 0.1.0
  • Updated pandas to 1.1.2

fix tests and sorting

09 Sep 03:35
f034eb8

Choose a tag to compare

fixes test and also a bug in 4th field sorting

allow P and G as input, fix lg and lgx behavior

09 Sep 02:44
8fc34f3

Choose a tag to compare

This release fixes the behavior of lg and lgx to always reduce to 2-field.
It also allows P and G alleles as input