Skip to content

Example bioinformatics workflow with targets, conda, and docker

License

Notifications You must be signed in to change notification settings

joelnitta/targets_bioinfo_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

targets_bioinfo_example

This shows how the targets R package can be used to maintain a bioinformatics workflow.

This simple workflow downloads some paired-end reads and trims them with fastp.

Required software:

  • Conda
  • Docker

Running the example

  1. Create a conda environment for running R:
conda env create -f environment.yml
  1. Install all required R packages:
conda activate bioinfo-example-env
Rscript -e 'renv::restore()'
  1. Run the workflow:
Rscript -e 'targets::tar_make()'

At the end, you should see R1_trim.fq, R2_trim.fq, and trim_report.html in the project (working) directory.


For more information, see this blogpost.

About

Example bioinformatics workflow with targets, conda, and docker

Resources

License

Stars

Watchers

Forks

Languages