0th

Percentile

##### Get line numbers of FASTA headers

Get line numbers of FASTA headers without reading whole fasta file into RAM.

Keywords
internal
##### Usage
fasta_headers(file_path, buffer_size = 1000, return_headers = TRUE)
##### Arguments
file_path
(character of length 1) The path to a file to read.
buffer_size
(numeric of length 1) The number of lines in each chunk.
(logical of length 1) If TRUE, name the result with the headers.
numeric