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

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

# --- GEO supplementary files ---
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE232nnn/GSE232519/suppl/GSE232519_2X_MS2_50_bp_apart_-350_bp-2X_PP7_50_bp_apart_mRNA.fa.gz" -O "GSE232519_2X_MS2_50_bp_apart_-350_bp-2X_PP7_50_bp_apart_mRNA.fa.gz"
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE232nnn/GSE232519/suppl/GSE232519_2X_MS2_50_bp_apart_-350_bp-2X_PP7_50_bp_apart_mRNA_features.txt.gz" -O "GSE232519_2X_MS2_50_bp_apart_-350_bp-2X_PP7_50_bp_apart_mRNA_features.txt.gz"
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE232nnn/GSE232519/suppl/GSE232519_2X_MS2_and_2X_PP7_alternating_and_50_bp_apart_mRNA.fa.gz" -O "GSE232519_2X_MS2_and_2X_PP7_alternating_and_50_bp_apart_mRNA.fa.gz"
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE232nnn/GSE232519/suppl/GSE232519_2X_MS2_and_2X_PP7_alternating_and_50_bp_apart_mRNA_features.txt.gz" -O "GSE232519_2X_MS2_and_2X_PP7_alternating_and_50_bp_apart_mRNA_features.txt.gz"
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE232nnn/GSE232519/suppl/GSE232519_6X_MS2_and_6X_PP7_alternating_and_50_bp_apart_mRNA.fa.gz" -O "GSE232519_6X_MS2_and_6X_PP7_alternating_and_50_bp_apart_mRNA.fa.gz"
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE232nnn/GSE232519/suppl/GSE232519_6X_MS2_and_6X_PP7_alternating_and_50_bp_apart_mRNA_features.txt.gz" -O "GSE232519_6X_MS2_and_6X_PP7_alternating_and_50_bp_apart_mRNA_features.txt.gz"
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE232nnn/GSE232519/suppl/GSE232519_RAW.tar" -O "GSE232519_RAW.tar"

# --- 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 "SRR24557450"
gz1="$(_compress_if_exists 'SRR24557450_1' || true)"
gz2="$(_compress_if_exists 'SRR24557450_2' || true)"
gzs="$(_compress_if_exists 'SRR24557450' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "24_S24_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557451"
gz1="$(_compress_if_exists 'SRR24557451_1' || true)"
gz2="$(_compress_if_exists 'SRR24557451_2' || true)"
gzs="$(_compress_if_exists 'SRR24557451' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "23_S23_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557452"
gz1="$(_compress_if_exists 'SRR24557452_1' || true)"
gz2="$(_compress_if_exists 'SRR24557452_2' || true)"
gzs="$(_compress_if_exists 'SRR24557452' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "22_S22_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557453"
gz1="$(_compress_if_exists 'SRR24557453_1' || true)"
gz2="$(_compress_if_exists 'SRR24557453_2' || true)"
gzs="$(_compress_if_exists 'SRR24557453' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "21_S21_L001_R1_001.fastq.gz"
fi

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

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

fasterq-dump --split-files "SRR24557456"
gz1="$(_compress_if_exists 'SRR24557456_1' || true)"
gz2="$(_compress_if_exists 'SRR24557456_2' || true)"
gzs="$(_compress_if_exists 'SRR24557456' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "18_S18_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557457"
gz1="$(_compress_if_exists 'SRR24557457_1' || true)"
gz2="$(_compress_if_exists 'SRR24557457_2' || true)"
gzs="$(_compress_if_exists 'SRR24557457' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "17_S17_L001_R1_001.fastq.gz"
fi

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

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

