Workshop material


Setup

Download and install:

We recommend creating a new “project” in RStudio for this workshop. This will ensure you are working in a fresh working directory. Once you have opened the project, copy and paste the following code to the R console to download necessary files and install packages. During the workshop we will be working through the code in the file “workshop.R”.

# Download files for workshop
filenames <- c(
    "workshop.R", 
    "Caenorhabditis_elegans.WBcel235.104.gtf.gz", 
    "Caenorhabditis_elegans.WBcel235.dna_sm.toplevel.fa.gz",
    "example.bam",
    "example.bam.bai")

for(filename in filenames) {
    download.file(
        paste0("https://monashdatafluency.github.io/r-bioc-2/", filename),
        filename)
}

# Install packages used in workshop
install.packages("BiocManager")
BiocManager::install(c(
    "Biostrings",
    "BSgenome",
    "GenomicRanges",
    "GenomicFeatures",
    "ensembldb",
    "rtracklayer",
    "Rsamtools",
    "Gviz",
    "seqLogo",
    "org.Ce.eg.db",
    "GO.db",
    "biomaRt",
    "AnnotationHub"))


# Worm FASTA and GTF files are originally from:
# http://ftp.ensembl.org/pub/release-104/fasta/caenorhabditis_elegans/dna/Caenorhabditis_elegans.WBcel235.dna_sm.toplevel.fa.gz
# http://ftp.ensembl.org/pub/release-104/gtf/caenorhabditis_elegans/Caenorhabditis_elegans.WBcel235.104.gtf.gz


Further reading


Author

This course has been developed for the Monash Bioinformatics Platform and Monash Data Fluency by Paul Harrison.

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

Source code