View source: R/file_loading_and_checking.R
file_loading_and_checking | R Documentation |
Loads the file containing DNA barcodes and analyze barcode content.
file_loading_and_checking(file)
file |
The input data file that contains 2 columns separated by a space or a tabulation, namely the sequence identifiers and corresponding DNA sequence. |
This function loads the DNA barcodes from the input file and checks barcodes for unicity (identifier and sequence), DNA content, and equal size. It also calculates the fraction of G and C relative to A and T, as referred to as "GC content", and it detects the presence of homopolymers of length >= 3.
A dataframe containing sequence identifiers, nucleotide sequence, GC content, presence of homopolymers.
write.table(DNABarcodeCompatibility::IlluminaIndexesRaw,
txtfile <- tempfile(), row.names = FALSE, col.names = FALSE, quote=FALSE)
file_loading_and_checking(txtfile)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.