buildAlignments {HLAtools} | R Documentation |
Build Amino Acid, cDNA and gDNA Alignments
Description
Returns a list of data frames of amino acid, codon, nucleotide and genomic alignments, with version information.
Usage
buildAlignments(loci, source, version = "Latest")
Arguments
loci |
A character vector of HLA gene names (e.g., "DRB1", c("A","C")). |
source |
A character vector of alignment types. The allowed values are "AA", "cDNA", and "gDNA". If 'source' is "cDNA", both codon and cDNA nucleotide alignments are generated. If source is 'AA' or 'gDNA', a single peptide or genomic nucleotide alignment is generated. Up to four alignments will be returned for a locus, as determined by its ability to be transcribed or translated. |
version |
A character string describing the desired release version (branch) of the ANHIG/IMGTHLA Github repository (e.g. '3.53.0'). The default value ('Latest') returns alignments for the most recent release. |
Value
A list object with a data frame of all allele names (and trimmed allele names) and their corresponding sequences (Amino Acid, codon, cDNA, or gDNA) for a specific locus, as well as version details for the returned information. These alignments identify locations of feature boundaries in relation to amino acid, codon, cDNA, and gDNA sequences.
Note
For internal HLAtools use.