Validate UNIFORMAT syntax
Check UNIFORMAT files for errors and performs expansion of valid abreviations (@, allele&allele).
This version of uniformate also performs data transliteration (recoding) when an optional transliteration file is provided.
Substitution files are one column lists of old_allele – new_allele, where new_allele is a abridged UNIFORMAT allele expression:
allele or allele&allele or ...
Substitutions related to different loci are grouped under the LOCUS keyword, and the keyword for each locus is mandatory even if a given locus is not being changed (see example below where LOCUS 2 does not contain substitution rules):
# Example substitution file LOCUS 1 A*01:01:01 - A*01:01 A*02 - A*02:01&A*02:02&A*02:03 # note no substitution data below LOCUS 2 LOCUS 3 C*01:02 - C*01 C*01:03 - C*01 null - C*01:02&null