readIgFasta {tigger}R Documentation

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)

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.

Value

Named vector of strings respresenting Ig alleles.

See Also

writeFasta to do the inverse.

Examples

## Not run: 
# germlines <- readIgFasta("ighv.fasta")

## End(Not run)


[Package tigger version 1.1.0 Index]