tbl_to_fasta: Covert a data frame into a fasta file. The data frame must...

Description Usage Arguments Examples

Description

Covert a data frame into a fasta file. The data frame must have sequence descriptions in the first column and sequences in the second column.

Usage

1

Arguments

tbl

Data frame to convert.

file

Name of fasta file to be created.

append

Set to TRUE if you wish to append to a fasta file that already exists.

Examples

1
2
3
4
5
6
7
## Not run: 

sequences <- seq_tbl("reads.fasta")
tbl_to_fasta(sequences[1:10,], "first_ten_reads.fasta")


## End(Not run)

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