summaryFasta: Fasta file

View source: R/bioinfo_sequences.R

summaryFastaR Documentation

Fasta file

Description

Return key aspects of a fasta file as summary (number of records, length of each record, letter frequency of each record, ...).

Usage

summaryFasta(
  fa.file,
  letters = c("A", "T", "G", "C", "N"),
  algo = NULL,
  verbose = 0
)

Arguments

fa.file

path to the fasta file (can be gzip-compressed)

letters

vector of characters to get their frequency, or NULL to skip

algo

name of the algorithm used to apply a cryptographical hash function on the sequence of each record (md5/sha1/NULL)

verbose

verbosity level (0/1)

Value

list

Author(s)

Timothee Flutre


timflutre/rutilstimflutre documentation built on Feb. 7, 2024, 8:17 a.m.