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

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

# --- GEO supplementary files ---
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE110nnn/GSE110701/suppl/GSE110701_Supp_Table2.xlsx" -O "GSE110701_Supp_Table2.xlsx"
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE110nnn/GSE110701/suppl/GSE110701_Supp_Table3.xlsx" -O "GSE110701_Supp_Table3.xlsx"
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE110nnn/GSE110701/suppl/GSE110701_Supp_Table5.xlsx" -O "GSE110701_Supp_Table5.xlsx"

# --- 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 "SRR6739731"
gz1="$(_compress_if_exists 'SRR6739731_1' || true)"
gz2="$(_compress_if_exists 'SRR6739731_2' || true)"
gzs="$(_compress_if_exists 'SRR6739731' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "BB19_embryo_1_131216_CGATGT.fastq.gz"
fi

fasterq-dump --split-files "SRR6739732"
gz1="$(_compress_if_exists 'SRR6739732_1' || true)"
gz2="$(_compress_if_exists 'SRR6739732_2' || true)"
gzs="$(_compress_if_exists 'SRR6739732' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "BB19_embryo_2_051216_TTAGGC.fastq.gz"
fi

fasterq-dump --split-files "SRR6739733"
gz1="$(_compress_if_exists 'SRR6739733_1' || true)"
gz2="$(_compress_if_exists 'SRR6739733_2' || true)"
gzs="$(_compress_if_exists 'SRR6739733' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "BB19_embryo_310816_TTAGGC.fastq.gz"
fi

fasterq-dump --split-files "SRR6739734"
gz1="$(_compress_if_exists 'SRR6739734_1' || true)"
gz2="$(_compress_if_exists 'SRR6739734_2' || true)"
gzs="$(_compress_if_exists 'SRR6739734' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "BB19_L4_220816_GCCAAT.fastq.gz"
fi

fasterq-dump --split-files "SRR6739735"
gz1="$(_compress_if_exists 'SRR6739735_1' || true)"
gz2="$(_compress_if_exists 'SRR6739735_2' || true)"
gzs="$(_compress_if_exists 'SRR6739735' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "BB19_L4_6_10_16_TAGCTT.fastq.gz"
fi

fasterq-dump --split-files "SRR6739736"
gz1="$(_compress_if_exists 'SRR6739736_1' || true)"
gz2="$(_compress_if_exists 'SRR6739736_2' || true)"
gzs="$(_compress_if_exists 'SRR6739736' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "BB19_L4_Ayya_GGCTAC.fastq.gz"
fi

fasterq-dump --split-files "SRR6739737"
gz1="$(_compress_if_exists 'SRR6739737_1' || true)"
gz2="$(_compress_if_exists 'SRR6739737_2' || true)"
gzs="$(_compress_if_exists 'SRR6739737' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "BB2_E_18_12_16_CAGATC.fastq.gz"
fi

fasterq-dump --split-files "SRR6739738"
gz1="$(_compress_if_exists 'SRR6739738_1' || true)"
gz2="$(_compress_if_exists 'SRR6739738_2' || true)"
gzs="$(_compress_if_exists 'SRR6739738' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "BB2_embryo_070916_TTAGGC.fastq.gz"
fi

fasterq-dump --split-files "SRR6739739"
gz1="$(_compress_if_exists 'SRR6739739_1' || true)"
gz2="$(_compress_if_exists 'SRR6739739_2' || true)"
gzs="$(_compress_if_exists 'SRR6739739' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "BB2_L4_221216_ACAGTG.fastq.gz"
fi

fasterq-dump --split-files "SRR6739740"
gz1="$(_compress_if_exists 'SRR6739740_1' || true)"
gz2="$(_compress_if_exists 'SRR6739740_2' || true)"
gzs="$(_compress_if_exists 'SRR6739740' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "BB2_L4_230816_CAGATC.fastq.gz"
fi

fasterq-dump --split-files "SRR6739741"
gz1="$(_compress_if_exists 'SRR6739741_1' || true)"
gz2="$(_compress_if_exists 'SRR6739741_2' || true)"
gzs="$(_compress_if_exists 'SRR6739741' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "BB2_L4_Ayya_ATCACG.fastq.gz"
fi

