bsub
Send R code/R scripts/shell commands to LSF cluster without leaving R
Science Score: 26.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
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.1%) to scientific vocabulary
Repository
Send R code/R scripts/shell commands to LSF cluster without leaving R
Basic Info
- Host: GitHub
- Owner: jokergoo
- License: other
- Language: R
- Default Branch: master
- Homepage: https://jokergoo.github.io/bsub
- Size: 1.55 MB
Statistics
- Stars: 26
- Watchers: 2
- Forks: 5
- Open Issues: 7
- Releases: 0
Metadata Files
README.md
Submitter and Monitor of the LSF Cluster
It sends R code/R scripts/shell commands to LSF cluster without leaving R.
Install
Directly from CRAN:
r
install.packages("bsub")
Or from GitHub:
r
if (!requireNamespace("devtools", quietly = TRUE))
install.packages("devtools")
devtools::install_github("jokergoo/bsub")
Documentation
The online documentation is available at https://jokergoo.github.io/bsub/.
Submit jobs
Directly submit R chunk:
```r library(bsub)
R code
bsub_chunk(name = "example", memory = 10, hours = 10, cores = 4,
{
fit = NMF::nmf(...)
# you better save fit into a permanent file
saveRDS(fit, file = "/path/of/fit.rds")
})
```
Submit an R script:
```r
R script
bsub_script(name = "example", script = "/path/of/foo.R", ...) ```
Submit shell commands:
```r
shell commands
bsub_cmd(name = "example", cmd = "samtools view ...", ...) ```
Kill jobs:
r
bkill(job_id)
Job dependencies
```r
job1 = bsubchunk(...) job2 = bsubchunk(...) bsub_chunk(..., dependency = c(job1, job2)) ```
View job info
View job summaries:
r
bjobs
brecent
bjobs_running
bjobs_pending
bjobs_done
bjobs_exit
An example of the job queries is as follows:

View job log:
r
job_log(job_id)
Interactive job monitor
r
monitor()
The job summary table:
Job log:
Job dependency diagram:
License
MIT @ Zuguang Gu
Owner
- Name: Zuguang Gu
- Login: jokergoo
- Kind: user
- Location: Heidelberg, Germany
- Company: German Cancer Research Center
- Website: http://jokergoo.github.io
- Repositories: 28
- Profile: https://github.com/jokergoo
A bioinformagician
GitHub Events
Total
- Watch event: 1
- Fork event: 1
Last Year
- Watch event: 1
- Fork event: 1
Committers
Last synced: over 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Zuguang Gu | j****o@g****m | 182 |
| cola-recount2 | z****u@d****e | 6 |
| Zuguang Gu | g****z@B****x | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 39
- Total pull requests: 0
- Average time to close issues: 3 months
- Average time to close pull requests: N/A
- Total issue authors: 6
- Total pull request authors: 0
- Average comments per issue: 0.69
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 5
- Pull requests: 0
- Average time to close issues: about 9 hours
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 0.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- jokergoo (34)
- HJ234 (1)
- m4gold (1)
- Christian-Heyer (1)
- simplifyEnrichment (1)
- chenu (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 335 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 3
- Total maintainers: 1
cran.r-project.org: bsub
Submitter and Monitor of the 'LSF Cluster'
- Homepage: https://github.com/jokergoo/bsub
- Documentation: http://cran.r-project.org/web/packages/bsub/bsub.pdf
- License: MIT + file LICENSE
-
Latest release: 1.1.0
published about 5 years ago
Rankings
Maintainers (1)
Dependencies
- R >= 3.0.0 depends
- GetoptLong >= 0.1.8 imports
- GlobalOptions >= 0.1.1 imports
- clisymbols * imports
- codetools * imports
- crayon * imports
- digest * imports
- grDevices * imports
- graphics * imports
- methods * imports
- stats * imports
- utils * imports
- DT >= 0.13 suggests
- Rgraphviz * suggests
- ggplot2 * suggests
- graph * suggests
- igraph * suggests
- knitr * suggests
- markdown * suggests
- rmarkdown * suggests
- shiny >= 1.0.0 suggests
- shinyjqui * suggests
- ssh * suggests
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/upload-artifact main composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite