description <- readLines("DESCRIPTION") rvers <- stringr::str_match(grep("R \\(", description, value = TRUE), "[0-9]{1,4}\\.[0-9]{1,4}\\.[0-9]{1,4}")[1,1] version <- gsub(" ", "", gsub("Version:", "", grep("Version:", description, value = TRUE)))
knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
This is the development page of stackr.
stackr package provides wrapper functions to run STACKS (process_radtags, ustacks, cstacks, sstacks, tsv2bam, gstacks and populations) inside R.
run_process_radtags
(demultiplexing) : works better with multiple lanes and technical replicates inside or across chip/lanes are managed and accounted for.run_ustacks
(de novo assembly): manages STACKS unique integer (previously called SQL IDs) and can also do mismatch testing! Integrated inside run_ustacks
is a de novo mismatch threshold series function that generates tables and figures automatically to help you pick the appropriate thresholds.run_cstacks
(catalog)To try out the dev version of stackr, copy/paste the code below:
if (!require("devtools")) install.packages("devtools") devtools::install_github("thierrygosselin/stackr") library(stackr)
stackr package provides wrapper functions to run STACKS process_radtags, ustacks, cstacks, sstacks, tsv2bam, gstacks and populations inside R.
Below, a flow chart
showing the corresponding stacks modules and stackr corresponding functions.
To get the citation, inside R:
citation("stackr")
stackr is quite mature, i've used it for almost 8 years with dozens of projects, but changes are inevitable.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.