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

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

# --- GEO supplementary files ---
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE201nnn/GSE201897/suppl/GSE201897_CVB_WT_RNASeq_RPKMS.txt.gz" -O "GSE201897_CVB_WT_RNASeq_RPKMS.txt.gz"
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE201nnn/GSE201897/suppl/GSE201897_CVB_WT_RNASeq_raw_counts.txt.gz" -O "GSE201897_CVB_WT_RNASeq_raw_counts.txt.gz"
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE201nnn/GSE201897/suppl/GSE201897_DM1200_RNASeq_RPKMs.txt.gz" -O "GSE201897_DM1200_RNASeq_RPKMs.txt.gz"
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE201nnn/GSE201897/suppl/GSE201897_DM1200_RNASeq_raw_counts.txt.gz" -O "GSE201897_DM1200_RNASeq_raw_counts.txt.gz"
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE201nnn/GSE201897/suppl/GSE201897_DM600_RNASeq_RPKMs.txt.gz" -O "GSE201897_DM600_RNASeq_RPKMs.txt.gz"
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE201nnn/GSE201897/suppl/GSE201897_DM600_RNASeq_raw_counts.txt.gz" -O "GSE201897_DM600_RNASeq_raw_counts.txt.gz"
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE201nnn/GSE201897/suppl/GSE201897_KIN_WT_RNASeq_RPKMs.txt.gz" -O "GSE201897_KIN_WT_RNASeq_RPKMs.txt.gz"
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE201nnn/GSE201897/suppl/GSE201897_KIN_WT_RNASeq_raw_counts.txt.gz" -O "GSE201897_KIN_WT_RNASeq_raw_counts.txt.gz"

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

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

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

