| 1 |
#!/bin/bash -e |
| 2 |
|
| 3 |
pkg=clonalframeml |
| 4 |
|
| 5 |
if [ "$AUTOPKGTEST_TMP" = "" ]; then |
| 6 |
|
| 7 |
AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXX` |
| 8 |
trap "rm -rf $AUTOPKG_TMP" 0 INT QUIT ABRT PIPE TERM |
| 9 |
|
| 10 |
fi |
| 11 |
|
| 12 |
cd "$AUTOPKGTEST_TMP"/ |
| 13 |
|
| 14 |
# Download data |
| 15 |
wget -O clmf.tgz https://figshare.com/ndownloader/files/34861005 |
| 16 |
|
| 17 |
# Unzip data |
| 18 |
tar -xzvf clmf.tgz |
| 19 |
|
| 20 |
cd ClonalFrameML |
| 21 |
|
| 22 |
# Run the standard ClonalFrameML analysis as follows. Note! This is a real-world example, and requires around 12 hours of run time. |
| 23 |
ClonalFrameML Saureus.phyML.newick Saureus.fasta example.output -kappa 4.967695 -emsim 100 -ignore_user_sites Saureus.non-core-sites.txt > example.log |