knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(floundeR) library(dplyr) library(kableExtra)
# using FAST5 included in package singleFast5 <- system.file("extdata", "single.fast5", package="floundeR") multiFast5 <- system.file("extdata", "multi.fast5", package="floundeR") # we can check if a file is a parseable FAST5 with floundeR::file.isFast5 singleF5 <- Fast5$new(fast5_file=singleFast5) multiF5 <- Fast5$new(fast5_file=multiFast5) # we can also test if the files correspond to single of multi entry FAST5s singleF5$is_single_fast5() multiF5$is_multi_fast5() singleF5$is_multi_fast5()
multiF5$get_platform() # let's also have a look at a PromethION dataset here promFast5 <- system.file("extdata", "prom.fast5", package="floundeR") promF5 <- Fast5$new(fast5_file=promFast5) promF5$get_platform()
# let's review the two different platforms that we have looked at above multiF5$get_flowcell_id() promF5$get_flowcell_id()
This is the proxy for hold old a dataset is and can be used to make decisions on how the data may be discarded for purposes of resequencing or rebasecalling.
promF5$get_exp_start_time()
promF5$get_read_count() singleF5$get_read_count()
promF5$get_flowcell_type() multiF5$get_flowcell_type()
promF5$get_sequencing_kit()
bulk_info <- multiF5$get_info(atomic=FALSE) knitr::kable(bulk_info, caption="Table showing the summary information pulled from FAST5", booktabs=TRUE, table.envir='table*', linesep="") %>% kable_styling(latex_options=c("hold_position", font_size=10)) %>% add_footnote(c("These data are expected to be redundant"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.