#!/usr/bin/env bash
# Bulk download script for GSE78960
# Generated from Yeo Lab Publications Database
# Total files: 98

OUTDIR="GSE78960"
mkdir -p "$OUTDIR"
cd "$OUTDIR"

# --- GEO supplementary files ---
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE78nnn/GSE78960/suppl/GSE78960_TSC2-treatment_RNA.txt.gz" -O "GSE78960_TSC2-treatment_RNA.txt.gz"
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE78nnn/GSE78960/suppl/GSE78960_TSC2-treatment_RPF.txt.gz" -O "GSE78960_TSC2-treatment_RPF.txt.gz"

# --- SRA run files ---
# Tip: use 'fasterq-dump' from SRA Toolkit for FASTQ conversion
#      with optional renaming to original submitted FASTQ names.
# Set to 1 to rename SRR outputs (e.g. SRR_1.fastq.gz -> sample_R1.fastq.gz)
RENAME_SRA_TO_ORIGINAL=1

_compress_if_exists() {
  local stem="$1"
  if [ -f "${stem}.fastq" ]; then
    gzip -f "${stem}.fastq"
    echo "${stem}.fastq.gz"
    return 0
  fi
  if [ -f "${stem}.fq" ]; then
    gzip -f "${stem}.fq"
    echo "${stem}.fq.gz"
    return 0
  fi
  return 1
}

