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

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

# --- GEO supplementary files ---
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE232nnn/GSE232513/suppl/GSE232513_12X_MS2_stem-loop_reporter_mRNA.fa.gz" -O "GSE232513_12X_MS2_stem-loop_reporter_mRNA.fa.gz"
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE232nnn/GSE232513/suppl/GSE232513_12X_MS2_stem-loop_reporter_mRNA_features.txt.gz" -O "GSE232513_12X_MS2_stem-loop_reporter_mRNA_features.txt.gz"
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE232nnn/GSE232513/suppl/GSE232513_RAW.tar" -O "GSE232513_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 "SRR24557267"
gz1="$(_compress_if_exists 'SRR24557267_1' || true)"
gz2="$(_compress_if_exists 'SRR24557267_2' || true)"
gzs="$(_compress_if_exists 'SRR24557267' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "H1_S21_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "H1_S21_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557268"
gz1="$(_compress_if_exists 'SRR24557268_1' || true)"
gz2="$(_compress_if_exists 'SRR24557268_2' || true)"
gzs="$(_compress_if_exists 'SRR24557268' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "D12_S20_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "D12_S20_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557269"
gz1="$(_compress_if_exists 'SRR24557269_1' || true)"
gz2="$(_compress_if_exists 'SRR24557269_2' || true)"
gzs="$(_compress_if_exists 'SRR24557269' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "D11_S19_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "D11_S19_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557270"
gz1="$(_compress_if_exists 'SRR24557270_1' || true)"
gz2="$(_compress_if_exists 'SRR24557270_2' || true)"
gzs="$(_compress_if_exists 'SRR24557270' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "D10_S18_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "D10_S18_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557271"
gz1="$(_compress_if_exists 'SRR24557271_1' || true)"
gz2="$(_compress_if_exists 'SRR24557271_2' || true)"
gzs="$(_compress_if_exists 'SRR24557271' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "D9_S17_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "D9_S17_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557272"
gz1="$(_compress_if_exists 'SRR24557272_1' || true)"
gz2="$(_compress_if_exists 'SRR24557272_2' || true)"
gzs="$(_compress_if_exists 'SRR24557272' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "D8_S16_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "D8_S16_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557273"
gz1="$(_compress_if_exists 'SRR24557273_1' || true)"
gz2="$(_compress_if_exists 'SRR24557273_2' || true)"
gzs="$(_compress_if_exists 'SRR24557273' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "D5_S15_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "D5_S15_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557274"
gz1="$(_compress_if_exists 'SRR24557274_1' || true)"
gz2="$(_compress_if_exists 'SRR24557274_2' || true)"
gzs="$(_compress_if_exists 'SRR24557274' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "D4_S14_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "D4_S14_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557275"
gz1="$(_compress_if_exists 'SRR24557275_1' || true)"
gz2="$(_compress_if_exists 'SRR24557275_2' || true)"
gzs="$(_compress_if_exists 'SRR24557275' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "D3_S13_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "D3_S13_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557276"
gz1="$(_compress_if_exists 'SRR24557276_1' || true)"
gz2="$(_compress_if_exists 'SRR24557276_2' || true)"
gzs="$(_compress_if_exists 'SRR24557276' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "D2_S12_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "D2_S12_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557277"
gz1="$(_compress_if_exists 'SRR24557277_1' || true)"
gz2="$(_compress_if_exists 'SRR24557277_2' || true)"
gzs="$(_compress_if_exists 'SRR24557277' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "D1_S11_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "D1_S11_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557278"
gz1="$(_compress_if_exists 'SRR24557278_1' || true)"
gz2="$(_compress_if_exists 'SRR24557278_2' || true)"
gzs="$(_compress_if_exists 'SRR24557278' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "C12_S10_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "C12_S10_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557279"
gz1="$(_compress_if_exists 'SRR24557279_1' || true)"
gz2="$(_compress_if_exists 'SRR24557279_2' || true)"
gzs="$(_compress_if_exists 'SRR24557279' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "C11_S9_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "C11_S9_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557280"
gz1="$(_compress_if_exists 'SRR24557280_1' || true)"
gz2="$(_compress_if_exists 'SRR24557280_2' || true)"
gzs="$(_compress_if_exists 'SRR24557280' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "C10_S8_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "C10_S8_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557281"
gz1="$(_compress_if_exists 'SRR24557281_1' || true)"
gz2="$(_compress_if_exists 'SRR24557281_2' || true)"
gzs="$(_compress_if_exists 'SRR24557281' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "C9_S7_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "C9_S7_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557282"
gz1="$(_compress_if_exists 'SRR24557282_1' || true)"
gz2="$(_compress_if_exists 'SRR24557282_2' || true)"
gzs="$(_compress_if_exists 'SRR24557282' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "C8_S6_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "C8_S6_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557283"
gz1="$(_compress_if_exists 'SRR24557283_1' || true)"
gz2="$(_compress_if_exists 'SRR24557283_2' || true)"
gzs="$(_compress_if_exists 'SRR24557283' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "C7_S5_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "C7_S5_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557284"
gz1="$(_compress_if_exists 'SRR24557284_1' || true)"
gz2="$(_compress_if_exists 'SRR24557284_2' || true)"
gzs="$(_compress_if_exists 'SRR24557284' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "C6_S4_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "C6_S4_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557285"
gz1="$(_compress_if_exists 'SRR24557285_1' || true)"
gz2="$(_compress_if_exists 'SRR24557285_2' || true)"
gzs="$(_compress_if_exists 'SRR24557285' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "C5_S3_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "C5_S3_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557286"
gz1="$(_compress_if_exists 'SRR24557286_1' || true)"
gz2="$(_compress_if_exists 'SRR24557286_2' || true)"
gzs="$(_compress_if_exists 'SRR24557286' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "C4_S2_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "C4_S2_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557287"
gz1="$(_compress_if_exists 'SRR24557287_1' || true)"
gz2="$(_compress_if_exists 'SRR24557287_2' || true)"
gzs="$(_compress_if_exists 'SRR24557287' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "C3_S1_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "C3_S1_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557288"
gz1="$(_compress_if_exists 'SRR24557288_1' || true)"
gz2="$(_compress_if_exists 'SRR24557288_2' || true)"
gzs="$(_compress_if_exists 'SRR24557288' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "C2_S24_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "C2_S24_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557289"
gz1="$(_compress_if_exists 'SRR24557289_1' || true)"
gz2="$(_compress_if_exists 'SRR24557289_2' || true)"
gzs="$(_compress_if_exists 'SRR24557289' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "C1_S23_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "C1_S23_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557290"
gz1="$(_compress_if_exists 'SRR24557290_1' || true)"
gz2="$(_compress_if_exists 'SRR24557290_2' || true)"
gzs="$(_compress_if_exists 'SRR24557290' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "B12_S22_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "B12_S22_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557291"
gz1="$(_compress_if_exists 'SRR24557291_1' || true)"
gz2="$(_compress_if_exists 'SRR24557291_2' || true)"
gzs="$(_compress_if_exists 'SRR24557291' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "30_S30_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557292"
gz1="$(_compress_if_exists 'SRR24557292_1' || true)"
gz2="$(_compress_if_exists 'SRR24557292_2' || true)"
gzs="$(_compress_if_exists 'SRR24557292' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "29_S29_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557293"
gz1="$(_compress_if_exists 'SRR24557293_1' || true)"
gz2="$(_compress_if_exists 'SRR24557293_2' || true)"
gzs="$(_compress_if_exists 'SRR24557293' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "28_S28_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557294"
gz1="$(_compress_if_exists 'SRR24557294_1' || true)"
gz2="$(_compress_if_exists 'SRR24557294_2' || true)"
gzs="$(_compress_if_exists 'SRR24557294' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "27_S27_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557295"
gz1="$(_compress_if_exists 'SRR24557295_1' || true)"
gz2="$(_compress_if_exists 'SRR24557295_2' || true)"
gzs="$(_compress_if_exists 'SRR24557295' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "26_S26_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557296"
gz1="$(_compress_if_exists 'SRR24557296_1' || true)"
gz2="$(_compress_if_exists 'SRR24557296_2' || true)"
gzs="$(_compress_if_exists 'SRR24557296' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "25_S25_L001_R1_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557297"
gz1="$(_compress_if_exists 'SRR24557297_1' || true)"
gz2="$(_compress_if_exists 'SRR24557297_2' || true)"
gzs="$(_compress_if_exists 'SRR24557297' || 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 "SRR24557298"
gz1="$(_compress_if_exists 'SRR24557298_1' || true)"
gz2="$(_compress_if_exists 'SRR24557298_2' || true)"
gzs="$(_compress_if_exists 'SRR24557298' || 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 "SRR24557299"
gz1="$(_compress_if_exists 'SRR24557299_1' || true)"
gz2="$(_compress_if_exists 'SRR24557299_2' || true)"
gzs="$(_compress_if_exists 'SRR24557299' || 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 "SRR24557300"
gz1="$(_compress_if_exists 'SRR24557300_1' || true)"
gz2="$(_compress_if_exists 'SRR24557300_2' || true)"
gzs="$(_compress_if_exists 'SRR24557300' || 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 "SRR24557301"
gz1="$(_compress_if_exists 'SRR24557301_1' || true)"
gz2="$(_compress_if_exists 'SRR24557301_2' || true)"
gzs="$(_compress_if_exists 'SRR24557301' || 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 "SRR24557302"
gz1="$(_compress_if_exists 'SRR24557302_1' || true)"
gz2="$(_compress_if_exists 'SRR24557302_2' || true)"
gzs="$(_compress_if_exists 'SRR24557302' || 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 "SRR24557303"
gz1="$(_compress_if_exists 'SRR24557303_1' || true)"
gz2="$(_compress_if_exists 'SRR24557303_2' || true)"
gzs="$(_compress_if_exists 'SRR24557303' || 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 "SRR24557304"
gz1="$(_compress_if_exists 'SRR24557304_1' || true)"
gz2="$(_compress_if_exists 'SRR24557304_2' || true)"
gzs="$(_compress_if_exists 'SRR24557304' || 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 "SRR24557305"
gz1="$(_compress_if_exists 'SRR24557305_1' || true)"
gz2="$(_compress_if_exists 'SRR24557305_2' || true)"
gzs="$(_compress_if_exists 'SRR24557305' || 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 "SRR24557306"
gz1="$(_compress_if_exists 'SRR24557306_1' || true)"
gz2="$(_compress_if_exists 'SRR24557306_2' || true)"
gzs="$(_compress_if_exists 'SRR24557306' || 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 "SRR24557307"
gz1="$(_compress_if_exists 'SRR24557307_1' || true)"
gz2="$(_compress_if_exists 'SRR24557307_2' || true)"
gzs="$(_compress_if_exists 'SRR24557307' || 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 "SRR24557308"
gz1="$(_compress_if_exists 'SRR24557308_1' || true)"
gz2="$(_compress_if_exists 'SRR24557308_2' || true)"
gzs="$(_compress_if_exists 'SRR24557308' || 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 "SRR24557309"
gz1="$(_compress_if_exists 'SRR24557309_1' || true)"
gz2="$(_compress_if_exists 'SRR24557309_2' || true)"
gzs="$(_compress_if_exists 'SRR24557309' || 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 "SRR24557310"
gz1="$(_compress_if_exists 'SRR24557310_1' || true)"
gz2="$(_compress_if_exists 'SRR24557310_2' || true)"
gzs="$(_compress_if_exists 'SRR24557310' || 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 "SRR24557311"
gz1="$(_compress_if_exists 'SRR24557311_1' || true)"
gz2="$(_compress_if_exists 'SRR24557311_2' || true)"
gzs="$(_compress_if_exists 'SRR24557311' || 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 "SRR24557312"
gz1="$(_compress_if_exists 'SRR24557312_1' || true)"
gz2="$(_compress_if_exists 'SRR24557312_2' || true)"
gzs="$(_compress_if_exists 'SRR24557312' || 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 "SRR24557313"
gz1="$(_compress_if_exists 'SRR24557313_1' || true)"
gz2="$(_compress_if_exists 'SRR24557313_2' || true)"
gzs="$(_compress_if_exists 'SRR24557313' || 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 "SRR24557314"
gz1="$(_compress_if_exists 'SRR24557314_1' || true)"
gz2="$(_compress_if_exists 'SRR24557314_2' || true)"
gzs="$(_compress_if_exists 'SRR24557314' || 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 "SRR24557315"
gz1="$(_compress_if_exists 'SRR24557315_1' || true)"
gz2="$(_compress_if_exists 'SRR24557315_2' || true)"
gzs="$(_compress_if_exists 'SRR24557315' || 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 "SRR24557316"
gz1="$(_compress_if_exists 'SRR24557316_1' || true)"
gz2="$(_compress_if_exists 'SRR24557316_2' || true)"
gzs="$(_compress_if_exists 'SRR24557316' || 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 "SRR24557317"
gz1="$(_compress_if_exists 'SRR24557317_1' || true)"
gz2="$(_compress_if_exists 'SRR24557317_2' || true)"
gzs="$(_compress_if_exists 'SRR24557317' || 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 "SRR24557318"
gz1="$(_compress_if_exists 'SRR24557318_1' || true)"
gz2="$(_compress_if_exists 'SRR24557318_2' || true)"
gzs="$(_compress_if_exists 'SRR24557318' || 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 "SRR24557319"
gz1="$(_compress_if_exists 'SRR24557319_1' || true)"
gz2="$(_compress_if_exists 'SRR24557319_2' || true)"
gzs="$(_compress_if_exists 'SRR24557319' || 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 "SRR24557320"
gz1="$(_compress_if_exists 'SRR24557320_1' || true)"
gz2="$(_compress_if_exists 'SRR24557320_2' || true)"
gzs="$(_compress_if_exists 'SRR24557320' || 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 "SRR24557321"
gz1="$(_compress_if_exists 'SRR24557321_1' || true)"
gz2="$(_compress_if_exists 'SRR24557321_2' || true)"
gzs="$(_compress_if_exists 'SRR24557321' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "H2_S22_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "H2_S22_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557322"
gz1="$(_compress_if_exists 'SRR24557322_1' || true)"
gz2="$(_compress_if_exists 'SRR24557322_2' || true)"
gzs="$(_compress_if_exists 'SRR24557322' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "B11_S21_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "B11_S21_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557323"
gz1="$(_compress_if_exists 'SRR24557323_1' || true)"
gz2="$(_compress_if_exists 'SRR24557323_2' || true)"
gzs="$(_compress_if_exists 'SRR24557323' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "B10_S20_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "B10_S20_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557324"
gz1="$(_compress_if_exists 'SRR24557324_1' || true)"
gz2="$(_compress_if_exists 'SRR24557324_2' || true)"
gzs="$(_compress_if_exists 'SRR24557324' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "B9_S19_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "B9_S19_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557325"
gz1="$(_compress_if_exists 'SRR24557325_1' || true)"
gz2="$(_compress_if_exists 'SRR24557325_2' || true)"
gzs="$(_compress_if_exists 'SRR24557325' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "B8_S18_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "B8_S18_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557326"
gz1="$(_compress_if_exists 'SRR24557326_1' || true)"
gz2="$(_compress_if_exists 'SRR24557326_2' || true)"
gzs="$(_compress_if_exists 'SRR24557326' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "B7_S17_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "B7_S17_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557327"
gz1="$(_compress_if_exists 'SRR24557327_1' || true)"
gz2="$(_compress_if_exists 'SRR24557327_2' || true)"
gzs="$(_compress_if_exists 'SRR24557327' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "B6_S16_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "B6_S16_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557328"
gz1="$(_compress_if_exists 'SRR24557328_1' || true)"
gz2="$(_compress_if_exists 'SRR24557328_2' || true)"
gzs="$(_compress_if_exists 'SRR24557328' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "B5_S15_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "B5_S15_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557329"
gz1="$(_compress_if_exists 'SRR24557329_1' || true)"
gz2="$(_compress_if_exists 'SRR24557329_2' || true)"
gzs="$(_compress_if_exists 'SRR24557329' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "B4_S14_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "B4_S14_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557330"
gz1="$(_compress_if_exists 'SRR24557330_1' || true)"
gz2="$(_compress_if_exists 'SRR24557330_2' || true)"
gzs="$(_compress_if_exists 'SRR24557330' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "B3_S13_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "B3_S13_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557331"
gz1="$(_compress_if_exists 'SRR24557331_1' || true)"
gz2="$(_compress_if_exists 'SRR24557331_2' || true)"
gzs="$(_compress_if_exists 'SRR24557331' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "B2_S12_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "B2_S12_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557332"
gz1="$(_compress_if_exists 'SRR24557332_1' || true)"
gz2="$(_compress_if_exists 'SRR24557332_2' || true)"
gzs="$(_compress_if_exists 'SRR24557332' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "B1_S11_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "B1_S11_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557333"
gz1="$(_compress_if_exists 'SRR24557333_1' || true)"
gz2="$(_compress_if_exists 'SRR24557333_2' || true)"
gzs="$(_compress_if_exists 'SRR24557333' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "A12_S10_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "A12_S10_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557334"
gz1="$(_compress_if_exists 'SRR24557334_1' || true)"
gz2="$(_compress_if_exists 'SRR24557334_2' || true)"
gzs="$(_compress_if_exists 'SRR24557334' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "A11_S9_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "A11_S9_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557335"
gz1="$(_compress_if_exists 'SRR24557335_1' || true)"
gz2="$(_compress_if_exists 'SRR24557335_2' || true)"
gzs="$(_compress_if_exists 'SRR24557335' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "A10_S8_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "A10_S8_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557336"
gz1="$(_compress_if_exists 'SRR24557336_1' || true)"
gz2="$(_compress_if_exists 'SRR24557336_2' || true)"
gzs="$(_compress_if_exists 'SRR24557336' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "A9_S7_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "A9_S7_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557337"
gz1="$(_compress_if_exists 'SRR24557337_1' || true)"
gz2="$(_compress_if_exists 'SRR24557337_2' || true)"
gzs="$(_compress_if_exists 'SRR24557337' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "A8_S6_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "A8_S6_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557338"
gz1="$(_compress_if_exists 'SRR24557338_1' || true)"
gz2="$(_compress_if_exists 'SRR24557338_2' || true)"
gzs="$(_compress_if_exists 'SRR24557338' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "A7_S5_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "A7_S5_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557339"
gz1="$(_compress_if_exists 'SRR24557339_1' || true)"
gz2="$(_compress_if_exists 'SRR24557339_2' || true)"
gzs="$(_compress_if_exists 'SRR24557339' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "A6_S4_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "A6_S4_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557340"
gz1="$(_compress_if_exists 'SRR24557340_1' || true)"
gz2="$(_compress_if_exists 'SRR24557340_2' || true)"
gzs="$(_compress_if_exists 'SRR24557340' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "A5_S3_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "A5_S3_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557341"
gz1="$(_compress_if_exists 'SRR24557341_1' || true)"
gz2="$(_compress_if_exists 'SRR24557341_2' || true)"
gzs="$(_compress_if_exists 'SRR24557341' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "A4_S2_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "A4_S2_L001_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR24557342"
gz1="$(_compress_if_exists 'SRR24557342_1' || true)"
gz2="$(_compress_if_exists 'SRR24557342_2' || true)"
gzs="$(_compress_if_exists 'SRR24557342' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "A3_S1_L001_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "A3_S1_L001_R2_001.fastq.gz"
fi


