Description Usage Arguments Value See Also Examples
amplicanPipeline is convenient wrapper around all functionality of the
package with the most robust settings. It will generate all results in the
result_folder
and also knit prepared reports into 'reports' folder.
1 2 3 4 5 6 7 8 9 | amplicanPipeline(config, fastq_folder, results_folder,
knit_reports = TRUE, write_alignments_format = "txt",
average_quality = 30, min_quality = 0, use_parallel = FALSE,
scoring_matrix = Biostrings::nucleotideSubstitutionMatrix(match = 5,
mismatch = -4, baseOnly = TRUE, type = "DNA"), gap_opening = 25,
gap_extension = 0, fastqfiles = 0.5, primer_mismatch = 0,
donor_mismatch = 3, PRIMER_DIMER = 30, event_filter = TRUE,
cut_buffer = 5, promiscuous_consensus = TRUE,
normalize = c("guideRNA", "Group"), min_freq = min_freq_default)
|
config |
(string) The path to your configuration file. For example:
|
fastq_folder |
(string) Path to FASTQ files. If not specified, FASTQ files should be in the same directory as config file. |
results_folder |
(string) Where do you want to store results? The package will create files in that folder so make sure you have writing permissions. |
knit_reports |
(boolean) whether function should "knit" all reports automatically for you (it is time consuming, be patient), when false reports will be prepared, but not knitted |
write_alignments_format |
(character vector) Whether
|
average_quality |
(numeric) The FASTQ file have a quality for each
nucleotide, depending on sequencing technology there exist many formats.
This package uses |
min_quality |
(numeric) Similar as in average_quality, but depicts
the minimum quality for ALL nucleotides in given read. If one of nucleotides
has quality BELLOW |
use_parallel |
(boolean) Set to TRUE, if you have registered multicore back-end. |
scoring_matrix |
(matrix) Default is 'NUC44'. Pass desired matrix using
|
gap_opening |
(numeric) The opening gap score. |
gap_extension |
(numeric) The gap extension score. |
fastqfiles |
(numeric) Normally you want to use both FASTQ files. But in some special cases, you may want to use only the forward file, or only the reverse file. Possible options:
|
primer_mismatch |
(numeric) Decide how many mismatches are allowed
during primer matching of the reads, that groups reads by experiments.
When |
donor_mismatch |
(numeric) How many events of length 1 (mismatches, deletions and insertions of length 1) are allowed when aligning toward the donor template. This parameter is only used when donor template is specified. The higher the parameter the less strict will be algorithm accepting read as HDR. Set to 0 if only perfect alignments to the donor template marked as HDR, unadvised due to error rate of the sequencers. |
PRIMER_DIMER |
(numeric) Value specifying buffer for PRIMER DIMER
detection. For a given read it will be recognized as PRIMER DIMER when
alignment will introduce gap of size bigger than: |
event_filter |
(logical) Whether detection of offtarget reads, should be enabled. |
cut_buffer |
The number of bases by which extend expected cut sites (specified as UPPER case letters in the amplicon) in 5' and 3' directions. |
promiscuous_consensus |
(boolean) Whether rules of
|
normalize |
(character vector) If column 'Control' in config table has all FALSE/0 values then normalization is skipped. Otherwise, normalization is strict, which means events that are found in 'Control' TRUE group will be removed in 'Control' FALSE group. This parameter by default uses columns 'guideRNA' and 'Group' to impose additional restrictions on normalized events eg. only events created by the same 'guideRNA' in the same 'Group' will be normalized. |
min_freq |
(numeric) All events below this frequency are treated as
sequencing errors and rejected. This parameter is used during normalization
through |
(invisible) results_folder path
Other analysis steps: amplicanAlign
,
amplicanConsensus
,
amplicanFilter
, amplicanMap
,
amplicanNormalize
,
amplicanOverlap
,
amplicanPipelineConservative
,
amplicanReport
,
amplicanSummarize
1 2 3 4 5 6 7 8 9 | # path to example config file
config <- system.file("extdata", "config.csv", package = "amplican")
# path to example fastq files
fastq_folder <- system.file("extdata", package = "amplican")
# output folder
results_folder <- tempdir()
#full analysis, not knitting files automatically
amplicanPipeline(config, fastq_folder, results_folder, knit_reports = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.