Read fasta file

read_fasta(fpath, ucase = F)

Arguments

fpath

A fasta file path.

ucase

logical

Examples

inf <- system.file("extdata", "test.fas", package = "bstringr") read_fasta(inf)
#> class: bstr,character #> number of sequences: 4 #> [1] TEST : This is test. 13 #> [2] test1 : AAAAAAAAAA AAAAAAA....AAAAAAA AAAAAAAAAA 76 #> [3] test2 : AAAAAAAAAAAAAAAAAAAA 20 #> [4] test3 : ATGC 4