SangerAlignment Level
" }`SangerContig Level
SangerRead Level
library(sangeranalyseR)
r params$outputDir
if (params$SangerContig@inputSource == "ABIF" && !is.null(params$SangerContig@parentDirectory)) {
cat("<li>**Input Parent Directory : ** <span><i>", params$SangerContig@parentDirectory, "</i></span></li>")
} else if (params$SangerContig@inputSource == "FASTA" && !is.null(params$SangerContig@fastaFileName) && !is.null(params$SangerContig@namesConversionCSV)){
cat("<li>**Fasta File Name : ** <span><i>", params$SangerContig@fastaFileName, "</i></span></li>")
if (!is.null(params$SangerContig@namesConversionCSV)) {
cat("<li>**Filename Conversion CSV : ** <span><i>", params$SangerContig@namesConversionCSV, "</i></span></li>")
}
}
r basename(params$SangerContig@contigName)
r params$SangerContig@trimmingMethodSC
r params$SangerContig@suffixForwardRegExp
r length(params$SangerContig@forwardReadList)
r params$SangerContig@suffixReverseRegExp
r length(params$SangerContig@reverseReadList)
r params$SangerContig@minReadsNum
r params$SangerContig@minReadLength
r params$SangerContig@minFractionCall
r params$SangerContig@maxFractionLost
r params$SangerContig@acceptStopCodons
r params$SangerContig@readingFrame
Any scripts or data that you put into this service are public. Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.
Primary Sequence
if (params$colors == "default") {
A_color = "#1eff00"
T_color = "#ff7a7a"
C_color = "#7ac3ff"
G_color = "#c9c9c9"
unknown_color = "purple"
} else if (params$colors == "cb_friendly") {
A_color = rgb(122, 122, 122, max = 255)
T_color = rgb(199, 199, 199, max = 255)
C_color = rgb(0, 114, 178, max = 255)
G_color = rgb(213, 94, 0, max = 255)
unknown_color = rgb(204, 121, 167, max = 255)
} else {
A_color = colors[1]
T_color = colors[2]
C_color = colors[3]
G_color = colors[4]
unknown_color = colors[5]
}
contigSeq <- unlist(strsplit(as.character(params$SangerContig@contigSeq), ""))
contigSeqDF <- data.frame(t(data.frame(contigSeq)), stringsAsFactors = FALSE)
colnames(contigSeqDF) <- substr(colnames(contigSeqDF), 2, 100)
rownames(contigSeqDF) <- NULL
AstyleList <- SetCharStyleList(contigSeqDF, "A", A_color)
TstyleList <- SetCharStyleList(contigSeqDF, "T", T_color)
CstyleList <- SetCharStyleList(contigSeqDF, "C", C_color)
GstyleList <- SetCharStyleList(contigSeqDF, "G", G_color)
styleList <- c(AstyleList, TstyleList, CstyleList, GstyleList)
suppressWarnings(suppressMessages(
excelTable(data = contigSeqDF, defaultColWidth = 30,
editable = FALSE, rowResize = FALSE,
columnResize = FALSE, allowInsertRow = FALSE,
allowInsertColumn = FALSE, allowDeleteRow = FALSE,
allowDeleteColumn = FALSE, allowRenameColumn = FALSE,
style = styleList, loadingSpin = TRUE, autoWidth = FALSE)
))
Genetic Code
Reference Amino Acid Sequence
Reads Alignment
Difference Data Frame
Distance Matrix
Dendrogram
Indels Data Frame
Stop Codons
Secondary Peak Data Frame
Forward Read Reports
wzxhzdk:13
wzxhzdk:14
Reverse Read Reports
wzxhzdk:15
wzxhzdk:16
Back to \'SangerAlignment Report\'')}`
Try the sangeranalyseR package in your browser