Changelog
Source:NEWS.md
hlabud 2.0.0
Bug fixes
Fix incorrect position numbering, accounting for insertions and deletions that are indicated with the “.” character. Thanks to Vinicius Stelet for bringing this to my attention in issue #3.
Instead of discarding positions with
*
, we include them and label them asunk
, for examplepos241_unk
indicates an unknown amino acid at position 241. Thanks to Sreekar Mantena for reporting this issue!Fix an off-by-one error. For example, HLA-A had
pos361_-
in thecolnames(a$onehot)
but it should have had the reference allele instead of-
. This is now fixed. Thanks again to Sreekar Mantena for reporting this issue!
Changes
Change position names from
pos21_D
toD21
. When negative,posn21_D
toDn21
.Change
dosage()
to take a one-hot matrix as the first argument.Change
dosage()
to return full allele names from IMGT when matching to partial allele names likeDRB1*03
orDRB1*03:01
. And show messages indicating which alleles were matched whenverbose=TRUE
.Automatically overwrite
{hlabud_dir}/alleles.json
if it is older than 24 hours.Automatically overwrite
{hlabud_dir}/tags.json
if it is older than 24 hours.