Martin Maiers
Martin Maiers
to foster EMR integration, pyard should add support for GLSC formatted input
The 4th field of HLA nomenclature includes: 1. intron variants 2. UTR variants Due to complexities in the typing of UTRs and also/especially the dynamic nature of their definition in...
works just like G-group reduction except it uses `https://github.com/lgragert/hla_extracellular_domain/blob/main/hla_nom_eg_3450.txt`
``` ard.redux_gl("DRB1*14:01/DRB1*14:54", "lgx") 'DRB1*14:01' >>> ard.redux_gl(ard.redux_gl("DRB1*14:01/DRB1*14:54", "W"), "lgx") 'DRB1*14:01/DRB1*14:54' >>> ard.redux_gl("DRB1*14:01/DRB1*14:54", "W") 'DRB1*14:01:01/DRB1*14:01:02/DRB1*14:01:03/DRB1*14:01:04/DRB1*14:01:05/DRB1*14:54:01:01/DRB1*14:54:01:02/DRB1*14:54:01:03/DRB1*14:54:01:04/DRB1*14:54:01:05/DRB1*14:54:01:06/DRB1*14:54:01:07/DRB1*14:54:01:08/DRB1*14:54:01:09/DRB1*14:54:01:10/DRB1*14:54:01:11/DRB1*14:54:01:12/DRB1*14:54:02/DRB1*14:54:03/DRB1*14:54:04/DRB1*14:54:05/DRB1*14:54:06/DRB1*14:54:07/DRB1*14:54:08/DRB1*14:54:09/DRB1*14:54:10' >>> ard.redux_gl(ard.redux_gl(ard.redux_gl("DRB1*14:01/DRB1*14:54", "W"), "lgx"), "lgx") 'DRB1*14:01' ``` W expansion followed by lgx reduction should reduce all the...