run_radproc | R Documentation |
Runs RADproc. The approach replaces ustacks and cstacks steps. Read the paper for more information. Read stackr vignette.
run_radproc(
file.type = "gzfastq",
f = "04_process_radtags",
o = "06_ustacks_2_gstacks",
a = FALSE,
M = 2,
m = 3,
n = 2,
parallel.core = parallel::detectCores() - 1,
x = 3,
S = 2,
D = 7,
cmd.path = "/usr/local/bin/RADProc"
)
file.type |
(character) Input file Type.
Supported types: fasta, fastq, gzfasta, or gzfastq.
Default: |
f |
(path) Input file path. Usually,
the stacks process_radtags output folder.
Default: |
o |
(path) Output path to write results.
Default: |
a |
(logical) Enable parameter sweep mode.
Default: |
M |
Maximum distance (in nucleotides) allowed between stacks to form
network.
Default: |
m |
Minimum depth of coverage.
Default: |
n |
Maximum distance (in nucleotides) allowed between catalog loci to merge
Default: |
parallel.core |
(integer) Enable parallel execution with num_threads
threads.
Default: |
x |
(integer) Maximum number stacks per locus.
Default: |
S |
(percentage) Minimum sample percentage.
Default: |
D |
(percentage) Minimum average coverage depth.
Default: |
cmd.path |
(character, path) Provide the FULL path to RADProc
program. See details on how to install RADProc in
stackr vignette.
Default: |
Returns 3 files per samples: .snps.tsv
, .tags.tsv
,
.alleles.tsv
. Also returns 3 catalog files: catalog.snps.tsv,
catalog.tags.tsv, catalog.alleles.tsv
.
Ravindran, P., Bentzen, P., Bradbury, I., Beiko, R. (2019). RADProc: A computationally efficient de novo locus assembler for population studies using RADseq data. Molecular Ecology Resources 19(1), 272-282. https://dx.doi.org/10.1111/1755-0998.12954
## Not run:
# The simplest form of the function:
u <- stackr::run_radproc() # that's it !
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.