Skip to content
Snippets Groups Projects
kallisto_index.sh 787 B
#!/usr/bin/env bash

### Build kallisto index 

################################################
#### Read arguments from CLI
################################################

arc_root=$1
in_genome_ref=$2
out_folder=$3

################################################
#### Print version and citation to test kallisto 
################################################

kallisto version
kallisto cite

################################################
#### If it does not exist, create out dir
################################################

mkdir -p "$arc_root/$out_folder/"


################################################
#### Build kallisto index
################################################

kallisto index -i "$arc_root/$out_folder/kallisto_index" "$arc_root/$in_genome_ref"