#!/bin/bash
## modified by Yixiao by 02/07/2017
## specify queue
#SBATCH -p hpc,cem_lenovo
## run time
#SBATCH -t 202:00:00
## number of nodes, this was on stampede, may not need this at your site
#SBATCH -N 5
## number of threads
##SBATCH  --cpus-per-task=1
## number of cores
#SBATCH -n 120 
## error and output files, %J is a handy variable.
#SBATCH --error=Extract/job050/run.err
#SBATCH --output=Extract/job050/run.out

## Job Name
#SBATCH -J Extract/job050/
## email when it is done
#SBATCH --mail-type=end
#SBATCH --mail-user=scai@rockefeller.edu

mpirun --map-by node -n 120  `which relion_preprocess_mpi` --i Select/job035/micrographs.star --coord_dir Import/job047/ --coord_suffix _automatch.star --part_star Extract/job050/particles.star --part_dir Extract/job050/ --extract --extract_size 256 --scale 128 --norm --bg_radius 48 --white_dust -1 --black_dust -1 --invert_contrast  