fasterq-dump --split-files "SRR6739742"
gz1="$(_compress_if_exists 'SRR6739742_1' || true)"
gz2="$(_compress_if_exists 'SRR6739742_2' || true)"
gzs="$(_compress_if_exists 'SRR6739742' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "BB3_E_19_12_16_GATCAG.fastq.gz"
fi

fasterq-dump --split-files "SRR6739743"
gz1="$(_compress_if_exists 'SRR6739743_1' || true)"
gz2="$(_compress_if_exists 'SRR6739743_2' || true)"
gzs="$(_compress_if_exists 'SRR6739743' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "BB3_embryo_011216_TAGCTT.fastq.gz"
fi

fasterq-dump --split-files "SRR6739744"
gz1="$(_compress_if_exists 'SRR6739744_1' || true)"
gz2="$(_compress_if_exists 'SRR6739744_2' || true)"
gzs="$(_compress_if_exists 'SRR6739744' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "BB3_embryo_230816_ACAGTG.fastq.gz"
fi

fasterq-dump --split-files "SRR6739745"
gz1="$(_compress_if_exists 'SRR6739745_1' || true)"
gz2="$(_compress_if_exists 'SRR6739745_2' || true)"
gzs="$(_compress_if_exists 'SRR6739745' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "BB3_L4_10_10_16_ACTTGA.fastq.gz"
fi

fasterq-dump --split-files "SRR6739746"
gz1="$(_compress_if_exists 'SRR6739746_1' || true)"
gz2="$(_compress_if_exists 'SRR6739746_2' || true)"
gzs="$(_compress_if_exists 'SRR6739746' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "BB3_L4_160816_GATCAG.fastq.gz"
fi

fasterq-dump --split-files "SRR6739747"
gz1="$(_compress_if_exists 'SRR6739747_1' || true)"
gz2="$(_compress_if_exists 'SRR6739747_2' || true)"
gzs="$(_compress_if_exists 'SRR6739747' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "BB3_L4_Ayya_CTTGTA.fastq.gz"
fi

fasterq-dump --split-files "SRR6739748"
gz1="$(_compress_if_exists 'SRR6739748_1' || true)"
gz2="$(_compress_if_exists 'SRR6739748_2' || true)"
gzs="$(_compress_if_exists 'SRR6739748' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "N2_E_15_12_16_CGATGT.fastq.gz"
fi

fasterq-dump --split-files "SRR6739749"
gz1="$(_compress_if_exists 'SRR6739749_1' || true)"
gz2="$(_compress_if_exists 'SRR6739749_2' || true)"
gzs="$(_compress_if_exists 'SRR6739749' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "N2_E_15_9_16_CGATGT.fastq.gz"
fi

fasterq-dump --split-files "SRR6739750"
gz1="$(_compress_if_exists 'SRR6739750_1' || true)"
gz2="$(_compress_if_exists 'SRR6739750_2' || true)"
gzs="$(_compress_if_exists 'SRR6739750' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "N2_embryo_111216_TAGCTT.fastq.gz"
fi

fasterq-dump --split-files "SRR6739751"
gz1="$(_compress_if_exists 'SRR6739751_1' || true)"
gz2="$(_compress_if_exists 'SRR6739751_2' || true)"
gzs="$(_compress_if_exists 'SRR6739751' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "N2_embryo_230816_ATCACG.fastq.gz"
fi

fasterq-dump --split-files "SRR6739752"
gz1="$(_compress_if_exists 'SRR6739752_1' || true)"
gz2="$(_compress_if_exists 'SRR6739752_2' || true)"
gzs="$(_compress_if_exists 'SRR6739752' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "N2_L4_18_9_16_ATCACG.fastq.gz"
fi

fasterq-dump --split-files "SRR6739753"
gz1="$(_compress_if_exists 'SRR6739753_1' || true)"
gz2="$(_compress_if_exists 'SRR6739753_2' || true)"
gzs="$(_compress_if_exists 'SRR6739753' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "N2_L4_220816_ATCACG.fastq.gz"
fi

