fasta2dataframe: Conversion of (mothur) fasta files to a dataframe

Description Usage Arguments Examples

View source: R/fasta2dataframe.R

Description

Conversion of (mothur) fasta files to a dataframe

Usage

1
fasta2dataframe(fastaFile, mothurrepseqs = TRUE, striparg = "Otu")

Arguments

fastaFile

standard format DNA (not RNA/protein) fasta file

mothurrepseqs

boolean indicating wether or not the file contains mothur-formatted headers for each sequence as generated by get.oturep. Defaults to TRUE.

striparg

string to be kept as headers in more complex headers (allows for regex), ignored in case mothurrepseqs=TRUE (default)

Examples

1
2
3
4
## Short example

# Load precomputed example data
#TODO: add export option

CMET-UGent/CMETNGS documentation built on Dec. 12, 2020, 8:22 a.m.