Skip to content
Snippets Groups Projects
Commit aaab2a65 authored by Mike Smith's avatar Mike Smith
Browse files

modifed bwa example

parent 12544f57
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
#SBATCH --mem 150
#SBATCH --nodes 8
#SBATCH -t 00:15:00
#SBATCH --mem=150
#SBATCH --nodes=1
## copy data to /scratch and change directory
cp reference.fa reads.txt $SCRATCHDIR && cd $SCRATCHDIR
## create an index
bwa index reference.fa
......@@ -10,3 +14,6 @@ bwa aln -I reference.fa reads.txt > out.sai
## create SAM file
bwa samse reference.fa out.sai reads.txt > out.sam
## copy results back
cp out.sam $HOME/embl_hpc/exercises/bwa/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment