fasta_headers: Get line numbers of FASTA headers

Description Usage Arguments Value

View source: R/read_fasta.R

Description

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

Usage

1
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) If TRUE, name the result with the headers.

Value

numeric


grunwaldlab/metacoder documentation built on Oct. 2, 2018, 10:25 p.m.