replaceInside {seqmagick}R Documentation

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)

Arguments

fasfile

fasta file

from

character to be replaced, '-' by default

to

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

outfile

output file

Value

DNAStringSet

Author(s)

Guangchuang Yu


[Package seqmagick version 0.1.7 Index]