seq_tbl: Convert a fasta file into a data frame containing the...

Description Usage Arguments Examples

Description

Convert a fasta file into a data frame containing the decription of each sequence in the first column and the sequence in the second column.

Usage

1
seq_tbl(path, description = "^>", comment = "^;")

Arguments

path

The path to the fasta file.

description

A regular expression indicating which lines contain sequence descriptions.

comment

A regular expression indicating which lines contain comments.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 

# Normal use
seq_tbl("path/to/file.fasta")

# Comments are lines where number sign is first character
seq_tbl("path/to/file.fasta", comment = "^#")


## End(Not run)

seankross/warppipe documentation built on May 29, 2019, 4:55 p.m.