Description Usage Arguments Value Examples
View source: R/Analyze_Sangers.R
Preprocessing and annotation of Sanger sequencing of the 16S rRNA gene
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
inputfile |
LGC text file containing forward and reversed reads |
inputfolder |
folder containing the ab1 files with the raw spectrograms from an ABI capillary electrophoresis instrument. only used when raw=TRUE (currently defunct, but should be easy to implement if there is need) |
fwd_suffix |
string containing the suffix of the forward reads (defaults to F) |
rev_suffix |
string containing the suffix of the reverse reads (defaults to R) |
primerFname |
string containting the (abbreviated) name of the forward primer (like it occurs in the fasta file, defaults to 27F) |
primerRname |
string containting the (abbreviated) name of the reverse primer (like it occurs in the fasta file, defaults to 27F) |
fastas_only |
if you do not want merging to occur but want separate fasta files to be spitted out for downstream processing in e.g. BioEdit. ( defaults to FALSE) |
resfolder |
name of the folder to put the results in (defaults to "Results/") |
verbose |
print out progress (defaults to FALSE) |
trim.cutoff |
sangeranalyseR::summarise.abi.folder argument (defaults to 5e-3) |
ncores |
number of cores for sangeranalyseR::summarise.abi.folder ( defaults to 2, and will be set to 1 on windows) |
mintrim |
minimal length of trimmed reads in the folder workflow to retain before merging (defaults to 300) |
... |
additional arguments passed on to BioStrings::readDNAStringSet or sangeranalyseR::summarise.abi.folder in case inputfile==NULL and inputfolder is specified |
either a list of the consensus reads, forward and reverse reads or a summarised abi folder
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ##File-based workflow (LGC-preprocessed)
fastademoset <- system.file("extdata","sanger_demodata.txt",
package = "CMETNGS",mustWork = TRUE)
consensusres <- Analyze_Sangers(inputfile=fastademoset,fwd_suffix="F",
rev_suffix="R",primerFname="27F",
primerRname="1492R",verbose=TRUE)
##File-based workflow for DSP in BioEdit
fastares <- Analyze_Sangers(inputfile=fastademoset,fwd_suffix="F",
rev_suffix="R",fastas_only=TRUE)
##Folder-based workflow
# TODO: find proper example set
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.