Some tools need to be installed locally before running the pipeline for some functions (not all are mandatory, depending on your analysis):
-
Probably neccessary for most analysis:
-
May be necessary depending on your analysis:
MiscMetabar functions can test for the presence of some of this tools (MiscMetabar::is_cutadapt_installed(), MiscMetabar::is_vsearch_installed(), ...).
git clone git@github.com:adrientaudiere/bioinfo.starter.git name_analyse
cd name_analyse
git checkout -b name_analyse- Replace
data/data_raw/metadata/sam_data.csvwith good metadata file.- Must be a true comma separated csv. If you prefer tabulation or ; you may want to add parameter to function
sam_data_matching_names(). - The name of the file and the the column names indicating the samples are defined at the start of the
_targets.Rfile
- Must be a true comma separated csv. If you prefer tabulation or ; you may want to add parameter to function
- Copy fastq files in
data/data_raw/rawseq - Add references database in
data/data_raw/refseq - Modify the
_targets.Rfiles (at least modify primers sequences and name of the reference database) - Modify (if necessary) params
pattern_remove_sam_dataandpattern_remove_fastq_filesto make matching fastq files and sample names in metadata - Modify, add, supress the analysis quarto reports (*.qmd)
git clone https://github.com/frederic-mahe/mumu.git
cd ./mumu/
make
make check
make install # as root or sudoinstall.packages("pak")
pak::local_install_deps(dependencies = TRUE)
fastqcr::fastqc_install() # install fastqc for UNIX system (Linux and macOS)if (!require("devtools", quietly = TRUE)) {
install.packages("devtools")
}
devtools::install_github("adrientaudiere/greenAlgoR")targets::tar_make()pak::local_install_deps(dependencies = TRUE)
quarto::quarto_render()quarto::quarto_render(here::here("analysis/01_bioinformatics.qmd"))bioinfo.starter is inspired by:
- {rrtools} developed by Ben Marwick et al.
- {lumo} developed by Yan Holtz.
- {rcompendium} developed by Nicolas Casajus.
- The Turing way recommendation