Get the length of a sequnce in a fasta formatted file.

kmr_length_fasta(fasta = NULL)

Arguments

fasta

path to a file

Value

integer length of the sequence in the file

See also

Examples

fasta <- system.file("testdata/phix174.fasta", package = "kmerize") kmr_length_fasta(fasta)
#> [1] 5386