#!/bin/bash
#SBATCH --job-name=blast_tp53
#SBATCH --account=hpc2ncourses2026-013
#SBATCH --time=00:10:00
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=4
#SBATCH --output=blast_tp53_%j.out
#SBATCH --error=blast_tp53_%j.err
# Lecture 15: BLAST — local blastp on Kebnekaise
module load GCC/14.2.0 OpenMPI/5.0.7 BLAST+/2.17.0
blastp \
  -query TP53_protein.fasta \
  -db /proj/nobackup/cddb_course/databases/swissprot/swissprot \
  -out TP53_blastp_local.txt \
  -outfmt 6 -evalue 1e-5 -num_threads 4 -max_target_seqs 50
echo "BLAST complete: $(date)"
# BLAST lists the hits best first, so the first lines are the top hits
head -10 TP53_blastp_local.txt
