Learn R Programming

seqmagick (version 0.1.7)

replaceInside: replaceInside

Description

replace character for example from '-' to 'N' of fasta sequence that only applied inside sequence any '-' character at start/end of the sequence (aligned seqs may contains '-' at prefix/suffix) will not be replaced

Usage

replaceInside(fasfile, from = "-", to = "N", outfile = NULL)

Value

DNAStringSet

Arguments

fasfile

fasta file

from

character to be replaced, '-' by default

to

replace 'from' to 'to', 'N' by default

outfile

output file

Author

Guangchuang Yu