Learn R Programming

seqmagick (version 0.1.9)

fa_rename: fa_rename

Description

rename fasta sequence name

Usage

fa_rename(
  fasfile,
  mapping_file,
  position = NULL,
  sep = NULL,
  mode = "replace",
  outfile
)

Value

BStringSet object

Arguments

fasfile

fasta file

mapping_file

mapping file

position

rename token at specific position

sep

sepator to divide token

mode

one of 'replace', 'prefix' or 'suffix'

outfile

output file

Author

Guangchuang Yu