fasterq-dump --split-files "SRR24557460"
gz1="$(_compress_if_exists 'SRR24557460_1' || true)"
gz2="$(_compress_if_exists 'SRR24557460_2' || true)"
gzs="$(_compress_if_exists 'SRR24557460' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "14_S14_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557461"
gz1="$(_compress_if_exists 'SRR24557461_1' || true)"
gz2="$(_compress_if_exists 'SRR24557461_2' || true)"
gzs="$(_compress_if_exists 'SRR24557461' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "13_S13_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557462"
gz1="$(_compress_if_exists 'SRR24557462_1' || true)"
gz2="$(_compress_if_exists 'SRR24557462_2' || true)"
gzs="$(_compress_if_exists 'SRR24557462' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "12_S12_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557463"
gz1="$(_compress_if_exists 'SRR24557463_1' || true)"
gz2="$(_compress_if_exists 'SRR24557463_2' || true)"
gzs="$(_compress_if_exists 'SRR24557463' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "11_S11_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557464"
gz1="$(_compress_if_exists 'SRR24557464_1' || true)"
gz2="$(_compress_if_exists 'SRR24557464_2' || true)"
gzs="$(_compress_if_exists 'SRR24557464' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "10_S10_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557465"
gz1="$(_compress_if_exists 'SRR24557465_1' || true)"
gz2="$(_compress_if_exists 'SRR24557465_2' || true)"
gzs="$(_compress_if_exists 'SRR24557465' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "9_S9_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557466"
gz1="$(_compress_if_exists 'SRR24557466_1' || true)"
gz2="$(_compress_if_exists 'SRR24557466_2' || true)"
gzs="$(_compress_if_exists 'SRR24557466' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "8_S8_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557467"
gz1="$(_compress_if_exists 'SRR24557467_1' || true)"
gz2="$(_compress_if_exists 'SRR24557467_2' || true)"
gzs="$(_compress_if_exists 'SRR24557467' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "7_S7_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557468"
gz1="$(_compress_if_exists 'SRR24557468_1' || true)"
gz2="$(_compress_if_exists 'SRR24557468_2' || true)"
gzs="$(_compress_if_exists 'SRR24557468' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "6_S6_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557469"
gz1="$(_compress_if_exists 'SRR24557469_1' || true)"
gz2="$(_compress_if_exists 'SRR24557469_2' || true)"
gzs="$(_compress_if_exists 'SRR24557469' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "5_S5_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557470"
gz1="$(_compress_if_exists 'SRR24557470_1' || true)"
gz2="$(_compress_if_exists 'SRR24557470_2' || true)"
gzs="$(_compress_if_exists 'SRR24557470' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "4_S4_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557471"
gz1="$(_compress_if_exists 'SRR24557471_1' || true)"
gz2="$(_compress_if_exists 'SRR24557471_2' || true)"
gzs="$(_compress_if_exists 'SRR24557471' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "3_S3_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557472"
gz1="$(_compress_if_exists 'SRR24557472_1' || true)"
gz2="$(_compress_if_exists 'SRR24557472_2' || true)"
gzs="$(_compress_if_exists 'SRR24557472' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "2_S2_L001_R1_001.fastq.gz"
fi

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

