uniAlign {HLAtools} | R Documentation |
Generates a peptide, codon, coding or genomic nucleotide alignment at a single set of positions for HLA alleles at one or more loci.
uniAlign(alignType, alleles, positions)
alignType |
The type of alignment being searched. Allowed values are "prot", codon", "nuc" and "gen". Only one 'alignType' value is allowed. |
alleles |
A vector of un-prefixed HLA locus names. |
positions |
A vector of codon positions, against which all loci will be aligned. |
A data frame of allele names and the corresponding codon sequence for specified position. a codon sequence is not returned for a specific allele if input allele is not available in the ANHIG/IMGTHLA Github Repository. position will be left empty if specific allele does not have a codon at the input position.
For internal HLAtools use.