View source: R/rsearch_wrappers.R
| vs_uchime_ref | R Documentation |
Wrapper of Rsearch::vs_uchime_ref() (vsearch --uchime_ref). Detect
chimeric sequences in a fasta file by comparison against a reference
database. Complements chimera_detection_vs(), which performs de novo
detection without a reference database.
vs_uchime_ref(
fasta_input,
database,
nonchimeras = NULL,
chimeras = NULL,
sizein = TRUE,
sizeout = TRUE,
relabel = NULL,
relabel_sha1 = FALSE,
fasta_width = 0,
sample = NULL,
log_file = NULL,
threads = 1,
vsearch_options = NULL,
tmpdir = NULL
)
fasta_input |
(required) Path to the query fasta file. |
database |
(required) Path to the reference database fasta file. |
nonchimeras |
Path to the output fasta file of non-chimeric
sequences. A temporary file is used when |
chimeras |
Path to the output fasta file of chimeric sequences.
A temporary file is used when |
sizein |
(logical, default TRUE) Take |
sizeout |
(logical, default TRUE) Add |
relabel |
Relabel output sequences with this prefix followed by a sequential number. |
relabel_sha1 |
(logical, default FALSE) Relabel output sequences with their SHA1 digest. |
fasta_width |
(integer, default 0) Width of fasta sequence lines (0 for no wrapping). |
sample |
Optional sample name annotation added to output headers. |
log_file |
Path to a log file. |
threads |
(integer, default 1) Number of threads. |
vsearch_options |
Additional vsearch command-line options. |
tmpdir |
Directory for temporary files. |
NULL (invisibly). The non-chimeric and chimeric sequences
are written to the nonchimeras and chimeras files, respectively.
Adrien Taudière
Rsearch::vs_uchime_ref(), chimera_detection_vs(),
chimera_removal_vs()
vs_uchime_ref(
system.file("extdata", "ex.fasta", package = "MiscMetabar"),
database = system.file(
"extdata",
"100_sp_UNITE_sh_general_release_dynamic.fasta",
package = "MiscMetabar"
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.