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

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

# --- GEO supplementary files ---
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE114nnn/GSE114820/suppl/GSE114820_RAW.tar" -O "GSE114820_RAW.tar"
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE114nnn/GSE114820/suppl/GSE114820_cachexia_RNASeq.xlsx" -O "GSE114820_cachexia_RNASeq.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 "SRR7207740"
gz1="$(_compress_if_exists 'SRR7207740_1' || true)"
gz2="$(_compress_if_exists 'SRR7207740_2' || true)"
gzs="$(_compress_if_exists 'SRR7207740' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "10_ATTACTCG-ATAGAGGC_L002_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207741"
gz1="$(_compress_if_exists 'SRR7207741_1' || true)"
gz2="$(_compress_if_exists 'SRR7207741_2' || true)"
gzs="$(_compress_if_exists 'SRR7207741' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "101_GAGATTCC-GTACTGAC_L002_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207742"
gz1="$(_compress_if_exists 'SRR7207742_1' || true)"
gz2="$(_compress_if_exists 'SRR7207742_2' || true)"
gzs="$(_compress_if_exists 'SRR7207742' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "104_GAGATTCC-CAGGACGT_L002_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207743"
gz1="$(_compress_if_exists 'SRR7207743_1' || true)"
gz2="$(_compress_if_exists 'SRR7207743_2' || true)"
gzs="$(_compress_if_exists 'SRR7207743' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "105_ATTCAGAA-TATAGCCT_L002_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207744"
gz1="$(_compress_if_exists 'SRR7207744_1' || true)"
gz2="$(_compress_if_exists 'SRR7207744_2' || true)"
gzs="$(_compress_if_exists 'SRR7207744' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "107_CGCTCATT-CCTATCCT_L002_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207745"
gz1="$(_compress_if_exists 'SRR7207745_1' || true)"
gz2="$(_compress_if_exists 'SRR7207745_2' || true)"
gzs="$(_compress_if_exists 'SRR7207745' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "11_ATTACTCG-CCTATCCT_L004_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207746"
gz1="$(_compress_if_exists 'SRR7207746_1' || true)"
gz2="$(_compress_if_exists 'SRR7207746_2' || true)"
gzs="$(_compress_if_exists 'SRR7207746' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "110_ATTCAGAA-CCTATCCT_L006_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207747"
gz1="$(_compress_if_exists 'SRR7207747_1' || true)"
gz2="$(_compress_if_exists 'SRR7207747_2' || true)"
gzs="$(_compress_if_exists 'SRR7207747' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "111_ATTCAGAA-GGCTCTGA_L006_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207748"
gz1="$(_compress_if_exists 'SRR7207748_1' || true)"
gz2="$(_compress_if_exists 'SRR7207748_2' || true)"
gzs="$(_compress_if_exists 'SRR7207748' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "112_ATTCAGAA-AGGCGAAG_L006_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207749"
gz1="$(_compress_if_exists 'SRR7207749_1' || true)"
gz2="$(_compress_if_exists 'SRR7207749_2' || true)"
gzs="$(_compress_if_exists 'SRR7207749' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "114_ATTCAGAA-TAATCTTA_L006_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207750"
gz1="$(_compress_if_exists 'SRR7207750_1' || true)"
gz2="$(_compress_if_exists 'SRR7207750_2' || true)"
gzs="$(_compress_if_exists 'SRR7207750' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "12_ATTACTCG-GGCTCTGA_L004_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207751"
gz1="$(_compress_if_exists 'SRR7207751_1' || true)"
gz2="$(_compress_if_exists 'SRR7207751_2' || true)"
gzs="$(_compress_if_exists 'SRR7207751' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "124_ATTCAGAA-CAGGACGT_L006_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207752"
gz1="$(_compress_if_exists 'SRR7207752_1' || true)"
gz2="$(_compress_if_exists 'SRR7207752_2' || true)"
gzs="$(_compress_if_exists 'SRR7207752' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "125_ATTCAGAA-GTACTGAC_L006_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207753"
gz1="$(_compress_if_exists 'SRR7207753_1' || true)"
gz2="$(_compress_if_exists 'SRR7207753_2' || true)"
gzs="$(_compress_if_exists 'SRR7207753' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "14_ATTACTCG-AGGCGAAG_L005_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207754"
gz1="$(_compress_if_exists 'SRR7207754_1' || true)"
gz2="$(_compress_if_exists 'SRR7207754_2' || true)"
gzs="$(_compress_if_exists 'SRR7207754' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "17_ATTACTCG-TAATCTTA_L005_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207755"
gz1="$(_compress_if_exists 'SRR7207755_1' || true)"
gz2="$(_compress_if_exists 'SRR7207755_2' || true)"
gzs="$(_compress_if_exists 'SRR7207755' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "19_ATTACTCG-CAGGACGT_L005_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207756"
gz1="$(_compress_if_exists 'SRR7207756_1' || true)"
gz2="$(_compress_if_exists 'SRR7207756_2' || true)"
gzs="$(_compress_if_exists 'SRR7207756' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "2_ATTACTCG-TATAGCCT_L004_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207757"
gz1="$(_compress_if_exists 'SRR7207757_1' || true)"
gz2="$(_compress_if_exists 'SRR7207757_2' || true)"
gzs="$(_compress_if_exists 'SRR7207757' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "21_ATTACTCG-GTACTGAC_L005_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207758"
gz1="$(_compress_if_exists 'SRR7207758_1' || true)"
gz2="$(_compress_if_exists 'SRR7207758_2' || true)"
gzs="$(_compress_if_exists 'SRR7207758' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "23_TCCGGAGA-TATAGCCT_L004_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207759"
gz1="$(_compress_if_exists 'SRR7207759_1' || true)"
gz2="$(_compress_if_exists 'SRR7207759_2' || true)"
gzs="$(_compress_if_exists 'SRR7207759' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "25_TCCGGAGA-ATAGAGGC_L004_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207760"
gz1="$(_compress_if_exists 'SRR7207760_1' || true)"
gz2="$(_compress_if_exists 'SRR7207760_2' || true)"
gzs="$(_compress_if_exists 'SRR7207760' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "27_TCCGGAGA-CCTATCCT_L002_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207761"
gz1="$(_compress_if_exists 'SRR7207761_1' || true)"
gz2="$(_compress_if_exists 'SRR7207761_2' || true)"
gzs="$(_compress_if_exists 'SRR7207761' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "28b_TCCGGAGA-GGCTCTGA_L002_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207762"
gz1="$(_compress_if_exists 'SRR7207762_1' || true)"
gz2="$(_compress_if_exists 'SRR7207762_2' || true)"
gzs="$(_compress_if_exists 'SRR7207762' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "30_TCCGGAGA-AGGCGAAG_L005_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207763"
gz1="$(_compress_if_exists 'SRR7207763_1' || true)"
gz2="$(_compress_if_exists 'SRR7207763_2' || true)"
gzs="$(_compress_if_exists 'SRR7207763' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "30b_TCCGGAGA-TAATCTTA_L005_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207764"
gz1="$(_compress_if_exists 'SRR7207764_1' || true)"
gz2="$(_compress_if_exists 'SRR7207764_2' || true)"
gzs="$(_compress_if_exists 'SRR7207764' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "31_TCCGGAGA-CAGGACGT_L005_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207765"
gz1="$(_compress_if_exists 'SRR7207765_1' || true)"
gz2="$(_compress_if_exists 'SRR7207765_2' || true)"
gzs="$(_compress_if_exists 'SRR7207765' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "31b_TCCGGAGA-GTACTGAC_L005_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207766"
gz1="$(_compress_if_exists 'SRR7207766_1' || true)"
gz2="$(_compress_if_exists 'SRR7207766_2' || true)"
gzs="$(_compress_if_exists 'SRR7207766' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "32_CGCTCATT-TATAGCCT_L002_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207767"
gz1="$(_compress_if_exists 'SRR7207767_1' || true)"
gz2="$(_compress_if_exists 'SRR7207767_2' || true)"
gzs="$(_compress_if_exists 'SRR7207767' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "33_CGCTCATT-ATAGAGGC_L004_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207768"
gz1="$(_compress_if_exists 'SRR7207768_1' || true)"
gz2="$(_compress_if_exists 'SRR7207768_2' || true)"
gzs="$(_compress_if_exists 'SRR7207768' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "36_CGCTCATT-CCTATCCT_L004_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207769"
gz1="$(_compress_if_exists 'SRR7207769_1' || true)"
gz2="$(_compress_if_exists 'SRR7207769_2' || true)"
gzs="$(_compress_if_exists 'SRR7207769' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "36b_CGCTCATT-AGGCGAAG_L002_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207770"
gz1="$(_compress_if_exists 'SRR7207770_1' || true)"
gz2="$(_compress_if_exists 'SRR7207770_2' || true)"
gzs="$(_compress_if_exists 'SRR7207770' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "37_CGCTCATT-TAATCTTA_L006_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207771"
gz1="$(_compress_if_exists 'SRR7207771_1' || true)"
gz2="$(_compress_if_exists 'SRR7207771_2' || true)"
gzs="$(_compress_if_exists 'SRR7207771' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "38_CGCTCATT-CAGGACGT_L005_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207772"
gz1="$(_compress_if_exists 'SRR7207772_1' || true)"
gz2="$(_compress_if_exists 'SRR7207772_2' || true)"
gzs="$(_compress_if_exists 'SRR7207772' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "41_CGCTCATT-GTACTGAC_L005_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207773"
gz1="$(_compress_if_exists 'SRR7207773_1' || true)"
gz2="$(_compress_if_exists 'SRR7207773_2' || true)"
gzs="$(_compress_if_exists 'SRR7207773' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "54_GAGATTCC-TATAGCCT_L004_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207774"
gz1="$(_compress_if_exists 'SRR7207774_1' || true)"
gz2="$(_compress_if_exists 'SRR7207774_2' || true)"
gzs="$(_compress_if_exists 'SRR7207774' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "56_GAGATTCC-ATAGAGGC_L004_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207775"
gz1="$(_compress_if_exists 'SRR7207775_1' || true)"
gz2="$(_compress_if_exists 'SRR7207775_2' || true)"
gzs="$(_compress_if_exists 'SRR7207775' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "57_GAGATTCC-CCTATCCT_L004_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207776"
gz1="$(_compress_if_exists 'SRR7207776_1' || true)"
gz2="$(_compress_if_exists 'SRR7207776_2' || true)"
gzs="$(_compress_if_exists 'SRR7207776' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "59_GAGATTCC-GGCTCTGA_L002_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207777"
gz1="$(_compress_if_exists 'SRR7207777_1' || true)"
gz2="$(_compress_if_exists 'SRR7207777_2' || true)"
gzs="$(_compress_if_exists 'SRR7207777' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "72_GAGATTCC-AGGCGAAG_L006_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR7207778"
gz1="$(_compress_if_exists 'SRR7207778_1' || true)"
gz2="$(_compress_if_exists 'SRR7207778_2' || true)"
gzs="$(_compress_if_exists 'SRR7207778' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "73_GAGATTCC-TAATCTTA_L006_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/SRR7207740/SRR7207740"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207741/SRR7207741"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207742/SRR7207742"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207743/SRR7207743"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207744/SRR7207744"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207745/SRR7207745"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207746/SRR7207746"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207747/SRR7207747"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207748/SRR7207748"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207749/SRR7207749"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207750/SRR7207750"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207751/SRR7207751"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207752/SRR7207752"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207753/SRR7207753"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207754/SRR7207754"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207755/SRR7207755"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207756/SRR7207756"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207757/SRR7207757"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207758/SRR7207758"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207759/SRR7207759"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207760/SRR7207760"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207761/SRR7207761"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207762/SRR7207762"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207763/SRR7207763"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207764/SRR7207764"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207765/SRR7207765"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207766/SRR7207766"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207767/SRR7207767"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207768/SRR7207768"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207769/SRR7207769"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207770/SRR7207770"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207771/SRR7207771"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207772/SRR7207772"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207773/SRR7207773"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207774/SRR7207774"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207775/SRR7207775"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207776/SRR7207776"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207777/SRR7207777"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207778/SRR7207778"

# --- Additional data files ---
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207741/SRR7207741"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207742/SRR7207742"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207743/SRR7207743"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207744/SRR7207744"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207740/SRR7207740"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207746/SRR7207746"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207747/SRR7207747"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207748/SRR7207748"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207749/SRR7207749"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207745/SRR7207745"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207751/SRR7207751"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207752/SRR7207752"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207750/SRR7207750"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207753/SRR7207753"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207754/SRR7207754"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207755/SRR7207755"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207757/SRR7207757"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207758/SRR7207758"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207759/SRR7207759"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207760/SRR7207760"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207761/SRR7207761"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207756/SRR7207756"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207763/SRR7207763"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207762/SRR7207762"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207765/SRR7207765"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207764/SRR7207764"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207766/SRR7207766"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207767/SRR7207767"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207769/SRR7207769"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207768/SRR7207768"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207770/SRR7207770"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207771/SRR7207771"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207772/SRR7207772"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207773/SRR7207773"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207774/SRR7207774"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207775/SRR7207775"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207776/SRR7207776"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207777/SRR7207777"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR7207778/SRR7207778"

echo "Download complete. Files saved to $OUTDIR"