# Option B: Direct download (larger .sra files)
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557267/SRR24557267"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557268/SRR24557268"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557269/SRR24557269"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557270/SRR24557270"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557271/SRR24557271"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557272/SRR24557272"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557273/SRR24557273"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557274/SRR24557274"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557275/SRR24557275"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557276/SRR24557276"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557277/SRR24557277"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557278/SRR24557278"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557279/SRR24557279"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557280/SRR24557280"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557281/SRR24557281"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557282/SRR24557282"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557283/SRR24557283"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557284/SRR24557284"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557285/SRR24557285"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557286/SRR24557286"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557287/SRR24557287"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557288/SRR24557288"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557289/SRR24557289"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557290/SRR24557290"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557291/SRR24557291"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557292/SRR24557292"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557293/SRR24557293"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557294/SRR24557294"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557295/SRR24557295"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557296/SRR24557296"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557297/SRR24557297"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557298/SRR24557298"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557299/SRR24557299"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557300/SRR24557300"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557301/SRR24557301"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557302/SRR24557302"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557303/SRR24557303"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557304/SRR24557304"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557305/SRR24557305"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557306/SRR24557306"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557307/SRR24557307"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557308/SRR24557308"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557309/SRR24557309"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557310/SRR24557310"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557311/SRR24557311"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557312/SRR24557312"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557313/SRR24557313"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557314/SRR24557314"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557315/SRR24557315"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557316/SRR24557316"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557317/SRR24557317"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557318/SRR24557318"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557319/SRR24557319"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557320/SRR24557320"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557321/SRR24557321"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557322/SRR24557322"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557323/SRR24557323"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557324/SRR24557324"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557325/SRR24557325"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557326/SRR24557326"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557327/SRR24557327"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557328/SRR24557328"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557329/SRR24557329"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557330/SRR24557330"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557331/SRR24557331"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557332/SRR24557332"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557333/SRR24557333"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557334/SRR24557334"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557335/SRR24557335"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557336/SRR24557336"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557337/SRR24557337"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557338/SRR24557338"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557339/SRR24557339"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557340/SRR24557340"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557341/SRR24557341"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557342/SRR24557342"

