Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
✓Academic publication links
Links to: zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.3%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
Repository
Biological Entity Dictionary (BED)
Basic Info
- Host: GitHub
- Owner: patzaw
- License: gpl-3.0
- Language: R
- Default Branch: master
- Homepage: https://patzaw.github.io/BED/
- Size: 24.8 MB
Statistics
- Stars: 8
- Watchers: 2
- Forks: 4
- Open Issues: 2
- Releases: 18
Created over 8 years ago
· Last pushed about 1 year ago
Metadata Files
Readme
Changelog
License
README.Rmd
---
title: "README"
output:
rmarkdown::github_document:
number_sections: false
toc: false
toc_depth: 2
editor_options:
chunk_output_type: console
---
```{r setup, include = FALSE}
library(knitr)
library(here)
library(BED)
library(dplyr)
cranRef <- function(x){
sprintf(
"[%s](https://CRAN.R-project.org/package=%s): %s",
x, x, packageDescription(x)$Title
)
}
```
# Biological Entity Dictionary
[](https://cran.r-project.org/package=BED)
[](https://cran.r-project.org/package=BED)
`r packageDescription("BED")$Description`
## Installation
### From CRAN
```{r, eval=FALSE}
install.packages("BED")
```
### Dependencies
The following R packages available on CRAN are required:
```{r, echo=FALSE, results='asis'}
deps <- desc::desc_get_deps()
sdeps <- filter(deps, type %in% c("Depends", "Imports") & package!="R")
for(p in sdeps$package){
cat(paste("-", cranRef(p)), sep="\n")
}
```
And those are suggested:
```{r, echo=FALSE, results='asis'}
wdeps <- filter(deps, type=="Suggests" & package!="R")
for(p in wdeps$package){
cat(paste("-", cranRef(p)), sep="\n")
}
```
### Installation from github
```{r, eval=FALSE}
devtools::install_github("patzaw/BED")
```
### Possible issue when updating from releases <= 1.3.0
If you get an error like the following...
```
Error: package or namespace load failed for ‘BED’:
.onLoad failed in loadNamespace() for 'BED', details:
call: connections[[connection]][["cache"]]
error: subscript out of bounds
```
... remove the BED folder located here:
```{r, echo=TRUE, eval=FALSE}
file.exists(file.path(Sys.getenv("HOME"), "R", "BED"))
```
## Documentation
Documentation is provided in
the [BED](https://patzaw.github.io/BED/articles/BED.html) vignette.
A public instance of the [BED Neo4j database](#available-bed-database-instance)
is provided for convenience and can be reached as follows:
```{r, eval=FALSE}
library(BED)
connectToBed("https://genodesy.org/BED/", remember=TRUE, useCache=TRUE)
findBeids()
```
## Citing BED
This package and the underlying research has been published in
this peer reviewed article:
`r sub('[[]', '(', sub('[]]', ')', format(citation("BED"), style="textVersion")))`
## Available BED database instance
An instance of the BED database (UCB-Human)
has been built using the script provided
in the BED R package.
This instance
is focused on *Homo sapiens*, *Mus musculus*, *Rattus norvegicus*,
*Sus scrofa* and *Danio rerio* organisms.
It has been built from the following resources:
- Ensembl
- NCBI
- Uniprot
- HGNC
- GEOquery
```{r, echo=FALSE}
config <- jsonlite::read_json(
here("supp/Build/Genodesy-instance/deploy_config.json")
)
zr <- config$ZENODO_RECORD
```
The Neo4j graph database is available as a dump file shared
in [Zenodo](https://zenodo.org/records/`r zr`).
The following shell commands can be adapted according to user needs and called
to get a running Neo4j container with a BED database instance.
```{r, echo=FALSE, results='asis'}
ec <- readLines(here("supp/Build/S21-Deploy-from-Zenodo.sh"))
torm <- grep("^### usage: ", ec, value=FALSE)
stopifnot(length(torm) == 1)
torm <- c(torm, torm+1)
clines <- grep("## Config ----", ec)
stopifnot(length(clines) == 1)
clines <- seq(
clines,
grep("#+@", ec)[which(grep("#+@", ec) > clines)][1],
by = 1
)
torm <- c(torm, clines)
ec <- ec[-torm]
for(n in names(config)){
ec <- gsub(paste0("[$][{]?", n, "[}]?"), config[[n]], ec)
}
ec <- gsub("___ROOT___", "~", ec)
##
cat('```sh', sep="\n")
cat(ec, sep="\n")
cat('```', sep="\n")
```
## Build a BED database instance
Building and feeding a BED database instance is achieved using scripts
available in the "supp/Build" folder.
### Run a neo4j docker images
Using the S01-NewBED-Container.sh script.
### Build and feed BED
Using the S02-Rebuild-BED.sh script which compile the Rebuild-BED.Rmd document.
### Dump the graph DB content for sharing
Using the S03-Dump-BED.sh script
## Docker notes
[Sergio Espeso-Gil](https://github.com/sespesogil) has reported stability
issues with Docker images in Windows. It's mainly solved by
checking the "Use the WSL2 based engine" options in docker settings.
More information is provided
here: https://docs.docker.com/docker-for-windows/wsl/
Owner
- Name: Patrice Godard
- Login: patzaw
- Kind: user
- Location: Belgique
- Website: https://patzaw.github.io/
- Twitter: PatriceGodard
- Repositories: 19
- Profile: https://github.com/patzaw
GitHub Events
Total
- Release event: 3
- Push event: 17
- Create event: 2
Last Year
- Release event: 3
- Push event: 17
- Create event: 2
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Patrice Godard | p****d@u****m | 138 |
| Patrice Godard | p****d@g****m | 37 |
Committer Domains (Top 20 + Academic)
ucb.com: 1
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 2
- Total pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: less than a minute
- Total issue authors: 2
- Total pull request authors: 1
- Average comments per issue: 0.5
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- MoritzTh (1)
- discoleo (1)
Pull Request Authors
- patzaw (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 481 last-month
- Total dependent packages: 1
- Total dependent repositories: 1
- Total versions: 11
- Total maintainers: 1
cran.r-project.org: BED
Biological Entity Dictionary (BED)
- Homepage: https://patzaw.github.io/BED/
- Documentation: http://cran.r-project.org/web/packages/BED/BED.pdf
- License: GPL-3
-
Latest release: 1.6.2
published about 1 year ago
Rankings
Forks count: 12.2%
Stargazers count: 17.4%
Dependent packages count: 18.1%
Average: 20.9%
Dependent repos count: 24.0%
Downloads: 32.7%
Maintainers (1)
Last synced:
11 months ago
Dependencies
DESCRIPTION
cran
- R >= 3.6 depends
- neo2R >= 2.1.0 depends
- visNetwork * depends
- DT * imports
- dplyr * imports
- miniUI >= 0.1.1 imports
- readr * imports
- rstudioapi >= 0.5 imports
- shiny >= 0.13 imports
- stringr * imports
- utils * imports
- GEOquery * suggests
- base64enc * suggests
- biomaRt * suggests
- htmltools * suggests
- knitr * suggests
- rmarkdown * suggests
- webshot * suggests