read.fasta: read.fasta

View source: R/sequence-utilities.R

read.fastaR Documentation

read.fasta

Description

read FASTA file

Usage

read.fasta(fasta, type = "auto")

Arguments

fasta

fasta file

type

sequence type of the input file, one of 'NT' or 'AA'. Default is 'auto' and guess the sequence type automatically

Details

This function supports both DNA or AA sequences

Value

DNAbin or AAbin object

Author(s)

Guangchuang Yu


YuLab-SMU/treeio documentation built on Nov. 3, 2024, 4:17 p.m.