-
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 #43 from unipept/feature/stijn-changes
Speed up database construction pipeline
- Loading branch information
Showing
43 changed files
with
190 additions
and
1,988 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 |
---|---|---|
|
@@ -18,4 +18,3 @@ out | |
scripts/helper_scripts/parser/output | ||
scripts/helper_scripts/parser/src/META-INF | ||
.idea/ | ||
|
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,19 @@ | ||
#! /usr/bin/env bash | ||
|
||
# All references to an external script should be relative to the location of this script. | ||
# See: http://mywiki.wooledge.org/BashFAQ/028 | ||
CURRENT_LOCATION="${BASH_SOURCE%/*}" | ||
|
||
checkdep() { | ||
which $1 > /dev/null 2>&1 || hash $1 > /dev/null 2>&1 || { | ||
echo "Unipept database builder requires ${2:-$1} to be installed." >&2 | ||
exit 1 | ||
} | ||
} | ||
|
||
checkdep cargo "Rust toolchain" | ||
|
||
# Build binaries and copy them to the /helper_scripts folder | ||
cd $CURRENT_LOCATION/helper_scripts/unipept-database-rs | ||
cargo build --release | ||
find ./target/release -maxdepth 1 -type f -executable -exec cp {} .. \; |
Large diffs are not rendered by default.
Oops, something went wrong.
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,9 @@ | ||
# Ignore the compiled binaries that get moved here | ||
dat-parser | ||
functional-analysis | ||
lcas | ||
taxa-by-chunk | ||
taxons-lineages | ||
taxons-uniprots-tables | ||
write-to-chunk | ||
xml-parser |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
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 was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...pts/helper_scripts/parser/src/manifests/LineagesSequencesTaxons2LCAs/META-INF/MANIFEST.MF
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
scripts/helper_scripts/parser/src/manifests/NamesNodes2TaxonsLineages/META-INF/MANIFEST.MF
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
scripts/helper_scripts/parser/src/manifests/TaxonsUniprots2Tables/META-INF/MANIFEST.MF
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
scripts/helper_scripts/parser/src/manifests/XmlToTabConverter/META-INF/MANIFEST.MF
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.