Hi!
Thanks for the really nice database and all resources around it!
I am building an R package (ariadne) for microbiome analysis which uses microbial signatures from a few different databases, and one of them is BugSigDB.
I wanted to suggest that it would be very useful if your future Zenodo releases also included a tab-separated file mapping BSDB IDs to their corresponding names. This way, the set of BSDB ids with their names could be fetched independently from other files. Also, it would help keep track of how the full set of signatures change with new versions of the database.
This is a snippet of what the file would look like:
| id |
name |
| bsdb:39/1/1 |
Body-odor-measurement:youth-underarm-after-exercise_vs_youth-underarm-before_UP |
| bsdb:39/1/2 |
Body-odor-measurement:youth-underarm-after-exercise_vs_youth-underarm-before_DOWN |
| bsdb:39/2/1 |
Body-odor-measurement:youth-Neck-before_vs_after-excercise_DOWN |
| bsdb:39/3/1 |
Body-odor-measurement:Children-underarm-before_vs_after-excercise_DOWN |
| bsdb:83/1/1 |
Obesity:before-surgery_vs_after-surgery_UP |
| bsdb:83/1/2 |
Obesity:before-surgery_vs_after-surgery_DOWN |
And here is a simple R script to create the file:
library(readr)
library(stringr)
url <- "https://zenodo.org/records/15272273/files/bugsigdb_signatures_mixed_ncbi.gmt"
x <- url |>
read_lines(skip = 1L) |>
str_split(fixed("\t")) |>
vapply(`[`, 1L, FUN.VALUE = character(1L)) |>
str_split("_", n = 2L, simplify = TRUE)
write.table(x, "bsdb2names.tsv", sep = "\t", row.names = FALSE)
I hope this is useful.
Cheers and thanks in advance!
Hi!
Thanks for the really nice database and all resources around it!
I am building an R package (ariadne) for microbiome analysis which uses microbial signatures from a few different databases, and one of them is BugSigDB.
I wanted to suggest that it would be very useful if your future Zenodo releases also included a tab-separated file mapping BSDB IDs to their corresponding names. This way, the set of BSDB ids with their names could be fetched independently from other files. Also, it would help keep track of how the full set of signatures change with new versions of the database.
This is a snippet of what the file would look like:
And here is a simple R script to create the file:
I hope this is useful.
Cheers and thanks in advance!