fasterq-dump --split-files "SRR6739754"
gz1="$(_compress_if_exists 'SRR6739754_1' || true)"
gz2="$(_compress_if_exists 'SRR6739754_2' || true)"
gzs="$(_compress_if_exists 'SRR6739754' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "N2_L4_AYYA_TTAGGC.fastq.gz"
fi

fasterq-dump --split-files "SRR6739755"
gz1="$(_compress_if_exists 'SRR6739755_1' || true)"
gz2="$(_compress_if_exists 'SRR6739755_2' || true)"
gzs="$(_compress_if_exists 'SRR6739755' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "RB886_E_11_9_16_ACAGTG.fastq.gz"
fi

fasterq-dump --split-files "SRR6739756"
gz1="$(_compress_if_exists 'SRR6739756_1' || true)"
gz2="$(_compress_if_exists 'SRR6739756_2' || true)"
gzs="$(_compress_if_exists 'SRR6739756' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "RB886_E_15_12_16_TTAGGC.fastq.gz"
fi

fasterq-dump --split-files "SRR6739757"
gz1="$(_compress_if_exists 'SRR6739757_1' || true)"
gz2="$(_compress_if_exists 'SRR6739757_2' || true)"
gzs="$(_compress_if_exists 'SRR6739757' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "RB886_embryo_110916_CGATGT.fastq.gz"
fi

fasterq-dump --split-files "SRR6739758"
gz1="$(_compress_if_exists 'SRR6739758_1' || true)"
gz2="$(_compress_if_exists 'SRR6739758_2' || true)"
gzs="$(_compress_if_exists 'SRR6739758' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "RB886_L4_160816_TGACCA.fastq.gz"
fi

fasterq-dump --split-files "SRR6739759"
gz1="$(_compress_if_exists 'SRR6739759_1' || true)"
gz2="$(_compress_if_exists 'SRR6739759_2' || true)"
gzs="$(_compress_if_exists 'SRR6739759' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "RB886_L4_20_9_16_TGACCA.fastq.gz"
fi

fasterq-dump --split-files "SRR6739760"
gz1="$(_compress_if_exists 'SRR6739760_1' || true)"
gz2="$(_compress_if_exists 'SRR6739760_2' || true)"
gzs="$(_compress_if_exists 'SRR6739760' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "RB886_L4_Ayya_GCCAAT.fastq.gz"
fi

