-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from CCBR/iss-18
Adds changelog, fixes bug with python/ray, fixes prepare output dir, adds bash script to submit to SLURM
- Loading branch information
Showing
42 changed files
with
316 additions
and
37 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
default_install_hook_types: [pre-commit, commit-msg] | ||
default_stages: [pre-commit] | ||
exclude: | | ||
(?x)( | ||
^assets/| | ||
^docs/.*.html| | ||
^_extensions/ | ||
) | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v1.2.3 | ||
hooks: | ||
- id: check-added-large-files | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- id: check-json | ||
# spell check | ||
- repo: https://github.com/codespell-project/codespell | ||
rev: v2.2.4 | ||
hooks: | ||
- id: codespell | ||
# https://github.com/codespell-project/codespell/issues/1498 | ||
# Python formatting | ||
- repo: https://github.com/psf/black | ||
rev: 23.7.0 | ||
hooks: | ||
- id: black | ||
# R formatting | ||
- repo: https://github.com/lorenzwalthert/precommit | ||
rev: v0.1.2 | ||
hooks: | ||
- id: style-files | ||
# general linting | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: v2.7.1 | ||
hooks: | ||
- id: prettier | ||
# enforce commit format | ||
- repo: https://github.com/compilerla/conventional-pre-commit | ||
rev: v2.3.0 | ||
hooks: | ||
- id: conventional-pre-commit | ||
stages: [commit-msg] | ||
args: [] | ||
- repo: https://github.com/citation-file-format/cffconvert | ||
rev: 054bda51dbe278b3e86f27c890e3f3ac877d616c | ||
hooks: | ||
- id: validate-cff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# gitignore | ||
.nextflow* | ||
work/ | ||
data/ | ||
results/ | ||
.DS_Store | ||
*.code-workspace | ||
assets/*.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
overrides: | ||
- files: | ||
- "*.md" | ||
- "*.cff" | ||
- ".prettierrc" | ||
options: | ||
tabWidth: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# dev | ||
|
||
# version v2.0 | ||
- add CHANGELOG (iss#19, @slsevilla) | ||
- removes RAY from running (iss#17, @slsevilla) | ||
- adds metro_script, as temp workflow manager (iss#18, @slsevilla) | ||
- fixes prepare outdir bug (iss#15, @slsevilla) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v1.2.1 | ||
v2.0 |
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
# <center>** **COMING SOON** **</center> | ||
# Troubleshooting | ||
If you run into errors, please contact [email protected] for assistance! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# 2. Example Usage | ||
A workflow script is provided to allow users the ability to run locally or to submit to Biowulf SLURM. | ||
|
||
## 2.1 Runmodes | ||
There are several “flags” which have been created to run the commands. These are `build`, `prepare`, `find`, `predict` | ||
``` | ||
bash metro_script.sh build echo | ||
``` | ||
|
||
## 2.2 Handling Runmodes | ||
There are several options for handing the above runmodes. These include: | ||
|
||
1. echo: this will print the SH file location | ||
2. cat: this will print the contents of the SH file | ||
3. sh: this will run the SH file locally | ||
4. submit_batch: this will run the SH file on the SLURM cluster (use HPC dashboard to monitor) | ||
5. submit_batch_large: this will run the SH file on the SLURM cluster with “larger” resources | ||
|
||
## 2.3 Examples to run the workflow: | ||
Example printing out the workflow commands to the command line: | ||
``` | ||
bash metro_script.sh build cat | ||
bash metro_script.sh prepare cat | ||
bash metro_script.sh find cat | ||
bash metro_script.sh predict cat | ||
``` | ||
|
||
Example submitting to SLURM: | ||
``` | ||
bash metro_script.sh build submit_batch | ||
bash metro_script.sh prepare submit_batch | ||
bash metro_script.sh find submit_batch | ||
bash metro_script.sh predict submit_batch_large | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.