-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e303a58
commit 184b695
Showing
6 changed files
with
161 additions
and
6 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,36 @@ | ||
name: Build IQTree | ||
|
||
on: workflow_call | ||
|
||
jobs: | ||
build_IQTree: | ||
name: Build IQTree | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Cache IQTree | ||
id: cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.local/bin/iqtree2 | ||
key: ${{ runner.os }}-IQTree | ||
|
||
- name: Download IQTree executable | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: | | ||
sudo apt-get install wget | ||
wget https://github.com/iqtree/iqtree2/releases/download/v2.3.2/iqtree-2.3.2-Linux-intel.tar.gz | ||
tar zxf iqtree-2.3.2-Linux-intel.tar.gz | ||
- name: Move executable | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
working-directory: ${{ github.workspace }} | ||
run: | | ||
mkdir -p ~/.local/bin | ||
cp iqtree-2.3.2-Linux-intel/bin/iqtree2 ~/.local/bin/ | ||
chmod +x ~/.local/bin/iqtree2 | ||
- name: Export IQTree to PATH and verify | ||
run: | | ||
export PATH=$PATH:$HOME/.local/bin | ||
which iqtree2 |
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,36 @@ | ||
name: Build muscle | ||
|
||
on: workflow_call | ||
|
||
jobs: | ||
build_muscle: | ||
name: Build muscle | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Cache muscle | ||
id: cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.local/bin/muscle | ||
key: ${{ runner.os }}-muscle | ||
|
||
- name: Download muscle executable | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: | | ||
sudo apt-get install wget | ||
wget https://github.com/rcedgar/muscle/releases/download/5.1.0/muscle5.1.linux_intel64 | ||
mv muscle5.1.linux_intel64 muscle | ||
- name: Move executable | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
working-directory: ${{ github.workspace }} | ||
run: | | ||
mkdir -p ~/.local/bin | ||
cp muscle ~/.local/bin/ | ||
chmod +x ~/.local/bin/muscle | ||
- name: Export muscle to PATH and verify | ||
run: | | ||
export PATH=$PATH:$HOME/.local/bin | ||
which muscle |
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,41 @@ | ||
name: Build RAxML | ||
|
||
on: workflow_call | ||
|
||
jobs: | ||
build_RAxML: | ||
name: Build RAxML | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Cache RAxML | ||
id: cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.local/bin/raxmlHPC-PTHREADS-AVX2 | ||
key: ${{ runner.os }}-RAxML | ||
|
||
- name: Install dependencies | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: sudo apt-get install build-essential g++ wget unzip | ||
|
||
- name: Compile RAxML | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: | | ||
wget https://github.com/stamatak/standard-RAxML/archive/refs/tags/v8.2.13.zip | ||
unzip v8.2.13.zip | ||
cd standard-RAxML-8.2.13 | ||
make -f Makefile.AVX2.PTHREADS.gcc | ||
- name: Move executable | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
working-directory: ${{ github.workspace }} | ||
run: | | ||
mkdir -p ~/.local/bin | ||
cp standard-RAxML-8.2.13/raxmlHPC-PTHREADS-AVX2 ~/.local/bin/ | ||
chmod +x ~/.local/bin/raxmlHPC-PTHREADS-AVX2 | ||
- name: Export RAxML to PATH and verify | ||
run: | | ||
export PATH=$PATH:$HOME/.local/bin | ||
which raxmlHPC-PTHREADS-AVX2 |
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 |
---|---|---|
|
@@ -13,5 +13,5 @@ dependencies: | |
- numpy>=1.26.0 | ||
- phykit>=1.12.5 | ||
- pyhmmer>=0.10.4 | ||
- python>=3.7.12 | ||
- python>=3.9 | ||
- raxml>=8.2.12 |
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,7 +1,6 @@ | ||
biopython>=1.81 | ||
clipkit>=2.1.1 | ||
importlib-metadata; python_version<"3.8" | ||
phykit>=1.12.5 | ||
pyhmmer>=0.10.2 | ||
matplotlib>=3.5.3 | ||
numpy | ||
numpy>=1.26.0 | ||
phykit>=1.12.5 | ||
pyhmmer>=0.10.4 |