amplicanPipelineConservative | R Documentation |
amplicanPipelineIndexHopping is identical as amplicanPipeline except that
default min_freq
threshold is set to 0.15. Setting this threshold
higher will decrease risks of inadequate normalization in cases of potential
Index Hopping, potentially decreasing precision of true editing rate calling.
Index Hopping can be mitigated with use of unique dual indexing pooling
combinations. However, in cases when you might expect Index Hopping to occur
you should use this function instead of amplicanPipeline.
amplicanPipelineConservative(
config,
fastq_folder,
results_folder,
knit_reports = TRUE,
write_alignments_format = "None",
average_quality = 30,
min_quality = 0,
filter_n = FALSE,
batch_size = 1e+07,
use_parallel = FALSE,
scoring_matrix = Biostrings::nucleotideSubstitutionMatrix(match = 5, mismatch = -4,
baseOnly = FALSE, type = "DNA"),
gap_opening = 25,
gap_extension = 0,
fastqfiles = 0.5,
primer_mismatch = 2,
donor_mismatch = 3,
donor_strict = FALSE,
PRIMER_DIMER = 30,
event_filter = TRUE,
cut_buffer = 5,
promiscuous_consensus = TRUE,
normalize = c("guideRNA", "Group"),
min_freq = min_freq_default,
continue = TRUE
)
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 |
filter_n |
(boolean) Whether to filter out reads containing N base. |
batch_size |
(numeric) How many reads to analyze at a time? Needed for filtering of large fastq files. |
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. |
donor_strict |
(logical) Applies more strict algorithm for HDR detection. Only these reads that have all of the donor events will count as HDR. Tolerates 'donor_mismatch' level of noise, but no indels are allowed. Use this when your reads should span over the whole window of the donor events. Might be more time consuming. |
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 |
continue |
(boolean) Default TRUE, decides whether to continue failed ampliCan runs. In case of FALSE, all contents in 'results' folder will be removed. |
result_folder
and also knit prepared reports into 'reports' folder.
(invisible) results_folder path
Other analysis steps:
amplicanAlign()
,
amplicanConsensus()
,
amplicanFilter()
,
amplicanMap()
,
amplicanNormalize()
,
amplicanOverlap()
,
amplicanPipeline()
,
amplicanReport()
,
amplicanSummarize()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.