parse_imgt_fasta | R Documentation |
parse_imgt_fasta()
extracts the second element from a "|"-delimited FASTA
header, which will be the gene name for IMGT reference FASTAs.
parse_imgt_fasta(infile)
infile |
A string, the path to FASTA file. |
A character vector of gene names.
# Given a FASTA file containing this header:
# >SomeText|TRBV29-1*01|MoreText|
# >SomeText|TRBV29-1*02|MoreText|
# >SomeText|TRBV29/OR9-2*01|MoreText|
fasta <- get_example_path("fasta_dir/test_trbv.fa")
parse_imgt_fasta(fasta)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.