-
Notifications
You must be signed in to change notification settings - Fork 0
/
example_run.sh
executable file
·33 lines (27 loc) · 1 KB
/
example_run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
#SBATCH --job-name=mkrefs
#SBATCH --output=/home/matthew.schmitz/log/testrefs.out
#SBATCH --error=/home/matthew.schmitz/log/testrefs.err
#SBATCH --time=48:00:00
#SBATCH --partition=celltypes
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --mem=48gb
source ~/.bashrc
conda activate cleanome
JOB_DIR=/allen/programs/celltypes/workgroups/rnaseqanalysis/EvoGen/genomes/cleanome_genomes
mkdir -p $JOB_DIR
cd $JOB_DIR
mkdir -p ncbi_genomes
mkdir -p cellranger_arc
mkdir -p submission_scripts
mkdir -p logs
download_genomes --species_list ~/utils/cleanome/species_list.txt \
--genome_dir $JOB_DIR/ncbi_genomes/
get_genomes_and_stats --genome_dir $JOB_DIR/ncbi_genomes/ \
--stats_csv $JOB_DIR/genome_info.csv -c
make_cellranger_arc_sh --sh_scripts_dir $JOB_DIR/submission_scripts/ \
--output_dir $JOB_DIR/cellranger_arc \
--log_dir $JOB_DIR/logs \
--stats_csv $JOB_DIR/genome_info.csv \
--cellranger_bin /allen/programs/celltypes/workgroups/rnaseqanalysis/EvoGen/Team/Matthew/utils/cellranger-arc-2.0.2/bin