subset_fasta: Select ids from a FASTA file, creating a new file

View source: R/sequence.R

subset_fastaR Documentation

Select ids from a FASTA file, creating a new file

Description

Select ids from a FASTA file, creating a new file

Usage

subset_fasta(f, ids, prefix = "zzz_")

Arguments

f

filename of FASTA protein sequence file

ids

a vector for subseting (either logical with one element for each gene, or integers with 1 <= i <= length(seqs).

prefix

a file basename prefix for the output FASTA file

Value

filename


arendsee/phylostratr documentation built on Dec. 31, 2022, 10:22 a.m.