cleanSeqs {tigger}R Documentation

Clean up nucleotide sequences

Description

cleanSeqs capitalizes nucleotides and replaces all characters besides c("A", "C", "G", "T", "-", ".") with "N".

Usage

cleanSeqs(seqs)

Arguments

seqs

vector of nucleotide sequences.

Value

A modified vector of nucleotide sequences.

See Also

sortAlleles and updateAlleleNames can help format a list of allele names.

Examples

# Clean messy nucleotide sequences
seqs <- c("AGAT.taa-GAG...ATA", "GATACAGTXXZZAGNNPPACA")
cleanSeqs(seqs)


[Package tigger version 1.1.0 Index]