# --- Additional data files ---
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557311/SRR24557311"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557310/SRR24557310"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557309/SRR24557309"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557308/SRR24557308"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557307/SRR24557307"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557306/SRR24557306"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557305/SRR24557305"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557304/SRR24557304"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557303/SRR24557303"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557302/SRR24557302"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557320/SRR24557320"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557301/SRR24557301"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557300/SRR24557300"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557299/SRR24557299"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557298/SRR24557298"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557297/SRR24557297"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557296/SRR24557296"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557295/SRR24557295"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557294/SRR24557294"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557293/SRR24557293"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557292/SRR24557292"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557319/SRR24557319"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557291/SRR24557291"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557318/SRR24557318"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557317/SRR24557317"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557316/SRR24557316"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557315/SRR24557315"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557314/SRR24557314"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557313/SRR24557313"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557312/SRR24557312"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557335/SRR24557335"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557334/SRR24557334"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557333/SRR24557333"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557342/SRR24557342"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557341/SRR24557341"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557340/SRR24557340"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557339/SRR24557339"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557338/SRR24557338"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557337/SRR24557337"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557336/SRR24557336"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557323/SRR24557323"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557322/SRR24557322"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557290/SRR24557290"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557332/SRR24557332"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557331/SRR24557331"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557330/SRR24557330"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557329/SRR24557329"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557328/SRR24557328"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557327/SRR24557327"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557326/SRR24557326"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557325/SRR24557325"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557324/SRR24557324"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557280/SRR24557280"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557279/SRR24557279"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557278/SRR24557278"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557289/SRR24557289"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557288/SRR24557288"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557287/SRR24557287"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557286/SRR24557286"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557285/SRR24557285"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557284/SRR24557284"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557283/SRR24557283"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557282/SRR24557282"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557281/SRR24557281"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557270/SRR24557270"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557269/SRR24557269"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557268/SRR24557268"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557277/SRR24557277"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557276/SRR24557276"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557275/SRR24557275"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557274/SRR24557274"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557273/SRR24557273"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557272/SRR24557272"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557271/SRR24557271"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557267/SRR24557267"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR24557321/SRR24557321"

echo "Download complete. Files saved to $OUTDIR"