Table of content
- General
- Courses
- Some biology
- Some statistics
- linear algebra
- Learning Latex
- Linux commands
- Do not give me excel files!
- How to name files
- parallelization
- Statistics
- Data transfer
- Website
- profile R code
- updating R
- Better R code
- Shiny App
- R tools for data wrangling, tidying and visualizing.
- Genomic data visulization
- Sankey graph
- Handling big data in R
- Write your own R package
- Documentation
- handling arguments at the command line
- visualization in general
- Javascript
- python tips and tools
- machine learning
- Amazon cloud computing
- Genomics-visualization-tools
- Databases
- Large data consortium data mining
- Integrative analysis
- Interactive visualization
- Tutorials
- MOOC(Massive Open Online Courses)
- git and version control
- blogs
- data management
- Automate your workflow, open science and reproducible research
- Survival curve
- Organize research for a group
- Clustering
- CRISPR related
- vector arts for life sciences
- So you want to be a computational biologist?
- Ten simple rules for biologists learning to program
- Scientific computing: Code alert Nature News.
- Some drawings about programming Very nice cartoon demonstrating useful concepts. https://wizardzines.com/
- Practical computing for biologist. One of my first books to get me started in coding.
- ModernDive An Introduction to Statistical and Data Sciences via R
- DevOps for Data Science A free ebook on DevOps for data science.
- Introduction to Data Science by Rafael A. Irizarry.
- Learning Statistics with R
- Hands-on Machine Learning with R
- Reproducible Research Workflows with Snakemake and R
- The Biologist’s Guide to Computing A book written by @tjelvar_olsson
- A Primer for Computational Biology A nice book from Oregon State University. You can get a hard copy on Amazon https://www.amazon.com/Primer-Computational-Biology-Shawn-ONeil/dp/0870719262.
- Computational Genomics With R A nice book from Altuna Akalin.
- Modern Statistics for Modern Biology written by Prof. Susan Holmes from Stanford. I plan to read through it. a nice book using R for modern biology! looks awesome!
- Introduction to Data Science A book by Tiffany-Anne. TimbersTrevor and CampbellMelissa Lee.
- An Introduction To Applied Bioinformatics Interactive lessons in bioinformatics. http://www.readiab.org/introduction.html
- Feature Engineering and Selection: A Practical Approach for Predictive Models by Kuhn and Johnson https://bookdown.org/max/FES
- Agile Data Science with R
- Offensieve programming book in R.
- The Biostar Handbook: A Beginner's Guide to Bioinformatics I am honored to be a co-author of this book. My ChIP-seq section was released by the mid of 2017.
- Beginner's Handbook to Next Generation Sequencing Everything you need to know about starting a sequencing project
- Another Book on Data Science:Learn R and Python in Parallel compares R and python side by side.
- A New Online Computational Biology Curriculum PLOS genetics paper.
- Bioinformatics core competencies for undergraduate life sciences education
- PH525x series - Biomedical Data Science The best course to get you started with genomics using R. I have taken 3 times for the same course to get a deep understanding of the concepts and R commands. Now everything can be found here from Rafael Irizarry lab: http://rafalab.github.io/pages/harvardx.html
- The Bioconductor 2018 Workshop Compilation very rich!
- Bioconductor for Genomics Data sciences Coursera course.
- bioc workflow genomic annotation
- Expanding the computational toolbox for mining cancer genomes Nature Review.
- some repos from command line to rstats and github
- 2016 review Coming of age: ten years of next-generation sequencing technologies
- Cancer genomics — from bench to bedside: review papers from Nature
- SequencEnG: an Interactive Knowledge Base of Sequencing Techniques
- Research Software Engineering with Python Building software that makes research possible. From Greg Wilson and Carpentries folks.
- Research Software Engineering with R Building software that makes research possible
- The Missing Semester of Your CS Education These MIT Classes teach you all about advanced topics within CS, from operating systems to machine learning, but there’s one critical subject that’s rarely covered, and is instead left to students to figure out on their own: proficiency with their tools. We’ll teach you how to master the command-line, use a powerful text editor, use fancy features of version control systems, and much more!
- Bioinformatics training materials from https://bioinformatics.babraham.ac.uk/training.html I like the Inkscape tutorial too
- applied computational genomics by Aaron Quinlan, the creator of bedtools and many other cool tools.
- BMMB 852: Applied Bioinformatics (Fall, 2016) by Istvan Albert, the creator of biostars.
- JHU EN.600.649: Computational Genomics: Applied Comparative Genomics by Michael Schatz.
- Introduction to Computational Biology by Mike Love.
- Advanced Data Science by Jeff Leek.
- Data Science for Biological, Medical and Health Research: Notes for 431: R focused
- Various TeachingMaterial collected by Laurent Gatto.
- NGS sequence analysis
- bioinformatics-workbook
- Reproducible Quantitative Methods from Mozilla science lab.
- bio-info courses
- MIT Computational Biology: Genomes, Networks, Evolution, Health - Fall 2018 - 6.047/6.878/HST.507by Manolis Kellis
- MIT machine learning in Genomics by Manolis Kellis.
- MIT linear algebra course by Gilbert Strang
- A 2020 Vision of Linear Algebra by Gilbert Strang
- Generalized Additive Models in R This short course will teach you how to use these flexible, powerful tools to model data and solve data science problems. GAMs offer offer a middle ground between simple linear models and complex machine-learning techniques, allowing you to model and understand complex systems.
- Feature Engineering and Selection: A Practical Approach for Predictive Models
- Tidy Modeling with R
If you are from fields outside of biology, places to get you started:
- An Owner's Guide to the Human Genome: an introduction to human population genetics, variation and disease by Jonathan Pritchard, Stanford University
- Tales from the Genome A course by Udacity and 23andMe.
- The Biology of Cancer A classic text book by Robert A. Weinberg. A must read for all cancer biologists.
- Molecular Biology of the Cell A text book
- Learn Genetics from University of Utah learning center.
- iBiology offers several different types of courses
- courses from khanacademy.org
- genomics for software engineer
- Elements of Statistical Modeling for Experimental Biology by Jeffrey A. Walker.I plan to read this one!!
- seeing theory The goal of the project is to make statistics more accessible to a wider range of students through interactive visualizations.
- Points of Significance: Interpreting P values
- statistics for biologists
- Advanced Statistical Computing by Roger Peng.
- fiveMinuteStats
- Learning Statistics with R
- Statistical Modeling of High Dimensional Counts by Mike love on RNAseq counts modeling.
- Mixed models in R: a primer
- Introduction to linear mixed models
- MIXED EFFECTS COX REGRESSION
- GLMM FAQ
- mixed model/hierachical model visualized
- A brief introduction to mixed effects modelling and multi-model inference in ecology
- Essence of linear algebra by threebrownoneblue
- 18.06 from Gilbert Strang
- Matrix Methods in Data Analysis, Signal Processing, and Machine Learning from Gilbert Strang
- Introduction to Applied Linear Algebra – Vectors, Matrices, and Least Squaresusing Julia language.
- Common statistical tests are linear models (or: how to teach stats)
- Course materials for applied regression STATS191 stanford
- Bayes Rules! An Introduction to Bayesian Modeling with R
- Introduction to Bayesian Statistics STATS331 from Brendon Brewer.
- Introduction to Empirical Bayes by David Robinson using baseball examples.
- Statistical Rethinking github link https://github.com/rmcelreath/statrethinking_winter2019 Julia code https://shmuma.github.io/rethinking-2ed-julia/
- Bayesian Data Analysis demos for R
- Doing Bayesian Data Analysis in brms and the tidyverse a book.
- Probabilistic-Programming-and-Bayesian-Methods-for-Hackers
- draw your symbols
- The Best Way to Support LaTeX Math in Markdown with MathJax
- TinyTeX A lightweight, cross-platform, portable, and easy-to-maintain LaTeX distribution based on TeX Live
- Math expression http://www.math.mcgill.ca/yyang/regression/RMarkdown/example.html
- intro to Latex2 chapter 3
- The Bates LaTeX Manual
-
A Bioinformatician's UNIX Toolbox from Heng Li
-
command line bootcamp teaches you unix command step by step
-
Unix in your browser. Maybe useful for teaching bash?
-
sshx A secure web-based, collaborative terminal https://sshx.io/ useful for teaching
-
Use the Unofficial Bash Strict Mode (Unless You Looove Debugging)
-
Defensive BASH Programming very good read for bash programming.
-
process substitution: Using Names Pipes and Process Substitution in Bioinformatics Handy Bash feature: Process Substitution
-
Commonly used commands for PBS scheduler:Monitoring and Managing Your Job
-
test your unix skills at cmd challenge
-
people say awk is not part of bioinformats :) Still very useful parsing plain text files. Steve's Awk Academy
-
intro-bioinformatics: Website and slides for intro to bioinformatics class at Fred Hutch
-
tmate:Instant terminal sharing
-
tmux is a terminal multiplexer similar to
screen
but have more features. tmux cheatsheet
tmux config
tmux install without root
Theory and quick reference
There are 3 file descriptors, stdin, stdout and stderr (std=standard).
Basically you can:
redirect stdout to a file redirect stderr to a file redirect stdout to a stderr redirect stderr to a stdout redirect stderr and stdout to a file redirect stderr and stdout to stdout redirect stderr and stdout to stderr 1 'represents' stdout and 2 stderr. A little note for seeing this things: with the less command you can view both stdout (which will remain on the buffer) and the stderr that will be printed on the screen, but erased as you try to 'browse' the buffer.
- stdout 2 file
This will cause the ouput of a program to be written to a file.
ls -l > ls-l.txt
Here, a file called 'ls-l.txt' will be created and it will contain what you would see on the screen if you type the command 'ls -l' and execute it.
- stderr 2 file
This will cause the stderr ouput of a program to be written to a file.
grep da * 2> grep-errors.txt
Here, a file called 'grep-errors.txt' will be created and it will contain what you would see the stderr portion of the output of the 'grep da *' command.
- stdout 2 stderr
This will cause the stderr ouput of a program to be written to the same filedescriptor than stdout.
grep da * 1>&2
Here, the stdout portion of the command is sent to stderr, you may notice that in differen ways.
- stderr 2 stdout
This will cause the stderr ouput of a program to be written to the same filedescriptor than stdout.
grep * 2>&1
Here, the stderr portion of the command is sent to stdout, if you pipe to less, you'll see that lines that normally 'dissapear' (as they are written to stderr) are being kept now (because they're on stdout).
- stderr and stdout 2 file
This will place every output of a program to a file. This is suitable sometimes for cron entries, if you want a command to pass in absolute silence.
rm -f $(find / -name core) &> /dev/null
This (thinking on the cron entry) will delete every file called 'core' in any directory. Notice that you should be pretty sure of what a command is doing if you are going to wipe it's output.
- change permissions of files
each digit is for: user, group and other.
chmod 754 myfile
: this means the user has read, write and execute permssion; member in the same group has read and execute permission but no write permission; other people in the world only has read permission.
4 stands for "read",
2 stands for "write",
1 stands for "execute", and
0 stands for "no permission."
So 7 is the combination of permissions 4+2+1 (read, write, and execute), 5 is 4+0+1 (read, no write, and execute), and 4 is 4+0+0 (read, no write, and no execute).
It is sometimes hard to remember. one can use the letter:The letters u, g, and o stand for "user", "group", and "other"; "r", "w", and "x" stand for "read", "write", and "execute", respectively.
chmod u+x myfile
chmod g+r myfile
- scary-excel-stories
- VisiDatais an interactive multitool for tabular data. It combines the clarity of a spreadsheet, the efficiency of the terminal, and the power of Python, into a lightweight utility which can handle millions of rows with ease.
- convert xlsx to csv: xlsx2csv
- csvkit
- csvtk A complete .csv/.tsv toolkit including join command.
- GNU datamash
- tabtk Toolkit for processing TAB-delimited format from Heng Li, the author of
Samtools
,BWA
and many others. - miller is a command-line tool for querying, shaping, and reformatting data files in various formats including CSV, TSV, JSON, and JSON Lines.
- xsv A fast CSV toolkit written in Rust.
- Going from a human readable Excel file to a machine-readable csv with {tidyxl}
- eBay's TSV Utilities: Command line tools for large, tabular data files. Filtering, statistics, sampling, joins and more. https://ebay.github.io/tsv-utils/
It is really important to name your files correctly! see a ppt by Jenny Bryan.
Three principles for (file) names:
- Machine readable (do not put special characters and space in the name)
- Human readable (Easy to figure out what the heck something is, based on its name, add slug)
- Plays well with default ordering:
-
Put something numeric first
-
Use the ISO 8601 standard for dates (YYYY-MM-DD)
-
Left pad other numbers with zeros
If you have to rename the files...
- brename A cross-platform command-line tool for safely batch renaming files/directories via regular expression (supporting Windows, Linux and OS X) from ShenWei is very useful!
Good naming of your files can help you to extract meta data from the file name
- dirdf Create tidy data frames of file metadata from directory and file names.
> dir("examples/dataset_1/")
[1] "2013-06-26_BRAFWTNEG_Plasmid-Cellline-100_A01.csv"
[2] "2013-06-26_BRAFWTNEG_Plasmid-Cellline-100_A02.csv"
[3] "2014-02-26_BRAFWTNEG_FFPEDNA-CRC-1-41_D08.csv"
[4] "2014-03-05_BRAFWTNEG_FFPEDNA-CRC-REPEAT_H03.csv"
[5] "2016-04-01_BRAFWTNEG_FFPEDNA-CRC-1-41_E12.csv"
> library("dirdf")
> dirdf("examples/dataset_1/", template="date_assay_experiment_well.ext")
date assay experiment well ext pathname
1 2013-06-26 BRAFWTNEG Plasmid-Cellline-100 A01 csv 2013-06-26_BRAFWTNEG_Plasmid-Cellline-100_A01.csv
2 2013-06-26 BRAFWTNEG Plasmid-Cellline-100 A02 csv 2013-06-26_BRAFWTNEG_Plasmid-Cellline-100_A02.csv
3 2014-02-26 BRAFWTNEG FFPEDNA-CRC-1-41 D08 csv 2014-02-26_BRAFWTNEG_FFPEDNA-CRC-1-41_D08.csv
4 2014-03-05 BRAFWTNEG FFPEDNA-CRC-REPEAT H03 csv 2014-03-05_BRAFWTNEG_FFPEDNA-CRC-REPEAT_H03.csv
Using these tool will greatly improve your working efficiency and get rid of most of your for loops
.
- xargs
- GNU parallel. one of my post here
- gxargs by Brent Pedersen. Written in GO.
- rush A cross-platform command-line tool for executing jobs in parallel by Shen Wei. I use his other tools such as
brename
andcsvtk
. - future: Unified Parallel and Distributed Processing in R for Everyone
- furrr Apply Mapping Functions in Parallel using Futures
- Essence of linear algebra
- statistics for biologists A collection of Nature articles on statistics in biology.
- keep an eye on the dat project! https://blog.datproject.org/2018/04/24/data-sharing-at-institutions-and-beyond-with-dat/
a blog post by Mark Ziemann http://genomespot.blogspot.com/2018/03/share-and-backup-data-sets-with-dat.html
- rmarkdown website
- A step by step tutorial
- Up and running with blogdown
- summer of blogdown
- bookdown advanced slide
- make a hugo blog from scratch to understand Hugo if you use blogdown.
- Tips for using the Hugo academic theme
- Custom domain hosting with Github and Namecheap
- MkDocs is a fast, simple and downright gorgeous static site generator that's geared towards building project documentation. Documentation source files are written in Markdown, and configured with a single YAML configuration file.
- R upgrading can be a smooth process
- updating R a blog post by L. Collado-Torres.
- update your R version in a breeze ( on OSX)
- updating R
# Install new version of R (lets say 3.5.0 in this example)
# Create a new directory for the version of R
fs::dir_create("~/Library/R/3.5/library")
# Re-start R so the .libPaths are updated
# Lookup what packages were in your old package library
pkgs <- fs::dirname(fs::dir_ls("~/Library/R/3.4/library"))
# Filter these packages as needed
# Install the packages in the new version
install.packages(pkgs)
- assertr
- Tools for Working with ...
- here
- Inline testthat tests with roxygen2:roxytest
- Non-invasive pretty printing of R code: styler
- Static Code Analysis for R: lintr It checks adherence to a given style, syntax errors and possible semantic issues
- Make R a little bit stricter: strict also readoffensive programming Book
- [Omicsplayground[https://github.com/bigomics/omicsplayground]
- A Framework for Building Robust Shiny Apps golem
- [bootstrapllib}(https://rstudio.github.io/bootstraplib/) Tools for styling shiny and rmarkdown from R via Bootstrap (3 or 4) Sass
- The Shiny AWS Book How to set up Shiny in AWS
- imolaBridging the gap between R/shiny and CSS layouts (grid and flexbox)!
- profvis Interactive Visualizations for Profiling R Code.
- proffer The proffer package profiles R code to find bottlenecks.
- rco - The R Code Optimizer Make your R code run faster! rco analyzes your code and applies different optimization strategies that return an R code that runs faster.
- Common statistical tests are linear models (or: how to teach stats)
- What They Forgot to Teach You About R by Jennifer Bryan, Jim Hester. you know it is good. Rstudio2020 https://rstudio-conf-2020.github.io/what-they-forgot/
- An R package for simple but efficient rowwise jobs https://courtiol.github.io/lay/
- Fundamentals of Data Visualization by Claus O. Wilke.
- from data to vis From Data to Viz leads you to the most appropriate graph for your data. It links to the code to build it and lists common caveats you should avoid.
- Rmarkdown cookbook
- Data Visualization: A practical introduction A book by Kieran Healy from Duke University. Nice one to have!
- Functional programming and unit testing for data munging with R
- R workshops some resources for R related materials.
- RStartHere A guide to some of the most useful R Packages that we know about, organized by their role in data science.
- biobroom:Turn Bioconductor objects into tidy data frames
- readr
- visdat visualizing your missing data and more.
- tidyr
- stringr
- glue Glue strings to data in R. Small, fast, dependency free interpreted string literals
- purrr tutorial by jenny bryan. functional programming in R.
- Row-oriented workflows in R with the tidyverse
pmap
is your friend :) - janitor simple tools for data cleaning in R.
- tidyeval resources
- Rstudio tidyeval video
- Tidy evaluation, most common actions
- Tidy Eval Meets ggplot2 a blog post.
- Tidy evaluation in ggplot2 from tidyverse.
- tidyeval patterns
- Tidy eval now supports glue strings
- Non-standard evaluation, how tidy eval builds on base R
- My First Steps into The World of Tidy Eval
- tidyeval shiny app
- tidyeval bookdown
- reusing tidyverse code
- dplry
- set_na_where(): a nonstandard evaluation use case
- programming with dplyr A great read on non-standard evaluation, quoating and qusiquotation. then the following two packages help you to deal with that.
- best practices for programming with ggplot2
- replyr An R package for fluid use of dplyr.
- Introduction of Parameterized dplyr expression using replyr
- wrapr wraps R functions debugging and better standard evaluation.
Let
function. blog post wrapr: for sweet R code - Easy machine learning pipelines with pipelearner: intro and call for contributors github page
- plot ROC with tidyverse
- csv fingerprint
- ggplot2
- ggplot2 tips
- Demystifying ggplot2 Learn how to write ggplot2 extensions.
- A List of ggplot2 extensions
- using ggplot2 in packages
If you already know the mapping in advance (like the above example) you should use the .data pronoun from rlang to make it explicit that you are referring to the drv in the layer data and not some other variable named drv (which may or may not exist elsewhere). To avoid a similar note from the CMD check about .data, use #' @importFrom rlang .data in any roxygen code block (typically this should be in the package documentation as generated by usethis::use_package_doc()).
- If you know the mapping or facet specification is col in advance, use aes(.data$col) or vars(.data$col).
- If col is a variable that contains the column name as a character vector, use aes(.data[[col]] or vars(.data[[col]]).
- If you would like the behaviour of col to look and feel like it would within aes() and vars(), use aes({{ col }}) or vars({{ col }}).
- gghighlight: Highlight ggplot's Lines and Points with Predicates
- Anatomy of gghighlight
- nice ggplot themes
- ggsci offers a collection of ggplot2 color palettes inspired by scientific journals, data visualization libraries, science fiction movies, and TV shows.
- The goal of paletteer is to be a comprehensize collection (666!)of color palettes in R using a common interface
- randomcolR An R package for generating attractive and distinctive colors.
- colourpicker A colour picker tool for Shiny and for selecting colours in plots (in R). R blogger post
- ggforce: facet_zoom() to zoom in part of the figure! and many more.
- ggpubr: ‘ggplot2’ Based Publication Ready Plots. add pvalues. this saves me from customerizing my ggplot2 figures.
- op 50 ggplot2 Visualizations - The Master List (With Full R Code)
- kableExtra Construct Complex Table with knitr::kable() + pipe.
- ggedit – interactive ggplot aesthetic and theme editor.
- trelliscopejs is an R package that brings faceted visualizations to life while plugging in to common analytical workflows like ggplot2 or the “tidyverse”.
- Plotting background data for groups with ggplot2
- Ordering categories within ggplot2 facets
- plotly for R
- rematch2Tidy output from regular expression matches
- Make waffle (square pie) charts in R
- Bring the power of R to the command line: littler Rio A wrapper by Jeroen Janssens, the author of data science at the command line
- Complexheatmap my go-to package for static heatmaps.
- tidyheatmap based on complexheatmap.
- htmlwidgets for R including
d3heatmap
for interactive heatmaps. - focus() on correlations of some variables with many others
- Explore correlations in R with corrr
- Unit test in R
- sinaplot: an enhanced chart for simple and truthful representation of single observations over multiple classes.
ggforce
hasgeom_sina
for the same purpose. - complexHeatmaps
- superheat Another heatmap package worth learning besides
ComplexHeatmap
. Not as flexiable as ComplexHeatmap, but can be handy when the function you want has been implemented. - iheatmapr is an R package for building complex, interactive heatmaps using modular building blocks.
- heatmap:gapmap
- dendsort:Modular Leaf Ordering Methods for Dendrogram Nodes
- dendextend
- Interactive Heat Maps for R Using plotly
- Multiple plots on a page
- ggExtra
- cowplot -- An add-on to the ggplot2 plotting package
- ggplot2 - Easy way to mix multiple graphs on the same page - R software and data visualization
- Extract Tables from PDFs
- Alternative to venndiagram! upSetR
- hierarchicalSets
- Intervene is a tool for intersection and visualization of multiple gene or genomic region sets.
- In-depth introduction to machine learning in 15 hours of expert videos
- Data Analysis and Visualization Using RThis is a course that combines video, HTML and interactive elements to teach the statistical programming language R.
- dabestr dabestr is a package for Data Analysis using Bootstrap-Coupled ESTimation. https://github.com/ACCLAB/dabestr
- These are the course notes for the Monash Bioinformatics Platform’s “R More” course
- gitbook: Getting used to R, RStudio, and R Markdown
- Technical Foundations of Informatics a free book to teach you R and many others.
- Efficient R programming
- R for Data Science by Garrett Grolemund and Hadley Wickham
- karyoploteR Really powerful and versatile tool.
- Bentobox BentoBox empowers users to programmatically and flexibly generate multi-panel figures.
- ggalluvial
- ggforce
geom_parallel_sets()
- easyalluvial
- A data.table and dplyr tour A blog post compare dplyr and data.table side by side.
- Lightning Fast Serialization of Data Frames for R faster than
data.table
,feather
. - Rpub post: Handling large data sets in R
- The disk.frame package aims to be the answer to the question: how do I manipulate structured tabular data that doesn’t fit into Random Access Memory (RAM)
dtplyr
andtidyfast
are teaming up (well, at least in this blog post)- Fast reading of delimited files with vroom The fastest delimited reader for R, 1.40 GB/sec/sec.
- stash: Naive on-disk caching in R
- qs: Quick serialization of R objects
- The fst package for R provides a fast, easy and flexible way to serialize data frames. With access speeds of multiple GB/s, fst is specifically designed to unlock the potential of high speed solid state disks that can be found in most modern computers. Data frames stored in the fst format have full random access, both in column and rows.
- The arrow package exposes an interface to the Arrow C++ library to access many of its features in R. This includes support for analyzing large, multi-file datasets (open_dataset()), working with individual Parquet (read_parquet(), write_parquet()) and Feather (read_feather(), write_feather()) files, as well as lower-level access to Arrow memory and messages.
- dm: Working with relational data models in R. Use it today (if only like a list of tables). Build data models tomorrow. Deploy the data models to your organization’s RDBMS the day after.
- R packages book from Hadely.
- rpackages from Jeff Leek.
- WRITING R PACKAGES IN RSTUDIO TUTORIAL ADAPTED FROM STIRLINGCODINGCLUB.GITHUB.IO
- R package development This workshop was created by COMBINE, an association for Australian students in bioinformatics, computational biology and related fields.
- usethis workflow for package development
- Developing R Packages with usethis and GitLab CI: Part I
- Writing an R package from scratch a blog post.
- available helps you name your R package
- goodpractice An R package on Advice on R packages.
- R package primer: a minimal tutorial
- Write your own R package
- R packages a book by Hadley Wickham.
- Developing R packages from Jeff leek.
- Sinew is a R package that generates a roxygen2 skeleton populated with information scraped from the function script.
- Automatic tools for improving R packages
devtools:spell_check()
goodpractice:gp()
andpkgdown:build_site()
. - blog post How to develop good R packages (for open science)
- Easy and efficient debugging for R packages: debugme
- Non-invasive pretty printing of R code
- usethis The goal of usethis is to automate many common package and analysis setup tasks.
- Mastering Software Development in R by Roger Peng et.al.
- The tidyverse style guide by Hadley Wickham.
- submitting your package to bioconductor
- This is a must read for writing good documentations: A blog post. I saved it to a pdf and uploaded to this repo.
- docopt.R tutorial
- python version
- Generate a CLI tool from a Python module/function
- Introducing Python Fire, a library for automatically generating command line interfaces
- Patterns and anti-patterns for writing command-line bioinformatics software by Titus.
- Nature Methods point of view data visulization
- A tutorial for the free Inkscape cross-platform vector graphics editor
- gimp for bit-map based figures.
- data vis resource from Sabah
- Ten simple rules to colorize biological data visualization
- JavaScript versus Research Computing from Greg Wilson, the founder of software carpentry.
- some nice free python books: Think python etc
- python learning resources
- Interactive python nice interactive books help you learn python.
- 30 Python Language Features and Tricks You May Not Know About
- intermediatePython
- The Hitchhiker’s Guide to Python!
- Python 3 for Scientists
- Python FAQ: Why should I use Python 3?
- gitbook: Computational and Inferential Thinking; The Foundations of Data Science
- A collection of python courses online
- tpot:A Python tool that automatically creates and optimizes machine learning pipelines using genetic programming.
- Easy to use Python API wrapper to plot charts with matplotlib, plotly, bokeh and more:chartpy creates a simple easy to use API to plot in a number of great Python chart libraries like plotly (via cufflinks), bokeh and matplotlib, with a unified interface. You simply need to change a single keyword to change which chart engine to use (see below), rather than having to learn the low level details of each library.
- Top 8 resources for learning data analysis with pandas
- Jupyter Notebooks for the Python Data Science Handbook
- kiteThe smart copilot for programmers. works with atom, sublime, vim and emacs!
There are many online web based tools for visualization of (cancer) genomic data. I put my collections here. I use R for visulization. see a nice post by using python by Radhouane Aniba:Genomic Data Visualization in Python
- UCSC cancer genome browser It has many data including TCGA data buit in, and can be very handy for both bench scientist and bioinformaticians.
- UCSC Xena. A new tool developed by UCSC team as well. Poteintially very useful, but need more tutorials to follow.
- UCSC genome browser. One of the most famous genome browser and my favoriate. Every person studying genetics, genomics and molecular biology needs to know how to use it. Tutorials from OpenHelix.
- Epiviz 3 is an interactive visualization tool for functional genomics data. It supports genome navigation like other genome browsers, but allows multiple visualizations of data within genomic regions using scatterplots, heatmaps and other user-supplied visualizations.
- Mutation Annotation & Genome Interpretation TCGA: MAGA
- GeneProteinViz (GPViz) is a versatile Java-based software for dynamic gene-centered visualization of genomic regions and/or variants.
- ProteinPaint: Web Application for Visualizing Genomic Data The software developed for this project highlights critical attributes about the mutations, including the form of protein variant (e.g. the new amino acid as a result of missense mutation), the name of sample from which the mutation was identified, whether the mutation is somatic or germline,
- protein-protein interaction databases
- A compilation of protein-protein interaction resources Akhilesh Bajpai and Sravanthi Davuluri (Correspondence: Acharya KK, [email protected])
- DisGeNET is a discovery platform integrating information on gene-disease associations (GDAs) from several public data sources and the literature
- Cancer3D is a database that unites information on somatic missense mutations from TCGA and CCLE, allowing users to explore two different cancer-related problems at the same time: drug sensitivity/biomarker identification and prediction of cancer drivers
- UCSCXenaTools An R package for accessing genomics data from UCSC Xena platform, from cancer multi-omics to single-cell RNA-seq
- PharmacoGx Contains a set of functions to perform large-scale analysis of pharmacogenomic data. public data sets such as CCLE can be easily downloaded!
- clinical intepretations of variants in cancer
- R Wrapper for DGIdb Drug-gene interaction database.
- BioGrid Welcome to the Biological General Repository for Interaction Datasets
- The IUPHAR/BPS Guide to PHARMACOLOGY in 2016: towards curated quantitative interactions between 1300 protein targets and 6000 ligands
- Public data and open source tools for multi-assay genomic investigation of disease
- cancer cell metabolism genes
- oncogenes and tumor suppressors biostar post and TSgene
- DriverDB: A database for cancer driver gene/mutation
- Interaction of genes: GENEMANIA
- DATA DISCOVERY PLATFORM:Designed for researchers who use, share and collaborate on human genomic data
- zenodo: research shared
- dataMed biomedical and healthCAre Data Discovery Index Ecosystem.
- repostive Discover a better way of searching for genomic data.
- The NCI's Genomic Data Commons (GDC) provides the cancer research community with a unified data repository that enables data sharing across cancer genomic studies in support of precision medicine. A copy of TCGA and TARGET data? Data Release Notes
- OASIS genomics from Pfizer. processed data from TCGA, CCLE, GTEx.
- TCGA alternative splicing
- ISOexpresso: a web-based platform for isoform-level expression analysis in human cancer
- omics databse The Omics Discovery Index (OmicsDI) provides dataset discovery across a heterogeneous, distributed group of Transcriptomics, Genomics, Proteomics and Metabolomics data resources spanning eight repositories in three continents and six organisations, including both open and controlled access data resources. The resource provides a short description of every dataset: accession, description, sample/data protocols biological evidences, publication, etc. Based on these metadata, OmicsDI provides extensive search capabilities, as well as identification of related datasets by metadata and data content where possible. In particular, OmicsDI identifies groups of related, multi-omics datasets across repositories by shared identifiers.
- MAGI Mutation Annotation &Genome Interpretation for TCGA data.
- How to successfully apply for access to dbGaP
- Human cell Atlas some preview data sets https://preview.data.humancellatlas.org/
- DepMap A Cancer Dependency Map to systematically identify genetic and pharmacologic dependencies and the biomarkers that predict them.
- AnnotationHub bioconductor package for TCGA and epigenome roadmap, ENCODE project.
- TCGAbiolinks bioconductor package.
- GenomicDataCommons bioc package to acess GDC.
- RTCGA bioconductor
- f1000 workflow paper TCGA Workflow: Analyze cancer genomics and epigenomics data using Bioconductor packages
- paper Data mining The Cancer Genome Atlas in the era of precision cancer medicine
- CrossHub: a tool for multi-way analysis of The Cancer Genome Atlas (TCGA) in the context of gene expression regulation mechanisms.
- Ferret, a User-Friendly Java Tool to Extract Data from the 1000 Genomes Project
- EGA:European Genome-phenome Archive
- survival curves for TCGA data: a simple web tool
- Genetic determinants of cancer patient survival http://survival.cshl.edu/. https://twitter.com/jsheltzer/status/1150828456340574209?s=12 "..in some papers and presentations, biologists will use TCGA survival curves showing that their favorite gene is associated with poor prognosis to argue that their gene is super-important. This is weak evidence. Prognostic biomarkers are not necessarily strong cancer drivers"
- AACR Project GENIE data guide
- High-dimensional genomic data bias correction and data integration using MANCIE correct batch effects for data from different sequencing methods. (RNAseq vs ChIPseq)
- Vega-lite A high-level grammar for visual analysis, built on top of Vega. Looks awesome!
- Introducing altair, an R interface to the Altair Python Package which you can use to build and render Vega-Lite chart-specifications.
- The goal of g(r)osling is to help you build interactive genomics visualizations with Gosling. This package uses reticulate to provide an interface to the Gos Python package.
- Ten quick tips for effective dimensionality reduction by Susan Holmes.
- PH525x series - Biomedical Data Science. Learn R and bioconductor.
- Principal Component Analysis Explained Visually
- PCA, MDS, k-means, Hierarchical clustering and heatmap. I wrote it.
- A tale of two heatmaps. I wrote it.
- Heatmap demystified. I wrote it.
- Cluster Analysis in R - Unsupervised machine learning very practical intro on STHDA website.
- I wrote on PCA, and heatmaps on Rpub
- A most read for clustering analysis for high-dimentional biological data:Avoiding common pitfalls when clustering biological data
- How does gene expression clustering work? A must read for clustering.
- How to read PCA plots for scRNAseq by VALENTINE SVENSSON.
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>See https://t.co/yxCb85ctL1: "MDS best choice for preserving outliers, PCA for variance, & T-SNE for clusters" @mikelove @AndrewLBeam
— Rileen Sinha (@RileenSinha) August 25, 2016
paper: Outlier Preservation by Dimensionality Reduction Techniques
"MDS best choice for preserving outliers, PCA for variance, & T-SNE for clusters"
-
Rtsne R package for T-SNE
-
rtsne An R package for t-SNE (t-Distributed Stochastic Neighbor Embedding) a bug was in
rtsne
: https://gist.github.com/mikelove/74bbf5c41010ae1dc94281cface90d32 -
t-SNE-Heatmaps Beta version of 1D t-SNE heatmaps to visualize expression patterns of hundreds of genes simultaneously in scRNA-seq.
-
PHATE dimensionality reduction method paper: http://biorxiv.org/content/early/2017/03/24/120378
-
Uniform Manifold Approximation and Projection (UMAP) is a dimension reduction technique that can be used for visualisation similarly to t-SNE, but also for general non-linear dimension reduction. The algorithm is founded on three assumptions about the data. Run from R: https://gist.github.com/crazyhottommy/caa5a4a4b07ee7f08f7d0649780832ef
-
umapr UMAP dimensionality reduction in R
-
Understanding UMAP very nice one to read!
-
Survival analysis of TCGA patients integrating gene expression (RNASeq) data
-
Tutorial: Machine Learning For Cancer Classification. It has four parts.
- The Open Source Data Science Masters
- Path to a free self-taught education in Data Science!
- Path to a free self-taught education in Bioinformatics!
- CODING CLUB TUTORIALS
- Udacity
- Coursera
- edx
- git intro by github
- How to Write a Git Commit Message
- Happy Git and GitHub for the useR A book by Jenny Bryan.
- learn git branching
- A Git Workflow Walkthrough Series
- paper:A Quick Introduction to Version Control with Git and GitHub
- paper:Ten Simple Rules for Taking Advantage of Git and GitHub
- software carpentry git novice lesson
- git best practise
- git-hub cheatsheet
- oh shit git! Git is hard: screwing up is easy, and figuring out how to fix your mistakes is fucking impossible. Git documentation has this chicken and egg problem where you can't search for how to get yourself out of a mess, unless you already know the name of the thing you need to know about in order to fix your problem.
- How to undo (almost) anything with Git
- A guide for astronauts (now, programmers using Git) about what to do when things go wrong: git flight rules
- An opinionated intermediate/advanced Git book: git in practise
- shournal Note: for a more formal introduction please read Bashing irreproducibility with shournal on bioRxiv. Save your bash history, record how a file is generated!
- blogdown from yihui xie.
- Jekyll Jupyter Notebook plugin
- How to Use Plotly with Jekyll and Github Pages
- render Rmd pages into blog posts using updated rmarkdown::render function
- youtube video from softwarecarpentry
- research data management: the-turing-way
- How to FAIR
- The FAIR Guiding Principles for scientific data management and stewardship
- Developing a modern data workflow for living data
- online course CN-2559-BEST-PRACTICES-BIOMEDICAL-RESEARCH-DATA-MANAGEMENT
- Ten Simple Rules for Creating a Good Data Management Plan
- Nine simple ways to make it easier to (re)use your data
- Dataone best practise Practices
- Research Data Management: A Primer Publication of the National Information Standards Organization
- Data management for biologists A blog post by Tjelvar Olsson. Also check his dtool
- peppy is a python package that provides an API for handling standardized project and sample metadata. If you define your project in Portable Encapsulated Project (PEP) format.
Automation wins in the long run.
STEP 6 is usually missing!
The pic was downloaded from http://biobungalow.weebly.com/bio-bungalow-blog/everybody-knows-the-scientific-method
- Streamlining Data-Intensive Biology With Workflow Systems Nice read from Titus Brown Group.
- A blog post comparing bash script, make, snakemake and nextflow.
- paper:A review of bioinformatic pipeline frameworks
- Building Infrastructure and Workflows for Clinical Bioinformatics Pipelines
- Existing Workflow systems
- Workflow management software for pipeline development in NGS
- Awesome pipeline toolkit list
- Snakemake [Docs] [Publication]
- Snakemake tutorial from Titus Brown 2019
- Snakemake tutorial from Titus Brown 2020
- snakePipes: facilitating flexible, scalable and integrative epigenomic analysis [Publication]
- Snk: A Snakemake CLI and Workflow Management System
I am using snakemake and so far is very happy about it!
- Nextflow [Docs] [Publication]
- Nextflow DSL 2 modular syntax [Original GitHub issue]
- Nextflow Camp DSL 2 tutorial 2019
- CZ Biohub Nextflow tutorial 2019
- Nextflow workshop tutorial 2018
- Nextflow pipeline examples
- The nf-core framework for community-curated bioinformatics pipelines [Existing Workflows] [Publication]
- Curated list of Nextflow pipelines
- NGS pipelines by nextflow core
- nextflow tower
- A Nextflow pipeline assembler for genomics and flowcraft Now you can track both the execution of a nextflowio pipeline AND the reports that it generates in real-time! You can even follow the reports (https://tinyurl.com/y854vftf ) and the pipeline execution.
-
rix: Reproducible Environments with Nix not only for R package versions but also R versions and operating systems. I will try it!
-
A great book Building reproducible analytical pipelines with R https://raps-with-r.dev/preface.html
-
A Realistic Guide to Making Data Available Alongside Code to Improve Reproducibility
-
A must read: Parallel sequencing lives, or what makes large sequencing projects successful
-
A Reproducible Data Analysis Workflow with R Markdown, Git, Make, and Docker https://github.com/aaronpeikert/reproducible-research
-
Reproducibility starts at home A series of blog posts by Jon Zelner.
-
Practical Computational Reproducibility in the Life Sciences from Cell Systems.
-
Analysis validation has been neglected in the Age of Reproducibility
-
The Life & Times of a Reproducible Clinical Project https://jenthompson.me/slides/rmedicine2018/rmedicine2018#1
-
Automate testing of your R package using Travis CI, Codecov, and testthat by Jean Fan.
-
docker intro by Cyverse and singularity by upendra devisetty. I met him in UC Davis during 2018 ANGUS :)
-
rocker/binder Adds binder abilities on top of the rocker/tidyverse images.
-
Embedding containerized workflows inside data science notebooks enhances reproducibility
-
workflowr: organized + reproducible + shareable data science in R
-
Singularity Singularity enables users to have full control of their environment. Singularity containers can be used to package entire scientific workflows, software and libraries, and even data. This means that you don’t have to ask your cluster admin to install anything for you - you can put it in a Singularity container and run.
-
countinous analysis Reproducibility of computational workflows is automated using continuous analysis
-
The hard road to reproducibility commentary on Science Magzine.
-
Five selfish reasons to work reproducibly Genome Biology paper.
-
biomake GNU-Make-like utility for managing builds and complex workflows.
-
drake An R-focused pipeline toolkit for reproducibility and high-performance computing. Snakemake in R.
-
biostar post:Job Manager to parallelize otherwise consecutive bash scripts
-
Deepnote - Better UI for Jupyter and enables collaboration & working online without installing anything.
-
CoCAL Collaborative Calculation in the Cloud
-
[nteract] notebook (https://nteract.io/)
-
A video by Dr.Keith A. Baggerly from MD Anderson The Importance of Reproducible Research in High-Throughput Biology very interesting, and Keith is really a fun guy!
-
paper: Ten Simple Rules for Reproducible Computational Research
-
Best Practice Data Life Cycle Approaches for the Life Sciences
-
Good Enough Practices in Scientific Computing We present a set of computing tools and techniques that every researcher can and should adopt. These recommendations synthesize inspiration from our own work, from the experiences of the thousands of people who have taken part in Software Carpentry and Data Carpentry workshops over the past six years, and from a variety of other guides. Unlike some other guides, our recommendations are aimed specifically at people who are new to research computing. Well worth reading!
-
A Quick Guide to Organizing Computational Biology Projects A must read for computational biologists!
-
avoid
setwd()
in your R script.here_here()
comes to rescue. -
Have you ever had problem to reuse one of your own published figures due to copyright of the journal? Here is the solution! from @LorenaABarba
As an early adopter of the Figshare repository, I came up with a strategy that serves both our open-science and our reproducibility goals, and also helps with this problem: for the main results in any new paper, we would share the data, plotting script and figure under a CC-BY license, by first uploading them to Figshare.
- tidymodels survival analysis with censored https://hfrick.github.io/rstudio-conf-2022/#/section
- Survival Analysis in R This tutorial was originally presented at the Memorial Sloan Kettering Cancer Center R-Presenters series on August 30, 2018 by Emily
- Survival plots have never been so informative: survminer package
- posts for survival analysis:
** Survival Analysis - 1 KM estimator
** Survival Analysis - 2 Cox's proportional hazards model
** Overall Survival Curves for TCGA and Tothill by RD Status
** Survival analysis of TCGA patients integrating gene expression (RNASeq) data - survminer
- survival analysis with TCGA
- Kaplan Meier Mistakes a blog post by https://twitter.com/BencomoTomas
- TCGA survival
- slack:A messaging app for teams.
- Ryver.
- Trello lets you work more collaboratively and get more done.
- densityCut: an efficient and versatile topological approach for automatic clustering of biological data
- Interactive visualisation and fast computation of the solution path: convex bi-clustering by Genevera Allen cvxbiclustr and the clustRviz package coming.
- optCluster: An R Package for Determining the Optimal Clustering Algorithm.
- iClusterPlus Integrative clustering of multiple genomic data using a joint latent variable model.
- ConsensusClusterPlus algorithm for determining cluster count and membership by stability evidence in unsupervised analysis.
- CRISPR GENOME EDITING MADE EASY
- CRISPR design from Japan
- CRISPResso:Analysis of CRISPR-Cas9 genome editing outcomes from deep sequencing data
- CRISPR-DO: A whole genome CRISPR designer and optimizer in human and mouse
- CCTop - CRISPR/Cas9 target online predictor
- DESKGEN
- Genome-wide Unbiased Identifications of DSBs Evaluated by Sequencing (GUIDE-seq) is a novel method the Joung lab has developed to identify the off-target sites of CRISPR-Cas RNA-guided Nucleases
- WTSI Genome Editing (WGE) is a website that provides tools to aid with genome editing of human and mouse genomes
- biorender
- The Noun Project
- https://bioicons.com/
- https://healthicons.org/
- reactome icon
- Inovative genomic Institute glossary\
- https://smart.servier.com/category/cellular-biology/nucleic-acids/
- https://www.vecteezy.com/
- https://www.freepik.com/
- https://pixabay.com/
- make workflow diagram https://app.diagrams.net/