-
Notifications
You must be signed in to change notification settings - Fork 8
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 #331 from RTXteam/kg2.8.4prep
`KG2.8.4pre` Code Release
- Loading branch information
Showing
60 changed files
with
1,039 additions
and
1,657 deletions.
There are no files selected for viewing
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,44 @@ | ||
# This workflow is based on GitHub's CI example for Python | ||
|
||
name: RTX-KG2 Continous Integration | ||
|
||
on: [push, pull_request] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Export Path | ||
run: | | ||
export PATH=$PATH:~/kg2-build/ | ||
- name: Setup KG2 Build | ||
run: | | ||
git clone https://github.com/RTXteam/RTX-KG2 | ||
cd RTX-KG2 | ||
git checkout $GITHUB_REF_NAME | ||
bash -x ./setup-kg2-build.sh ci | ||
- name: Run Tests | ||
run: | | ||
cd /home/runner/work/RTX-KG2/RTX-KG2/RTX-KG2 | ||
bash -x ./run-validation-tests.sh | ||
bash -x ./build-kg2-snakemake.sh all -n ci | ||
bash -x ./build-kg2-snakemake.sh all -n ci | ||
bash -x ./build-kg2-snakemake.sh all -n nodes ci | ||
bash -x ./build-kg2-snakemake.sh all -R_Merge -n ci | ||
bash -x ./build-kg2-snakemake.sh all -R_Finish -n ci | ||
bash -x ./build-kg2-snakemake.sh all -F -n ci | ||
bash -x ./build-kg2-snakemake.sh all -R_Merge -n nodes ci | ||
bash -x ./build-kg2-snakemake.sh all -R_Finish -n nodes ci | ||
bash -x ./build-kg2-snakemake.sh all -F -n nodes ci | ||
- name: Test Building One File | ||
run: | | ||
cd /home/runner/work/RTX-KG2/RTX-KG2/RTX-KG2 | ||
bash -x ./extract-mirbase.sh ~/kg2-build/miRNA.dat | ||
~/kg2-venv/bin/python3 -u mirbase_dat_to_kg_json.py ~/kg2-build/miRNA.dat ~/kg2-build/kg2-mirbase.json --test | ||
~/kg2-venv/bin/python3 -u report_stats_on_json_kg.py ~/kg2-build/kg2-mirbase.json ~/kg2-build/kg2-mirbase-report.json | ||
cat ~/kg2-build/kg2-mirbase-report.json |
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
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,10 +1,11 @@ | ||
rule SemMedDB: | ||
input: | ||
config['BUILD_DIR'] + "/validation-placeholder.empty" | ||
config['VALIDATION_PLACEHOLDER'] | ||
output: | ||
config['SEMMED_TUPLELIST_FILE'] | ||
tuplelist = config['SEMMED_TUPLELIST_FILE'], | ||
exclusion_list = config['SEMMED_EXCLUSION_FILE'] | ||
log: | ||
config['BUILD_DIR'] + "/extract-semmeddb" + config['TEST_SUFFIX'] + ".log" | ||
shell: | ||
"bash -x " + config['CODE_DIR'] + "/extract-semmeddb.sh {output} " + config['TEST_FLAG'] + " > {log} 2>&1" | ||
"bash -x " + config['CODE_DIR'] + "/extract-semmeddb.sh {output.tuplelist} {output.exclusion_list} " + config['TEST_FLAG'] + " > {log} 2>&1" | ||
|
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
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.