Revision 9bcd4c1de68d0f0e8300f14272ccd449b9ba7abd authored by William Matlock on 24 March 2023, 23:27:55 UTC, committed by GitHub on 24 March 2023, 23:27:55 UTC
1 parent 1011f08
RunIqtree.sh
#!/bin/bash
#$ -S /bin/bash
#$ -N iqtree
#$ -j y
#$ -P bag.prjc
#$ -q long.qc -cwd -V
#$ -pe shmem 6
echo "****************************************************"
echo "SGE job ID: "$JOBID
echo "SGE task ID: "$SGE_TASK_ID
echo "Run on host: "`hostname`
echo "Operating system: "`uname -s`
echo "Username: "`whoami`
echo "Started at: "`date`
echo "****************************************************"
echo "*****************************************************"
echo "Running analysis at: "`date`
cd /well/bag/will_sam/oxfordshire_overlap
clusters=./iqtree_clusters.txt
iqtree=/well/bag/fnd111/miniconda3/bin/iqtree
cat $clusters | while read LINE; do
mkdir -p ./analysis/iqtree/"$LINE"
cd ./analysis/iqtree/"$LINE"
cp /well/bag/will_sam/oxfordshire_overlap/analysis/panaroo/"$LINE"/core_gene_alignment.aln ./core_gene_alignment.aln
$iqtree -s ./core_gene_alignment.aln -m GTR+F+I+G4 -keep-ident -T 2 -B 1000
cd /well/bag/will_sam/oxfordshire_overlap
done
echo "Finished analysis at: "`date`
echo "****************************************************"
echo "****************************************************"
echo "Finished at: "`date`
echo "****************************************************"
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...