# Option A: Download via SRA Toolkit (recommended)
fasterq-dump --split-files "SRR3208881"
gz1="$(_compress_if_exists 'SRR3208881_1' || true)"
gz2="$(_compress_if_exists 'SRR3208881_2' || true)"
gzs="$(_compress_if_exists 'SRR3208881' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "15AZD_ATCACG_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208882"
gz1="$(_compress_if_exists 'SRR3208882_1' || true)"
gz2="$(_compress_if_exists 'SRR3208882_2' || true)"
gzs="$(_compress_if_exists 'SRR3208882' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "15AZD_GCCAAT_L005_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208883"
gz1="$(_compress_if_exists 'SRR3208883_1' || true)"
gz2="$(_compress_if_exists 'SRR3208883_2' || true)"
gzs="$(_compress_if_exists 'SRR3208883' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "15AZD_ATCACG_L006_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208884"
gz1="$(_compress_if_exists 'SRR3208884_1' || true)"
gz2="$(_compress_if_exists 'SRR3208884_2' || true)"
gzs="$(_compress_if_exists 'SRR3208884' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "15AZD_TGACCA_L008_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208885"
gz1="$(_compress_if_exists 'SRR3208885_1' || true)"
gz2="$(_compress_if_exists 'SRR3208885_2' || true)"
gzs="$(_compress_if_exists 'SRR3208885' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "15DMSO_GCCAAT_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208886"
gz1="$(_compress_if_exists 'SRR3208886_1' || true)"
gz2="$(_compress_if_exists 'SRR3208886_2' || true)"
gzs="$(_compress_if_exists 'SRR3208886' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "15DMSO_ATCACG_L004_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208887"
gz1="$(_compress_if_exists 'SRR3208887_1' || true)"
gz2="$(_compress_if_exists 'SRR3208887_2' || true)"
gzs="$(_compress_if_exists 'SRR3208887' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "15DMSO_GCCAAT_L006_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208888"
gz1="$(_compress_if_exists 'SRR3208888_1' || true)"
gz2="$(_compress_if_exists 'SRR3208888_2' || true)"
gzs="$(_compress_if_exists 'SRR3208888' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "15DMSO_ATCACG_L007_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208889"
gz1="$(_compress_if_exists 'SRR3208889_1' || true)"
gz2="$(_compress_if_exists 'SRR3208889_2' || true)"
gzs="$(_compress_if_exists 'SRR3208889' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "15Rapamycin_CTTGTA_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208890"
gz1="$(_compress_if_exists 'SRR3208890_1' || true)"
gz2="$(_compress_if_exists 'SRR3208890_2' || true)"
gzs="$(_compress_if_exists 'SRR3208890' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "15Rapamycin_CGATGT_L004_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208891"
gz1="$(_compress_if_exists 'SRR3208891_1' || true)"
gz2="$(_compress_if_exists 'SRR3208891_2' || true)"
gzs="$(_compress_if_exists 'SRR3208891' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "15Rapamycin_CTTGTA_L006_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208892"
gz1="$(_compress_if_exists 'SRR3208892_1' || true)"
gz2="$(_compress_if_exists 'SRR3208892_2' || true)"
gzs="$(_compress_if_exists 'SRR3208892' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "15Rapamycin_CGATGT_L007_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208893"
gz1="$(_compress_if_exists 'SRR3208893_1' || true)"
gz2="$(_compress_if_exists 'SRR3208893_2' || true)"
gzs="$(_compress_if_exists 'SRR3208893' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "16AZD_TGACCA_L002_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208894"
gz1="$(_compress_if_exists 'SRR3208894_1' || true)"
gz2="$(_compress_if_exists 'SRR3208894_2' || true)"
gzs="$(_compress_if_exists 'SRR3208894' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "16AZD_TGACCA_L005_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208895"
gz1="$(_compress_if_exists 'SRR3208895_1' || true)"
gz2="$(_compress_if_exists 'SRR3208895_2' || true)"
gzs="$(_compress_if_exists 'SRR3208895' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "16AZD_ACTTGA_L007_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208896"
gz1="$(_compress_if_exists 'SRR3208896_1' || true)"
gz2="$(_compress_if_exists 'SRR3208896_2' || true)"
gzs="$(_compress_if_exists 'SRR3208896' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "16AZD_ACTTGA_L008_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208897"
gz1="$(_compress_if_exists 'SRR3208897_1' || true)"
gz2="$(_compress_if_exists 'SRR3208897_2' || true)"
gzs="$(_compress_if_exists 'SRR3208897' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "16DMSO_GCCAAT_L002_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208898"
gz1="$(_compress_if_exists 'SRR3208898_1' || true)"
gz2="$(_compress_if_exists 'SRR3208898_2' || true)"
gzs="$(_compress_if_exists 'SRR3208898' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "16DMSO_CTTGTA_L005_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208899"
gz1="$(_compress_if_exists 'SRR3208899_1' || true)"
gz2="$(_compress_if_exists 'SRR3208899_2' || true)"
gzs="$(_compress_if_exists 'SRR3208899' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "16DMSO_GCCAAT_L007_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208900"
gz1="$(_compress_if_exists 'SRR3208900_1' || true)"
gz2="$(_compress_if_exists 'SRR3208900_2' || true)"
gzs="$(_compress_if_exists 'SRR3208900' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "16DMSO_ACAGTG_L008_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208901"
gz1="$(_compress_if_exists 'SRR3208901_1' || true)"
gz2="$(_compress_if_exists 'SRR3208901_2' || true)"
gzs="$(_compress_if_exists 'SRR3208901' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "16Rapamycin_CTTGTA_L002_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208902"
gz1="$(_compress_if_exists 'SRR3208902_1' || true)"
gz2="$(_compress_if_exists 'SRR3208902_2' || true)"
gzs="$(_compress_if_exists 'SRR3208902' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "16Rapamycin_TTAGGC_L005_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208903"
gz1="$(_compress_if_exists 'SRR3208903_1' || true)"
gz2="$(_compress_if_exists 'SRR3208903_2' || true)"
gzs="$(_compress_if_exists 'SRR3208903' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "16Rapamycin_CTTGTA_L007_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208904"
gz1="$(_compress_if_exists 'SRR3208904_1' || true)"
gz2="$(_compress_if_exists 'SRR3208904_2' || true)"
gzs="$(_compress_if_exists 'SRR3208904' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "16Rapamycin_CAGATC_L008_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208905"
gz1="$(_compress_if_exists 'SRR3208905_1' || true)"
gz2="$(_compress_if_exists 'SRR3208905_2' || true)"
gzs="$(_compress_if_exists 'SRR3208905' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "19AZD_ACAGTG_L002_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208906"
gz1="$(_compress_if_exists 'SRR3208906_1' || true)"
gz2="$(_compress_if_exists 'SRR3208906_2' || true)"
gzs="$(_compress_if_exists 'SRR3208906' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "19AZD_ACTTGA_L003_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208907"
gz1="$(_compress_if_exists 'SRR3208907_1' || true)"
gz2="$(_compress_if_exists 'SRR3208907_2' || true)"
gzs="$(_compress_if_exists 'SRR3208907' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "19AZD_TGACCA_L006_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208908"
gz1="$(_compress_if_exists 'SRR3208908_1' || true)"
gz2="$(_compress_if_exists 'SRR3208908_2' || true)"
gzs="$(_compress_if_exists 'SRR3208908' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "19AZD_TTAGGC_L008_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208909"
gz1="$(_compress_if_exists 'SRR3208909_1' || true)"
gz2="$(_compress_if_exists 'SRR3208909_2' || true)"
gzs="$(_compress_if_exists 'SRR3208909' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "19DMSO_CGATGT_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208910"
gz1="$(_compress_if_exists 'SRR3208910_1' || true)"
gz2="$(_compress_if_exists 'SRR3208910_2' || true)"
gzs="$(_compress_if_exists 'SRR3208910' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "19DMSO_GCCAAT_L003_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208911"
gz1="$(_compress_if_exists 'SRR3208911_1' || true)"
gz2="$(_compress_if_exists 'SRR3208911_2' || true)"
gzs="$(_compress_if_exists 'SRR3208911' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "19DMSO_CGATGT_L006_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208912"
gz1="$(_compress_if_exists 'SRR3208912_1' || true)"
gz2="$(_compress_if_exists 'SRR3208912_2' || true)"
gzs="$(_compress_if_exists 'SRR3208912' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "19DMSO_GCCAAT_L008_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208913"
gz1="$(_compress_if_exists 'SRR3208913_1' || true)"
gz2="$(_compress_if_exists 'SRR3208913_2' || true)"
gzs="$(_compress_if_exists 'SRR3208913' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "19Rapamycin_TTAGGC_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208914"
gz1="$(_compress_if_exists 'SRR3208914_1' || true)"
gz2="$(_compress_if_exists 'SRR3208914_2' || true)"
gzs="$(_compress_if_exists 'SRR3208914' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "19Rapamycin_CTTGTA_L003_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208915"
gz1="$(_compress_if_exists 'SRR3208915_1' || true)"
gz2="$(_compress_if_exists 'SRR3208915_2' || true)"
gzs="$(_compress_if_exists 'SRR3208915' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "19Rapamycin_TTAGGC_L006_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208916"
gz1="$(_compress_if_exists 'SRR3208916_1' || true)"
gz2="$(_compress_if_exists 'SRR3208916_2' || true)"
gzs="$(_compress_if_exists 'SRR3208916' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "19Rapamycin_CTTGTA_L008_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208917"
gz1="$(_compress_if_exists 'SRR3208917_1' || true)"
gz2="$(_compress_if_exists 'SRR3208917_2' || true)"
gzs="$(_compress_if_exists 'SRR3208917' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "20AZD_TAGCTT_L003_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208918"
gz1="$(_compress_if_exists 'SRR3208918_1' || true)"
gz2="$(_compress_if_exists 'SRR3208918_2' || true)"
gzs="$(_compress_if_exists 'SRR3208918' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "20AZD_GGCTAC_L004_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208919"
gz1="$(_compress_if_exists 'SRR3208919_1' || true)"
gz2="$(_compress_if_exists 'SRR3208919_2' || true)"
gzs="$(_compress_if_exists 'SRR3208919' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "20AZD_GGCTAC_L007_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208920"
gz1="$(_compress_if_exists 'SRR3208920_1' || true)"
gz2="$(_compress_if_exists 'SRR3208920_2' || true)"
gzs="$(_compress_if_exists 'SRR3208920' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "20AZD_GATCAG_L008_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208921"
gz1="$(_compress_if_exists 'SRR3208921_1' || true)"
gz2="$(_compress_if_exists 'SRR3208921_2' || true)"
gzs="$(_compress_if_exists 'SRR3208921' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "20DMSO_CAGATC_L002_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208922"
gz1="$(_compress_if_exists 'SRR3208922_1' || true)"
gz2="$(_compress_if_exists 'SRR3208922_2' || true)"
gzs="$(_compress_if_exists 'SRR3208922' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "20DMSO_GCCAAT_L004_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208923"
gz1="$(_compress_if_exists 'SRR3208923_1' || true)"
gz2="$(_compress_if_exists 'SRR3208923_2' || true)"
gzs="$(_compress_if_exists 'SRR3208923' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "20DMSO_ACAGTG_L006_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208924"
gz1="$(_compress_if_exists 'SRR3208924_1' || true)"
gz2="$(_compress_if_exists 'SRR3208924_2' || true)"
gzs="$(_compress_if_exists 'SRR3208924' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "20DMSO_GATCAG_L007_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208925"
gz1="$(_compress_if_exists 'SRR3208925_1' || true)"
gz2="$(_compress_if_exists 'SRR3208925_2' || true)"
gzs="$(_compress_if_exists 'SRR3208925' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "20Rapamycin_GATCAG_L003_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208926"
gz1="$(_compress_if_exists 'SRR3208926_1' || true)"
gz2="$(_compress_if_exists 'SRR3208926_2' || true)"
gzs="$(_compress_if_exists 'SRR3208926' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "20Rapamycin_CTTGTA_L004_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208927"
gz1="$(_compress_if_exists 'SRR3208927_1' || true)"
gz2="$(_compress_if_exists 'SRR3208927_2' || true)"
gzs="$(_compress_if_exists 'SRR3208927' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "20Rapamycin_CAGATC_L006_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR3208928"
gz1="$(_compress_if_exists 'SRR3208928_1' || true)"
gz2="$(_compress_if_exists 'SRR3208928_2' || true)"
gzs="$(_compress_if_exists 'SRR3208928' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "20Rapamycin_TAGCTT_L007_R1_001.fastq.gz"
fi


