User Tools

Site Tools


bioinformatics_tools3

This is an old revision of the document!


Approach Two: submit one loop shell script

#!/bin/bash
#$ -S /bin/bash
. /etc/profile
#$ -cwd
#$ -o logfile
#$ -pe threaded 24
#export PATH=/scratch2/software/anaconda/bin:$PATH

while read line
do

mafft --auto --thread 24 /misc/scratch2/####/$line.fasta >/misc/scratch2/####/aligned/$line.aligned.fasta

/scratch2/software/anaconda/envs/bmge/bin/bmge -i /misc/scratch2/####/aligned/$line.aligned.fasta -t AA -m BLOSUM30 -of /misc/scratch2/xizhang/####/trimmed/$line.aligned.trimmed.fasta

FastTree /misc/scratch2/####/trimmed/$line.aligned.trimmed.fasta > /misc/scratch2/####/fasttree/$line.aligned.trimmed.newick

done <$1

<Last updated by Xi Zhang on Oct 8th,2021>

bioinformatics_tools3.1633723230.txt.gz · Last modified: by 134.190.232.9 · Currently locked by: 216.73.216.59