fasterq-dump --split-files "SRR6739761"
gz1="$(_compress_if_exists 'SRR6739761_1' || true)"
gz2="$(_compress_if_exists 'SRR6739761_2' || true)"
gzs="$(_compress_if_exists 'SRR6739761' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "GSF-896-134-Input-24June_S6_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR6739762"
gz1="$(_compress_if_exists 'SRR6739762_1' || true)"
gz2="$(_compress_if_exists 'SRR6739762_2' || true)"
gzs="$(_compress_if_exists 'SRR6739762' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "GSF-896-134-Input-30Mar_S3_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR6739763"
gz1="$(_compress_if_exists 'SRR6739763_1' || true)"
gz2="$(_compress_if_exists 'SRR6739763_2' || true)"
gzs="$(_compress_if_exists 'SRR6739763' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "GSF-896-134-RIP-24June_S15_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR6739764"
gz1="$(_compress_if_exists 'SRR6739764_1' || true)"
gz2="$(_compress_if_exists 'SRR6739764_2' || true)"
gzs="$(_compress_if_exists 'SRR6739764' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "GSF-896-134-RIP-30Mar_S12_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR6739765"
gz1="$(_compress_if_exists 'SRR6739765_1' || true)"
gz2="$(_compress_if_exists 'SRR6739765_2' || true)"
gzs="$(_compress_if_exists 'SRR6739765' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "GSF-896-76-Input-24June_S4_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR6739766"
gz1="$(_compress_if_exists 'SRR6739766_1' || true)"
gz2="$(_compress_if_exists 'SRR6739766_2' || true)"
gzs="$(_compress_if_exists 'SRR6739766' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "GSF-896-76-Input-30Mar_S1_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR6739767"
gz1="$(_compress_if_exists 'SRR6739767_1' || true)"
gz2="$(_compress_if_exists 'SRR6739767_2' || true)"
gzs="$(_compress_if_exists 'SRR6739767' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "GSF-896-76-RIP-24June_S13_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR6739768"
gz1="$(_compress_if_exists 'SRR6739768_1' || true)"
gz2="$(_compress_if_exists 'SRR6739768_2' || true)"
gzs="$(_compress_if_exists 'SRR6739768' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "GSF-896-76-RIP-30Mar_S10_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR6739769"
gz1="$(_compress_if_exists 'SRR6739769_1' || true)"
gz2="$(_compress_if_exists 'SRR6739769_2' || true)"
gzs="$(_compress_if_exists 'SRR6739769' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "GSF-896-Adr-1-Input-24June_S5_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR6739770"
gz1="$(_compress_if_exists 'SRR6739770_1' || true)"
gz2="$(_compress_if_exists 'SRR6739770_2' || true)"
gzs="$(_compress_if_exists 'SRR6739770' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "GSF-896-Adr-1-Input-30Mar_S2_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR6739771"
gz1="$(_compress_if_exists 'SRR6739771_1' || true)"
gz2="$(_compress_if_exists 'SRR6739771_2' || true)"
gzs="$(_compress_if_exists 'SRR6739771' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "GSF-896-Adr-1-RIP-24June_S14_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR6739772"
gz1="$(_compress_if_exists 'SRR6739772_1' || true)"
gz2="$(_compress_if_exists 'SRR6739772_2' || true)"
gzs="$(_compress_if_exists 'SRR6739772' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "GSF-896-Adr1-RIP-30Mar_S11_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/SRR6739731/SRR6739731"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739732/SRR6739732"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739733/SRR6739733"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739734/SRR6739734"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739735/SRR6739735"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739736/SRR6739736"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739737/SRR6739737"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739738/SRR6739738"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739739/SRR6739739"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739740/SRR6739740"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739741/SRR6739741"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739742/SRR6739742"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739743/SRR6739743"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739744/SRR6739744"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739745/SRR6739745"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739746/SRR6739746"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739747/SRR6739747"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739748/SRR6739748"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739749/SRR6739749"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739750/SRR6739750"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739751/SRR6739751"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739752/SRR6739752"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739753/SRR6739753"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739754/SRR6739754"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739755/SRR6739755"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739756/SRR6739756"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739757/SRR6739757"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739758/SRR6739758"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739759/SRR6739759"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739760/SRR6739760"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739761/SRR6739761"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739762/SRR6739762"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739763/SRR6739763"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739764/SRR6739764"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739765/SRR6739765"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739766/SRR6739766"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739767/SRR6739767"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739768/SRR6739768"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739769/SRR6739769"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739770/SRR6739770"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739771/SRR6739771"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739772/SRR6739772"

# --- Additional data files ---
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739761/SRR6739761"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739762/SRR6739762"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739763/SRR6739763"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739764/SRR6739764"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739765/SRR6739765"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739766/SRR6739766"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739767/SRR6739767"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739768/SRR6739768"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739769/SRR6739769"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739770/SRR6739770"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739771/SRR6739771"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739772/SRR6739772"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739731/SRR6739731"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739732/SRR6739732"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739733/SRR6739733"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739734/SRR6739734"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739735/SRR6739735"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739736/SRR6739736"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739737/SRR6739737"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739738/SRR6739738"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739739/SRR6739739"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739740/SRR6739740"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739741/SRR6739741"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739742/SRR6739742"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739743/SRR6739743"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739744/SRR6739744"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739745/SRR6739745"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739746/SRR6739746"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739747/SRR6739747"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739748/SRR6739748"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739749/SRR6739749"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739750/SRR6739750"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739751/SRR6739751"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739752/SRR6739752"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739753/SRR6739753"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739754/SRR6739754"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739755/SRR6739755"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739756/SRR6739756"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739757/SRR6739757"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739758/SRR6739758"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739759/SRR6739759"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6739760/SRR6739760"

echo "Download complete. Files saved to $OUTDIR"