# Option B: Direct download (larger .sra files)
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208881/SRR3208881"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208882/SRR3208882"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208883/SRR3208883"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208884/SRR3208884"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208885/SRR3208885"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208886/SRR3208886"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208887/SRR3208887"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208888/SRR3208888"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208889/SRR3208889"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208890/SRR3208890"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208891/SRR3208891"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208892/SRR3208892"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208893/SRR3208893"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208894/SRR3208894"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208895/SRR3208895"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208896/SRR3208896"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208897/SRR3208897"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208898/SRR3208898"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208899/SRR3208899"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208900/SRR3208900"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208901/SRR3208901"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208902/SRR3208902"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208903/SRR3208903"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208904/SRR3208904"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208905/SRR3208905"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208906/SRR3208906"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208907/SRR3208907"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208908/SRR3208908"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208909/SRR3208909"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208910/SRR3208910"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208911/SRR3208911"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208912/SRR3208912"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208913/SRR3208913"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208914/SRR3208914"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208915/SRR3208915"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208916/SRR3208916"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208917/SRR3208917"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208918/SRR3208918"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208919/SRR3208919"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208920/SRR3208920"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208921/SRR3208921"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208922/SRR3208922"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208923/SRR3208923"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208924/SRR3208924"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208925/SRR3208925"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208926/SRR3208926"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208927/SRR3208927"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208928/SRR3208928"

