biyelunwen/99.scripts/workflow/phylogeny_reconstruction/01.modeltest.sh

8 lines
275 B
Bash
Executable File

#! /usr/bin/env bash
mkdir -p modeltests
for i in ../gene_alignment/*.fa ; do
j=$(basename "$i")
echo "modeltest-ng -p 2 -r 12345 --force -i $i -d nt -t ml -o modeltests/${j/.fa/}.modeltest" >> modeltest.cmds
done
xargs -t -P 4 -I cmd -a modeltest.cmds bash -c "cmd"