extract_motifs_iterative: A wrapper for extract motifs parallel that will iteratively...

Description Usage Arguments

View source: R/extract_motifs.R

Description

A wrapper for extract motifs parallel that will iteratively allow for more mismatches in the prefix and suffix surrounding the pids.

Usage

1
2
3
extract_motifs_iterative(seq_data, prefix, suffix, motif_length,
  max.mismatch = 5, fixed = FALSE, ncpu = 6, job_size = NULL,
  max.suffix.chop = NULL, max.mismatch_start = 0, verbose = FALSE)

Arguments

seq_data

The sequences whose motifs must be extracted

prefix

The prefix that is used to identify the motif

suffix

The suffix that is used to identify the motif

motif_length

The length of the motif that forms the pid.

max.mismatch

See ?vmatchPattern

fixed

See ?vmatchPattern

ncpu

The number of cores to use

job_size

The number of sequences to group into a single job

max.suffix.chop

The maximum amount whereby to shorten the suffix defaults to 0.5*length(suffix)

max.mismatch_start

What is the minimum number of mismatches to search for?

verbose

If set to true a progress will be printed after each loop iteration. Also passed through to the extract_motifs_par function.


philliplab/MotifBinner documentation built on Sept. 2, 2020, 11:41 a.m.