Learn R Programming

tigger (version 1.1.0)

readIgFasta: Read immunoglobulin sequences

Description

readIgFasta reads a fasta-formatted file of immunoglobulin (Ig) sequences and returns a named vector of those sequences.

Usage

readIgFasta(fasta_file, strip_down_name = TRUE, force_caps = TRUE)

Value

Named vector of strings respresenting Ig alleles.

Arguments

fasta_file

fasta-formatted file of immunoglobuling sequences.

strip_down_name

if TRUE, will extract only the allele name from the strings fasta file's sequence names.

force_caps

if TRUE, will force nucleotides to uppercase.

See Also

writeFasta to do the inverse.

Examples

Run this code
if (FALSE) {
# germlines <- readIgFasta("ighv.fasta")
}

Run the code above in your browser using DataLab