fasterq-dump --split-files "SRR24557474"
gz1="$(_compress_if_exists 'SRR24557474_1' || true)"
gz2="$(_compress_if_exists 'SRR24557474_2' || true)"
gzs="$(_compress_if_exists 'SRR24557474' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "51_S51_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557475"
gz1="$(_compress_if_exists 'SRR24557475_1' || true)"
gz2="$(_compress_if_exists 'SRR24557475_2' || true)"
gzs="$(_compress_if_exists 'SRR24557475' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "50_S50_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557476"
gz1="$(_compress_if_exists 'SRR24557476_1' || true)"
gz2="$(_compress_if_exists 'SRR24557476_2' || true)"
gzs="$(_compress_if_exists 'SRR24557476' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "49_S49_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557477"
gz1="$(_compress_if_exists 'SRR24557477_1' || true)"
gz2="$(_compress_if_exists 'SRR24557477_2' || true)"
gzs="$(_compress_if_exists 'SRR24557477' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "48_S48_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557478"
gz1="$(_compress_if_exists 'SRR24557478_1' || true)"
gz2="$(_compress_if_exists 'SRR24557478_2' || true)"
gzs="$(_compress_if_exists 'SRR24557478' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "47_S47_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557479"
gz1="$(_compress_if_exists 'SRR24557479_1' || true)"
gz2="$(_compress_if_exists 'SRR24557479_2' || true)"
gzs="$(_compress_if_exists 'SRR24557479' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "46_S46_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557480"
gz1="$(_compress_if_exists 'SRR24557480_1' || true)"
gz2="$(_compress_if_exists 'SRR24557480_2' || true)"
gzs="$(_compress_if_exists 'SRR24557480' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "45_S45_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557481"
gz1="$(_compress_if_exists 'SRR24557481_1' || true)"
gz2="$(_compress_if_exists 'SRR24557481_2' || true)"
gzs="$(_compress_if_exists 'SRR24557481' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "44_S44_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557482"
gz1="$(_compress_if_exists 'SRR24557482_1' || true)"
gz2="$(_compress_if_exists 'SRR24557482_2' || true)"
gzs="$(_compress_if_exists 'SRR24557482' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "43_S43_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557483"
gz1="$(_compress_if_exists 'SRR24557483_1' || true)"
gz2="$(_compress_if_exists 'SRR24557483_2' || true)"
gzs="$(_compress_if_exists 'SRR24557483' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "42_S42_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557484"
gz1="$(_compress_if_exists 'SRR24557484_1' || true)"
gz2="$(_compress_if_exists 'SRR24557484_2' || true)"
gzs="$(_compress_if_exists 'SRR24557484' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "41_S41_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557485"
gz1="$(_compress_if_exists 'SRR24557485_1' || true)"
gz2="$(_compress_if_exists 'SRR24557485_2' || true)"
gzs="$(_compress_if_exists 'SRR24557485' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "40_S40_L001_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/SRR24557450/SRR24557450"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557451/SRR24557451"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557452/SRR24557452"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557453/SRR24557453"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557454/SRR24557454"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557455/SRR24557455"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557456/SRR24557456"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557457/SRR24557457"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557458/SRR24557458"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557459/SRR24557459"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557460/SRR24557460"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557461/SRR24557461"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557462/SRR24557462"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557463/SRR24557463"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557464/SRR24557464"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557465/SRR24557465"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557466/SRR24557466"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557467/SRR24557467"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557468/SRR24557468"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557469/SRR24557469"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557470/SRR24557470"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557471/SRR24557471"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557472/SRR24557472"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557473/SRR24557473"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557474/SRR24557474"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557475/SRR24557475"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557476/SRR24557476"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557477/SRR24557477"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557478/SRR24557478"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557479/SRR24557479"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557480/SRR24557480"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557481/SRR24557481"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557482/SRR24557482"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557483/SRR24557483"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557484/SRR24557484"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557485/SRR24557485"

# --- Additional data files ---
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557464/SRR24557464"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557463/SRR24557463"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557462/SRR24557462"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557461/SRR24557461"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557460/SRR24557460"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557459/SRR24557459"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557458/SRR24557458"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557457/SRR24557457"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557456/SRR24557456"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557455/SRR24557455"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557473/SRR24557473"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557454/SRR24557454"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557453/SRR24557453"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557452/SRR24557452"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557451/SRR24557451"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557450/SRR24557450"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557472/SRR24557472"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557471/SRR24557471"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557485/SRR24557485"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557484/SRR24557484"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557483/SRR24557483"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557482/SRR24557482"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557481/SRR24557481"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557480/SRR24557480"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557479/SRR24557479"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557478/SRR24557478"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557477/SRR24557477"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557476/SRR24557476"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557470/SRR24557470"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557475/SRR24557475"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557474/SRR24557474"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557469/SRR24557469"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557468/SRR24557468"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557467/SRR24557467"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557466/SRR24557466"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557465/SRR24557465"

echo "Download complete. Files saved to $OUTDIR"