fasterq-dump --split-files "SRR18976211"
gz1="$(_compress_if_exists 'SRR18976211_1' || true)"
gz2="$(_compress_if_exists 'SRR18976211_2' || true)"
gzs="$(_compress_if_exists 'SRR18976211' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "Kin_8m_rep1_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "Kin_8m_rep1_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976212"
gz1="$(_compress_if_exists 'SRR18976212_1' || true)"
gz2="$(_compress_if_exists 'SRR18976212_2' || true)"
gzs="$(_compress_if_exists 'SRR18976212' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "Kin_4m_rep2_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "Kin_4m_rep2_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976213"
gz1="$(_compress_if_exists 'SRR18976213_1' || true)"
gz2="$(_compress_if_exists 'SRR18976213_2' || true)"
gzs="$(_compress_if_exists 'SRR18976213' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "Kin_4m_rep1_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "Kin_4m_rep1_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976214"
gz1="$(_compress_if_exists 'SRR18976214_1' || true)"
gz2="$(_compress_if_exists 'SRR18976214_2' || true)"
gzs="$(_compress_if_exists 'SRR18976214' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "Kin_2m_rep2_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "Kin_2m_rep2_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976215"
gz1="$(_compress_if_exists 'SRR18976215_1' || true)"
gz2="$(_compress_if_exists 'SRR18976215_2' || true)"
gzs="$(_compress_if_exists 'SRR18976215' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "Kin_2m_rep1_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "Kin_2m_rep1_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976216"
gz1="$(_compress_if_exists 'SRR18976216_1' || true)"
gz2="$(_compress_if_exists 'SRR18976216_2' || true)"
gzs="$(_compress_if_exists 'SRR18976216' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "Kin_0m_rep2_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "Kin_0m_rep2_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976217"
gz1="$(_compress_if_exists 'SRR18976217_1' || true)"
gz2="$(_compress_if_exists 'SRR18976217_2' || true)"
gzs="$(_compress_if_exists 'SRR18976217' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "Kin_0m_rep1_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "Kin_0m_rep1_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976218"
gz1="$(_compress_if_exists 'SRR18976218_1' || true)"
gz2="$(_compress_if_exists 'SRR18976218_2' || true)"
gzs="$(_compress_if_exists 'SRR18976218' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "DM600_8m_rep2_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "DM600_8m_rep2_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976219"
gz1="$(_compress_if_exists 'SRR18976219_1' || true)"
gz2="$(_compress_if_exists 'SRR18976219_2' || true)"
gzs="$(_compress_if_exists 'SRR18976219' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "DM600_8m_rep1_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "DM600_8m_rep1_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976220"
gz1="$(_compress_if_exists 'SRR18976220_1' || true)"
gz2="$(_compress_if_exists 'SRR18976220_2' || true)"
gzs="$(_compress_if_exists 'SRR18976220' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "DM600_4m_rep2_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "DM600_4m_rep2_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976221"
gz1="$(_compress_if_exists 'SRR18976221_1' || true)"
gz2="$(_compress_if_exists 'SRR18976221_2' || true)"
gzs="$(_compress_if_exists 'SRR18976221' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "DM600_4m_rep1_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "DM600_4m_rep1_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976222"
gz1="$(_compress_if_exists 'SRR18976222_1' || true)"
gz2="$(_compress_if_exists 'SRR18976222_2' || true)"
gzs="$(_compress_if_exists 'SRR18976222' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "DM600_2m_rep2_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "DM600_2m_rep2_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976223"
gz1="$(_compress_if_exists 'SRR18976223_1' || true)"
gz2="$(_compress_if_exists 'SRR18976223_2' || true)"
gzs="$(_compress_if_exists 'SRR18976223' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "DM600_2m_rep1_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "DM600_2m_rep1_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976224"
gz1="$(_compress_if_exists 'SRR18976224_1' || true)"
gz2="$(_compress_if_exists 'SRR18976224_2' || true)"
gzs="$(_compress_if_exists 'SRR18976224' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "DM600_0m_rep2_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "DM600_0m_rep2_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976225"
gz1="$(_compress_if_exists 'SRR18976225_1' || true)"
gz2="$(_compress_if_exists 'SRR18976225_2' || true)"
gzs="$(_compress_if_exists 'SRR18976225' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "DM600_0m_rep1_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "DM600_0m_rep1_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976226"
gz1="$(_compress_if_exists 'SRR18976226_1' || true)"
gz2="$(_compress_if_exists 'SRR18976226_2' || true)"
gzs="$(_compress_if_exists 'SRR18976226' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "DM1200_8m_rep2_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "DM1200_8m_rep2_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976227"
gz1="$(_compress_if_exists 'SRR18976227_1' || true)"
gz2="$(_compress_if_exists 'SRR18976227_2' || true)"
gzs="$(_compress_if_exists 'SRR18976227' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "DM1200_8m_rep1_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "DM1200_8m_rep1_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976228"
gz1="$(_compress_if_exists 'SRR18976228_1' || true)"
gz2="$(_compress_if_exists 'SRR18976228_2' || true)"
gzs="$(_compress_if_exists 'SRR18976228' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "DM1200_4m_rep2_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "DM1200_4m_rep2_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976229"
gz1="$(_compress_if_exists 'SRR18976229_1' || true)"
gz2="$(_compress_if_exists 'SRR18976229_2' || true)"
gzs="$(_compress_if_exists 'SRR18976229' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "DM1200_4m_rep1_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "DM1200_4m_rep1_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976230"
gz1="$(_compress_if_exists 'SRR18976230_1' || true)"
gz2="$(_compress_if_exists 'SRR18976230_2' || true)"
gzs="$(_compress_if_exists 'SRR18976230' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "DM1200_2m_rep2_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "DM1200_2m_rep2_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976231"
gz1="$(_compress_if_exists 'SRR18976231_1' || true)"
gz2="$(_compress_if_exists 'SRR18976231_2' || true)"
gzs="$(_compress_if_exists 'SRR18976231' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "DM1200_2m_rep1_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "DM1200_2m_rep1_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976232"
gz1="$(_compress_if_exists 'SRR18976232_1' || true)"
gz2="$(_compress_if_exists 'SRR18976232_2' || true)"
gzs="$(_compress_if_exists 'SRR18976232' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "DM1200_0m_rep2_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "DM1200_0m_rep2_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976233"
gz1="$(_compress_if_exists 'SRR18976233_1' || true)"
gz2="$(_compress_if_exists 'SRR18976233_2' || true)"
gzs="$(_compress_if_exists 'SRR18976233' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "DM1200_0m_rep1_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "DM1200_0m_rep1_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976234"
gz1="$(_compress_if_exists 'SRR18976234_1' || true)"
gz2="$(_compress_if_exists 'SRR18976234_2' || true)"
gzs="$(_compress_if_exists 'SRR18976234' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "CVB_8m_rep2_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "CVB_8m_rep2_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976235"
gz1="$(_compress_if_exists 'SRR18976235_1' || true)"
gz2="$(_compress_if_exists 'SRR18976235_2' || true)"
gzs="$(_compress_if_exists 'SRR18976235' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "CVB_8m_rep1_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "CVB_8m_rep1_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976236"
gz1="$(_compress_if_exists 'SRR18976236_1' || true)"
gz2="$(_compress_if_exists 'SRR18976236_2' || true)"
gzs="$(_compress_if_exists 'SRR18976236' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "CVB_4m_rep2_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "CVB_4m_rep2_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976237"
gz1="$(_compress_if_exists 'SRR18976237_1' || true)"
gz2="$(_compress_if_exists 'SRR18976237_2' || true)"
gzs="$(_compress_if_exists 'SRR18976237' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "CVB_4m_rep1_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "CVB_4m_rep1_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976238"
gz1="$(_compress_if_exists 'SRR18976238_1' || true)"
gz2="$(_compress_if_exists 'SRR18976238_2' || true)"
gzs="$(_compress_if_exists 'SRR18976238' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "CVB_2m_rep2_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "CVB_2m_rep2_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976239"
gz1="$(_compress_if_exists 'SRR18976239_1' || true)"
gz2="$(_compress_if_exists 'SRR18976239_2' || true)"
gzs="$(_compress_if_exists 'SRR18976239' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "CVB_2m_rep1_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "CVB_2m_rep1_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976240"
gz1="$(_compress_if_exists 'SRR18976240_1' || true)"
gz2="$(_compress_if_exists 'SRR18976240_2' || true)"
gzs="$(_compress_if_exists 'SRR18976240' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "CVB_0m_rep2_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "CVB_0m_rep2_R2.fastq.gz"
fi

