fasta_headers
From metacoder v0.3.3
by Zachary Foster
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.- return_headers
(
logical
of length 1) IfTRUE
, name the result with the headers.
Value
numeric
Community examples
Looks like there are no examples yet.