-
Notifications
You must be signed in to change notification settings - Fork 8
/
rRNA.sh
15 lines (13 loc) · 819 Bytes
/
rRNA.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
echo ""
echo "Extracting 16S sequences"
makeblastdb -in assembly.fa -dbtype nucl > temp.blast2
blastn -query /space/users/malber06/Desktop/Databases/gg_90id/gg_90.fasta -db assembly.fa -num_threads 60 -max_target_seqs 5 -outfmt 6 -evalue 1e-10 -out temp.blast.txt
perl /space/users/malber06/mmgenome/scripts/extract.long.hits.from.blast.pl -b temp.blast.txt -d assembly.fa -m 500 -o 16S.fa
echo ""
echo "Extracting 23S sequences"
blastn -query /space/users/malber06/Desktop/Databases/silva_lsu_90id/silva.lsu.111.90id.fa -db assembly.fa -num_threads 60 -max_target_seqs 5 -outfmt 6 -evalue 1e-10 -out temp.blast.txt
perl /space/users/malber06/mmgenome/scripts/extract.long.hits.from.blast.pl -b temp.blast.txt -d assembly.fa -m 500 -o 23S.fa
rm temp.blast.txt
rm assembly.fa.nhr
rm assembly.fa.nin
rm assembly.fa.nsq