#!/bin/bash

#
# download  human reference genome
#  See https://asia.ensembl.org/info/data/ftp/index.html   
#  See https://ftp.ensembl.org/pub/release-109/fasta/homo_sapiens/dna/README
#

FASTA=mm39.fa
curl -O -C - http://hgdownload.soe.ucsc.edu/goldenPath/mm39/bigZips/$FASTA.gz
gunzip $FASTA.gz
bgzip $FASTA 
samtools faidx $FASTA.gz 
