Skip to content

Commit

Permalink
Update amdirt in all CI tests to v1.6.5 (#1215)
Browse files Browse the repository at this point in the history
* Use latest version of AMDiRT

* Use new tool name
  • Loading branch information
jfy133 authored Jan 24, 2025
1 parent 45284cd commit a69b4de
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/autofill.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:
reactions: eyes
token: ${{ secrets.GITHUB_TOKEN }}

# install AMDirT
# install amdirt
- uses: actions/setup-python@v4
with:
python-version: "3.9"
architecture: "x64"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install amdirt==1.6.2
pip install amdirt==1.6.5
pip install jsonschema==4.17.0
# Get context of PR...
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/check_dataset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches: [master]

jobs:
AMDirT:
amdirt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -16,45 +16,45 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install amdirt==1.6.2
pip install amdirt==1.6.5
pip install jsonschema==4.17.0
- name: Make validation results directory
run: mkdir validation/
- name: Add AMDirT validate version
- name: Add amdirt validate version
run: |
echo "$(AMDirT --version)" > validation/validation_results_raw.txt
echo "$(amdirt --version)" > validation/validation_results_raw.txt
- name: SAMPLES test ancient host-associated metagenome (e.g. microbiomes)
if: always()
run: |
echo "# Samples" >> validation/validation_results_raw.txt
echo "## Ancient Metagenome Host Associated" >> validation/validation_results_raw.txt
AMDirT validate -s -d -c -i -m --multi_values archive_accession ancientmetagenome-hostassociated/samples/ancientmetagenome-hostassociated_samples.tsv ancientmetagenome-hostassociated/samples/ancientmetagenome-hostassociated_samples_schema.json &>> validation/validation_results_raw.txt
amdirt validate -s -d -c -i -m --multi_values archive_accession ancientmetagenome-hostassociated/samples/ancientmetagenome-hostassociated_samples.tsv ancientmetagenome-hostassociated/samples/ancientmetagenome-hostassociated_samples_schema.json &>> validation/validation_results_raw.txt
- name: SAMPLES test ancient single microbial genomes (e.g. pathogens)
if: always()
run: |
echo "## Ancient Single Genome Host Associated" >> validation/validation_results_raw.txt
AMDirT validate -s -d -c -i -m --multi_values archive_accession ancientsinglegenome-hostassociated/samples/ancientsinglegenome-hostassociated_samples.tsv ancientsinglegenome-hostassociated/samples/ancientsinglegenome-hostassociated_samples_schema.json &>> validation/validation_results_raw.txt
amdirt validate -s -d -c -i -m --multi_values archive_accession ancientsinglegenome-hostassociated/samples/ancientsinglegenome-hostassociated_samples.tsv ancientsinglegenome-hostassociated/samples/ancientsinglegenome-hostassociated_samples_schema.json &>> validation/validation_results_raw.txt
- name: SAMPLES test ancient environmental (e.g. sediment)
if: always()
run: |
echo "## Ancient Metagenome Environmental" >> validation/validation_results_raw.txt
AMDirT validate -s -d -c -i -m --multi_values archive_accession ancientmetagenome-environmental/samples/ancientmetagenome-environmental_samples.tsv ancientmetagenome-environmental/samples/ancientmetagenome-environmental_samples_schema.json &>> validation/validation_results_raw.txt
amdirt validate -s -d -c -i -m --multi_values archive_accession ancientmetagenome-environmental/samples/ancientmetagenome-environmental_samples.tsv ancientmetagenome-environmental/samples/ancientmetagenome-environmental_samples_schema.json &>> validation/validation_results_raw.txt
- name: LIBRARIES test ancient host-associated metagenome (e.g. microbiomes)
if: always()
run: |
echo "# Libraries" >> validation/validation_results_raw.txt
echo "## Ancient Metagenome Host Associated" >> validation/validation_results_raw.txt
AMDirT validate -s -d -c -m ancientmetagenome-hostassociated/libraries/ancientmetagenome-hostassociated_libraries.tsv ancientmetagenome-hostassociated/libraries/ancientmetagenome-hostassociated_libraries_schema.json &>> validation/validation_results_raw.txt
amdirt validate -s -d -c -m ancientmetagenome-hostassociated/libraries/ancientmetagenome-hostassociated_libraries.tsv ancientmetagenome-hostassociated/libraries/ancientmetagenome-hostassociated_libraries_schema.json &>> validation/validation_results_raw.txt
- name: LIBRARIES test ancient host-associated single-genomes (e.g. pathogens)
if: always()
run: |
echo "## Ancient Single Genome Host Associated" >> validation/validation_results_raw.txt
AMDirT validate -s -d -c -m ancientsinglegenome-hostassociated/libraries/ancientsinglegenome-hostassociated_libraries.tsv ancientsinglegenome-hostassociated/libraries/ancientsinglegenome-hostassociated_libraries_schema.json &>> validation/validation_results_raw.txt
amdirt validate -s -d -c -m ancientsinglegenome-hostassociated/libraries/ancientsinglegenome-hostassociated_libraries.tsv ancientsinglegenome-hostassociated/libraries/ancientsinglegenome-hostassociated_libraries_schema.json &>> validation/validation_results_raw.txt
- name: LIBRARIES test ancient environmental metagenomes (e.g. sedaDNA)
if: always()
run: |
echo "## Ancient Metagenome Environmental" >> validation/validation_results_raw.txt
AMDirT validate -s -d -c -m ancientmetagenome-environmental/libraries/ancientmetagenome-environmental_libraries.tsv ancientmetagenome-environmental/libraries/ancientmetagenome-environmental_libraries_schema.json &>> validation/validation_results_raw.txt
amdirt validate -s -d -c -m ancientmetagenome-environmental/libraries/ancientmetagenome-environmental_libraries.tsv ancientmetagenome-environmental/libraries/ancientmetagenome-environmental_libraries_schema.json &>> validation/validation_results_raw.txt
- name: cleanup validation results from streamlit warnings
if: always()
run: |
Expand Down

0 comments on commit a69b4de

Please sign in to comment.