findReplaceNames: findReplaceNames

Description Usage Arguments Details Value Author(s)

View source: R/findReplaceNames.R

Description

This script will find and replace expressions in sequence names of fasta files.

Usage

1
2
findReplaceNames(path.to.fasta, input.id.name,
  expr.to.replace = "(_uce-\\d+)", replacement = "")

Arguments

path.to.fasta

character string. path to the directory of fasta files.

input.id.name

character string. Text indicating a wildcard to find the loci to process.

expr.to.replace

charactees to exclude from samples names

replacement

Details

Ex. if the names starts as DBS_355_uce-8046a, it will end up as DBS_355a (note the regex in 'gsub')

Value

processed sequence alignmnents to the to the output directory.

Author(s)

Edward Myers and Marcelo Gehara


gehara/Junkyardtools documentation built on Nov. 4, 2019, 1:04 p.m.