D3GB from Fasta and GFF files in R

This tutorial shows how to create a D3GB genome browser from GFF and Fasta files with the R package. This will create a complete genome browser of Saccharomyces cerevisiae. Install the D3GB package and write the following code in R:


# Download fasta file
fasta <- tempfile()

# Genome browser generation.
# It creates a genome browser ready to be viewed in Firefox.
# For a server version, ready to be shared with Apache as a Website, set the parameter server=True
gb <- genomebrowser(getAssemblyFromFasta(fasta), dir = "saccharomyces_genomebrowser")


# Download gff file and add to the genome browser
gff <- tempfile()


view result