fasterq-dump --split-files "SRR18976241"
gz1="$(_compress_if_exists 'SRR18976241_1' || true)"
gz2="$(_compress_if_exists 'SRR18976241_2' || true)"
gzs="$(_compress_if_exists 'SRR18976241' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "CVB_0m_rep1_R1.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "CVB_0m_rep1_R2.fastq.gz"
fi


# Option B: Direct download (larger .sra files)
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976210/SRR18976210"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976211/SRR18976211"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976212/SRR18976212"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976213/SRR18976213"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976214/SRR18976214"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976215/SRR18976215"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976216/SRR18976216"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976217/SRR18976217"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976218/SRR18976218"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976219/SRR18976219"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976220/SRR18976220"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976221/SRR18976221"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976222/SRR18976222"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976223/SRR18976223"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976224/SRR18976224"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976225/SRR18976225"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976226/SRR18976226"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976227/SRR18976227"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976228/SRR18976228"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976229/SRR18976229"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976230/SRR18976230"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976231/SRR18976231"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976232/SRR18976232"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976233/SRR18976233"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976234/SRR18976234"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976235/SRR18976235"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976236/SRR18976236"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976237/SRR18976237"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976238/SRR18976238"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976239/SRR18976239"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976240/SRR18976240"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976241/SRR18976241"

# --- Additional data files ---
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976241/SRR18976241"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976240/SRR18976240"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976239/SRR18976239"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976238/SRR18976238"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976237/SRR18976237"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976236/SRR18976236"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976235/SRR18976235"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976234/SRR18976234"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976233/SRR18976233"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976232/SRR18976232"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976231/SRR18976231"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976230/SRR18976230"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976229/SRR18976229"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976228/SRR18976228"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976227/SRR18976227"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976226/SRR18976226"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976225/SRR18976225"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976224/SRR18976224"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976223/SRR18976223"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976222/SRR18976222"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976221/SRR18976221"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976220/SRR18976220"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976219/SRR18976219"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976218/SRR18976218"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976217/SRR18976217"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976216/SRR18976216"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976215/SRR18976215"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976214/SRR18976214"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976213/SRR18976213"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976212/SRR18976212"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976211/SRR18976211"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR18976210/SRR18976210"

echo "Download complete. Files saved to $OUTDIR"