Skip to contents

Default rename_fasta() replacement function. Maps an accession number to its name

Default rename_fasta() replacement function. Maps an accession number to its name

Usage

map_acc2name(line, acc2name, acc_col = "AccNum", name_col = "Name")

map_acc2name(line, acc2name, acc_col = "AccNum", name_col = "Name")

Arguments

line

he line of a fasta file starting with '>'

acc2name

Data Table containing a column of accession numbers and a name column

acc_col

Name of the column containing Accession numbers

name_col

Name of the column containing the names that the accession numbers are mapped to