Skip to content

Commit

Permalink
Merge pull request #62 from unipept/feature/add-version-file
Browse files Browse the repository at this point in the history
Automatically generate ".version" with current UniProt-version
  • Loading branch information
pverscha authored Aug 13, 2024
2 parents 4f7aaa2 + ad038ad commit 3a44b71
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 368 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
- name: Install required utilities
run: |
sudo apt-get update
sudo apt-get -y install git curl unzip gawk sqlite3 libsqlite3-dev pv nodejs wget uuid-runtime pigz lz4 parallel
sudo apt-get -y install git curl unzip gawk sqlite3 libsqlite3-dev pv nodejs wget uuid-runtime pigz lz4 parallel libxml2-utils
- name: Prepare temporary directories
run: sudo mkdir -p "index" "unipept-temp"
- name: Generate tsv.gz files
shell: bash
run: sudo ./scripts/build_database.sh -i "index" -d "unipept-temp" -m "256M" "${{ matrix.type }}" "swissprot" "https://ftp.expasy.org/databases/uniprot/current_release/knowledgebase/complete/uniprot_sprot.xml.gz" "output"
- name: Zip all tsv.gz files
shell: bash
run: cd output && zip -r "../${{ matrix.type }}.zip" *
run: cd output && zip -r "../${{ matrix.type }}.zip" * && zip -u "../${{ matrix.type }}.zip" ".version"
- name: Upload or Update Release
id: upload_or_update_release
uses: softprops/action-gh-release@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static_database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install required utilities
run: |
sudo apt-get update
sudo apt-get -y install git curl unzip gawk sqlite3 libsqlite3-dev pv nodejs wget uuid-runtime pigz lz4 parallel
sudo apt-get -y install git curl unzip gawk sqlite3 libsqlite3-dev pv nodejs wget uuid-runtime pigz lz4 parallel libxml2-utils
- name: Download Taxdmp file
shell: bash
run: wget https://ftp.ncbi.nlm.nih.gov/pub/taxonomy/taxdmp.zip
Expand Down
160 changes: 0 additions & 160 deletions schemas/headers.md

This file was deleted.

34 changes: 0 additions & 34 deletions schemas/load_compress.sh

This file was deleted.

10 changes: 0 additions & 10 deletions schemas/user_data.sql

This file was deleted.

160 changes: 0 additions & 160 deletions schemas_suffix_array/headers.md

This file was deleted.

Loading

0 comments on commit 3a44b71

Please sign in to comment.