---
title: "Full Mox script doc"
---

```{bash}
#Find the gscratch directory & list files and folders in it

cd /
ls

# locate the gscratch folder and navigate to the scrubbed folder, list files and folders 
cd gscratch/scrubbed
ls

#if you aren't in the list, add yourself

mkdir < Your NETID>

#list files and verify you made it to the list

ls

#you should be there
```

```{bash}
# login to Mox

ssh cnmntgna@mox.hyak.uw.edu

# your password is your NetID password

```

```{bash}
# Find the gscratch directory & list files and folders in it
cd /
ls

# locate the gscratch folder and navigate to the scrubbed folder, list files and folders 
cd gscratch/scrubbed
ls

# if you aren't in the list, add yourself
mkdir < Your NETID>

# list files and verify you made it to the list
ls

# make your assignment directory
mkdir assign_04

```

```{bash}
Everything below is the slurm script: 04-job.sh

#!/bin/bash
## Job Name
#SBATCH --job-name=assign4
## Allocation Definition
#SBATCH --account=srlab
#SBATCH --partition=srlab
## Resources
## Nodes
#SBATCH --nodes=1
## Walltime (days-hours:minutes:seconds format)
#SBATCH --time=01-08:00:00
## Memory per node
#SBATCH --mem=100G
#SBATCH --mail-type=ALL
#SBATCH --mail-user=sr320@uw.edu
## Specify the working directory for this job
#SBATCH --chdir=/gscratch/scrubbed/sr320/assign_04

#run a python script you wrote!
module load intel-python3_2017

python 04-hello.py

# run blastx just to get manual
/gscratch/srlab/programs/ncbi-blast-2.10.1+/bin/blastx -help

#a few bash commands
pwd 

whoami

echo "yah! I ddi it!!!!!!!!!!"

#this writes out  tofile
echo "yah! I ddi it!!!!!!!!!!" > text.file
```{python}






