get_n_taxa: Extract the number of taxa from a file

View source: R/get_n_taxa.R

get_n_taxaR Documentation

Extract the number of taxa from a file

Description

Extract the number of taxa from a file

Usage

get_n_taxa(filename)

Arguments

filename

name of a FASTA file

Value

the number of taxa

Author(s)

Richèl J.C. Bilderbeek

Examples

check_empty_beautier_folder()

fasta_filename <- get_beautier_path("test_output_5.fas")
# 5
get_n_taxa(fasta_filename)

check_empty_beautier_folder()

beautier documentation built on Nov. 2, 2023, 5:08 p.m.