# --- Additional data files ---
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208881/SRR3208881"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208883/SRR3208883"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208882/SRR3208882"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208884/SRR3208884"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208886/SRR3208886"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208888/SRR3208888"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208885/SRR3208885"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208887/SRR3208887"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208890/SRR3208890"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208892/SRR3208892"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208889/SRR3208889"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208891/SRR3208891"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208895/SRR3208895"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208896/SRR3208896"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208893/SRR3208893"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208894/SRR3208894"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208900/SRR3208900"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208898/SRR3208898"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208897/SRR3208897"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208899/SRR3208899"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208904/SRR3208904"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208901/SRR3208901"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208903/SRR3208903"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208902/SRR3208902"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208905/SRR3208905"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208906/SRR3208906"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208907/SRR3208907"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208908/SRR3208908"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208909/SRR3208909"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208911/SRR3208911"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208910/SRR3208910"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208912/SRR3208912"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208914/SRR3208914"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208916/SRR3208916"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208913/SRR3208913"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208915/SRR3208915"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208920/SRR3208920"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208918/SRR3208918"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208919/SRR3208919"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208917/SRR3208917"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208923/SRR3208923"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208921/SRR3208921"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208924/SRR3208924"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208922/SRR3208922"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208927/SRR3208927"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208926/SRR3208926"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208925/SRR3208925"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR3208928/SRR3208928"

echo "Download complete. Files saved to $OUTDIR"