View source: R/utils_directory_config.R
list.genomes | R Documentation |
Given the reference.folder, list all valid references. An ORFik genome is defined as a folder with a file called output.rds that is a named R vector with names gtf and genome, where the values are character paths to those files inside that folder. This makes sure that this reference was made by ORFik and not some other program.
list.genomes(reference.folder = ORFik::config()["ref"])
reference.folder |
character path, default:
|
a data.table with 5 columns:
- character (name of folder)
- logical (does it have a gtf)
- logical (does it have a fasta genome)
- logical (does it have a STAR index)
- logical (only displayed if some are TRUE, does it have protein structure
predictions of ORFs from alphafold etc, in folder called
'protein_structure_predictions')
- logical (only displayed if some are TRUE, does it have gene symbol fst file
from bioMart etc, in file called 'gene_symbol_tx_table.fst')
## Run with default config path
#list.genomes()
## Run with custom config path
list.genomes(tempdir())
## Get the path to fasta genome of first organism in list
#readRDS(file.path(config()["ref"], list.genomes()$name, "outputs.rds")[1])["genome"]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.