jean_blosum 0.1.0

BLOSUM feature for jean
Documentation
#!/bin/bash

# Check for wget
if ! hash wget &> /dev/null
then
  echo "wget not installed!"
  exit 1
fi

# Create folders
tmp="$(mktemp -d "${TMPDIR:-/tmp}"/tmp.XXXXXXXX)"
out=src
mkdir -p $out/matrices

# Download latest BLOSUM matrices
wget -q --show-progress --cut-dirs=3 --reject cdi,matrices,tar.gz --directory-prefix=$tmp -r -nH -nc ftp://ftp.ncbi.nlm.nih.gov/blast/matrices

# Run codegen code
cargo run --features codegen $tmp

# Format source files
rustfmt src/**/*