# NOT RUN {
#previously run
excess_string = paste0("CCCCCC", example_nt_string_errors,
"CCCCCCCC", collapse="")
ex_data = DNAseq(excess_string, name = 'ex1')
ex_data = frame(ex_data)
ex_data = adjust(ex_data)
#build output sequence with trimmed edges
ex_data = outseq(ex_data, keep_flanks = TRUE)
ex_data$outseq #view the output sequence, edges were reattached
#you will avoid data loss on edge of sequence, but errors in edge, or
#off target sequence will be present in the output
#
#build output sequence with only the COI-5P region
ex_data = outseq(ex_data, keep_flanks = FALSE)
ex_data$outseq #view the output sequence
#Ns added to the front to buffer trimmed region
#Note some sequence is lost due to the strange
#path match that occurs at the front of the sequence.
ex_data$data$path
# }
Run the code above in your browser using DataLab