You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -294,42 +294,58 @@ if ( file.exists(out_table_filename) ) {
294
294
# Use AnnotationForge's makeOrgPackageFromNCBI function with default settings to create the organism-specific org.db R package from available NCBI annotations
295
295
296
296
# Try to download the org.db from Bioconductor, build it locally if installation fails
297
-
BiocManager::install(target_org_db, ask=FALSE)
298
-
if (!requireNamespace(target_org_db, quietly=TRUE)) {
297
+
BiocManager::install(target_org_db, ask=FALSE)
298
+
if (!requireNamespace(target_org_db, quietly=TRUE)) {
299
299
tryCatch({
300
-
# Parse organism's name in the reference table to create the org.db name (target_org_db)
- org.*.eg.db/ (species-specific annotation database, as a local R package)
105
+
106
+
### 6. Run the Workflow Using Docker
107
+
108
+
Rather than running the workflow in your local environment, you can use a Docker image. This method ensures that all dependencies are correctly installed.
- No input files are required. Specify the target organism using a positional command line argument. `Mus musculus` is used in the example above. To see a list of all available organisms, run `Rscript GL-DPPD-7110-A_build-genome-annots-tab.R` without positional arguments. The correct argument for each organism can also be found in the 'species' column of the [GL-DPPD-7110-A_annotations.csv](../../Pipeline_GL-DPPD-7110_Versions/GL-DPPD-7110-A/GL-DPPD-7110-A_annotations.csv)
132
+
133
+
- Optional: a reference table CSV can be supplied as a second positional argument instead of using the default [GL-DPPD-7110-A_annotations.csv](../../Pipeline_GL-DPPD-7110_Versions/GL-DPPD-7110-A/GL-DPPD-7110-A_annotations.csv)
134
+
135
+
**Output data:**
136
+
137
+
-*-GL-annotations.tsv (Tab delineated table of gene annotations)
138
+
-*-GL-build-info.txt (Text file containing information used to create the annotation table, including tool and tool versions and date of creation)
# Function: Get annotations db from ref table. If no annotations db is defined, create the package name from genus, species, (and strain for microbes),
4
-
# Try to Bioconductor install annotations db. If fail then build the package using AnnotationForge, install it into the current directory.
0 commit comments