clean_sequence: Tidy an input FASTA string

View source: R/strings.R

clean_sequenceR Documentation

Tidy an input FASTA string

Description

Tidy an input FASTA string

Usage

clean_sequence(x, dict = Biostrings::DNA_ALPHABET, replacement = "N")

Arguments

x

the input contig sequence OR a simple string

dict

character, the dictionary of allowed characters

replacement

character, the replacement value for disallowed characters

Value

either a contig squence or a character string - matches the input


BigelowLab/tetramers documentation built on April 3, 2022, 8:22 p.m.