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

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

# --- GEO supplementary files ---
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE51nnn/GSE51264/suppl/GSE51264_novel_lincrna.gtf.gz" -O "GSE51264_novel_lincrna.gtf.gz"
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE51nnn/GSE51264/suppl/GSE51264_rpkm_human.tsv.gz" -O "GSE51264_rpkm_human.tsv.gz"
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE51nnn/GSE51264/suppl/GSE51264_rpkm_macaque.tsv.gz" -O "GSE51264_rpkm_macaque.tsv.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 "SRR1004284"
gz1="$(_compress_if_exists 'SRR1004284_1' || true)"
gz2="$(_compress_if_exists 'SRR1004284_2' || true)"
gzs="$(_compress_if_exists 'SRR1004284' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_01_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004285"
gz1="$(_compress_if_exists 'SRR1004285_1' || true)"
gz2="$(_compress_if_exists 'SRR1004285_2' || true)"
gzs="$(_compress_if_exists 'SRR1004285' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_02_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004286"
gz1="$(_compress_if_exists 'SRR1004286_1' || true)"
gz2="$(_compress_if_exists 'SRR1004286_2' || true)"
gzs="$(_compress_if_exists 'SRR1004286' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_03_F.fq.gz"
fi

fasterq-dump --split-files "SRR1004287"
gz1="$(_compress_if_exists 'SRR1004287_1' || true)"
gz2="$(_compress_if_exists 'SRR1004287_2' || true)"
gzs="$(_compress_if_exists 'SRR1004287' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_04_F.fq.gz"
fi

fasterq-dump --split-files "SRR1004288"
gz1="$(_compress_if_exists 'SRR1004288_1' || true)"
gz2="$(_compress_if_exists 'SRR1004288_2' || true)"
gzs="$(_compress_if_exists 'SRR1004288' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_05_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004289"
gz1="$(_compress_if_exists 'SRR1004289_1' || true)"
gz2="$(_compress_if_exists 'SRR1004289_2' || true)"
gzs="$(_compress_if_exists 'SRR1004289' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_06_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004290"
gz1="$(_compress_if_exists 'SRR1004290_1' || true)"
gz2="$(_compress_if_exists 'SRR1004290_2' || true)"
gzs="$(_compress_if_exists 'SRR1004290' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_07_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004291"
gz1="$(_compress_if_exists 'SRR1004291_1' || true)"
gz2="$(_compress_if_exists 'SRR1004291_2' || true)"
gzs="$(_compress_if_exists 'SRR1004291' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_08_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004292"
gz1="$(_compress_if_exists 'SRR1004292_1' || true)"
gz2="$(_compress_if_exists 'SRR1004292_2' || true)"
gzs="$(_compress_if_exists 'SRR1004292' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_09_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004293"
gz1="$(_compress_if_exists 'SRR1004293_1' || true)"
gz2="$(_compress_if_exists 'SRR1004293_2' || true)"
gzs="$(_compress_if_exists 'SRR1004293' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_10_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004294"
gz1="$(_compress_if_exists 'SRR1004294_1' || true)"
gz2="$(_compress_if_exists 'SRR1004294_2' || true)"
gzs="$(_compress_if_exists 'SRR1004294' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_11_F.fq.gz"
fi

fasterq-dump --split-files "SRR1004295"
gz1="$(_compress_if_exists 'SRR1004295_1' || true)"
gz2="$(_compress_if_exists 'SRR1004295_2' || true)"
gzs="$(_compress_if_exists 'SRR1004295' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_12_F.fq.gz"
fi

fasterq-dump --split-files "SRR1004296"
gz1="$(_compress_if_exists 'SRR1004296_1' || true)"
gz2="$(_compress_if_exists 'SRR1004296_2' || true)"
gzs="$(_compress_if_exists 'SRR1004296' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_13_F.fq.gz"
fi

fasterq-dump --split-files "SRR1004297"
gz1="$(_compress_if_exists 'SRR1004297_1' || true)"
gz2="$(_compress_if_exists 'SRR1004297_2' || true)"
gzs="$(_compress_if_exists 'SRR1004297' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_14_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004298"
gz1="$(_compress_if_exists 'SRR1004298_1' || true)"
gz2="$(_compress_if_exists 'SRR1004298_2' || true)"
gzs="$(_compress_if_exists 'SRR1004298' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_15_F.fq.gz"
fi

fasterq-dump --split-files "SRR1004299"
gz1="$(_compress_if_exists 'SRR1004299_1' || true)"
gz2="$(_compress_if_exists 'SRR1004299_2' || true)"
gzs="$(_compress_if_exists 'SRR1004299' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_16_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004300"
gz1="$(_compress_if_exists 'SRR1004300_1' || true)"
gz2="$(_compress_if_exists 'SRR1004300_2' || true)"
gzs="$(_compress_if_exists 'SRR1004300' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_17_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004301"
gz1="$(_compress_if_exists 'SRR1004301_1' || true)"
gz2="$(_compress_if_exists 'SRR1004301_2' || true)"
gzs="$(_compress_if_exists 'SRR1004301' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_18_F.fq.gz"
fi

fasterq-dump --split-files "SRR1004302"
gz1="$(_compress_if_exists 'SRR1004302_1' || true)"
gz2="$(_compress_if_exists 'SRR1004302_2' || true)"
gzs="$(_compress_if_exists 'SRR1004302' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_19_F.fq.gz"
fi

fasterq-dump --split-files "SRR1004303"
gz1="$(_compress_if_exists 'SRR1004303_1' || true)"
gz2="$(_compress_if_exists 'SRR1004303_2' || true)"
gzs="$(_compress_if_exists 'SRR1004303' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_20_U.fq.gz"
fi

fasterq-dump --split-files "SRR1004304"
gz1="$(_compress_if_exists 'SRR1004304_1' || true)"
gz2="$(_compress_if_exists 'SRR1004304_2' || true)"
gzs="$(_compress_if_exists 'SRR1004304' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_21_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004305"
gz1="$(_compress_if_exists 'SRR1004305_1' || true)"
gz2="$(_compress_if_exists 'SRR1004305_2' || true)"
gzs="$(_compress_if_exists 'SRR1004305' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_23_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004306"
gz1="$(_compress_if_exists 'SRR1004306_1' || true)"
gz2="$(_compress_if_exists 'SRR1004306_2' || true)"
gzs="$(_compress_if_exists 'SRR1004306' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_24_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004307"
gz1="$(_compress_if_exists 'SRR1004307_1' || true)"
gz2="$(_compress_if_exists 'SRR1004307_2' || true)"
gzs="$(_compress_if_exists 'SRR1004307' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_25_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004308"
gz1="$(_compress_if_exists 'SRR1004308_1' || true)"
gz2="$(_compress_if_exists 'SRR1004308_2' || true)"
gzs="$(_compress_if_exists 'SRR1004308' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_26_F.fq.gz"
fi

fasterq-dump --split-files "SRR1004309"
gz1="$(_compress_if_exists 'SRR1004309_1' || true)"
gz2="$(_compress_if_exists 'SRR1004309_2' || true)"
gzs="$(_compress_if_exists 'SRR1004309' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_27_F.fq.gz"
fi

fasterq-dump --split-files "SRR1004310"
gz1="$(_compress_if_exists 'SRR1004310_1' || true)"
gz2="$(_compress_if_exists 'SRR1004310_2' || true)"
gzs="$(_compress_if_exists 'SRR1004310' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_28_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004311"
gz1="$(_compress_if_exists 'SRR1004311_1' || true)"
gz2="$(_compress_if_exists 'SRR1004311_2' || true)"
gzs="$(_compress_if_exists 'SRR1004311' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_29_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004312"
gz1="$(_compress_if_exists 'SRR1004312_1' || true)"
gz2="$(_compress_if_exists 'SRR1004312_2' || true)"
gzs="$(_compress_if_exists 'SRR1004312' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_30_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004313"
gz1="$(_compress_if_exists 'SRR1004313_1' || true)"
gz2="$(_compress_if_exists 'SRR1004313_2' || true)"
gzs="$(_compress_if_exists 'SRR1004313' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_31_F.fq.gz"
fi

fasterq-dump --split-files "SRR1004314"
gz1="$(_compress_if_exists 'SRR1004314_1' || true)"
gz2="$(_compress_if_exists 'SRR1004314_2' || true)"
gzs="$(_compress_if_exists 'SRR1004314' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_32_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004315"
gz1="$(_compress_if_exists 'SRR1004315_1' || true)"
gz2="$(_compress_if_exists 'SRR1004315_2' || true)"
gzs="$(_compress_if_exists 'SRR1004315' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_33_F.fq.gz"
fi

fasterq-dump --split-files "SRR1004316"
gz1="$(_compress_if_exists 'SRR1004316_1' || true)"
gz2="$(_compress_if_exists 'SRR1004316_2' || true)"
gzs="$(_compress_if_exists 'SRR1004316' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_35_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004317"
gz1="$(_compress_if_exists 'SRR1004317_1' || true)"
gz2="$(_compress_if_exists 'SRR1004317_2' || true)"
gzs="$(_compress_if_exists 'SRR1004317' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_36_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004318"
gz1="$(_compress_if_exists 'SRR1004318_1' || true)"
gz2="$(_compress_if_exists 'SRR1004318_2' || true)"
gzs="$(_compress_if_exists 'SRR1004318' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_37_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004319"
gz1="$(_compress_if_exists 'SRR1004319_1' || true)"
gz2="$(_compress_if_exists 'SRR1004319_2' || true)"
gzs="$(_compress_if_exists 'SRR1004319' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_38_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004320"
gz1="$(_compress_if_exists 'SRR1004320_1' || true)"
gz2="$(_compress_if_exists 'SRR1004320_2' || true)"
gzs="$(_compress_if_exists 'SRR1004320' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_39_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004321"
gz1="$(_compress_if_exists 'SRR1004321_1' || true)"
gz2="$(_compress_if_exists 'SRR1004321_2' || true)"
gzs="$(_compress_if_exists 'SRR1004321' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "human_40_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004322"
gz1="$(_compress_if_exists 'SRR1004322_1' || true)"
gz2="$(_compress_if_exists 'SRR1004322_2' || true)"
gzs="$(_compress_if_exists 'SRR1004322' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_01_F.fq.gz"
fi

fasterq-dump --split-files "SRR1004323"
gz1="$(_compress_if_exists 'SRR1004323_1' || true)"
gz2="$(_compress_if_exists 'SRR1004323_2' || true)"
gzs="$(_compress_if_exists 'SRR1004323' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_02_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004324"
gz1="$(_compress_if_exists 'SRR1004324_1' || true)"
gz2="$(_compress_if_exists 'SRR1004324_2' || true)"
gzs="$(_compress_if_exists 'SRR1004324' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_03_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004325"
gz1="$(_compress_if_exists 'SRR1004325_1' || true)"
gz2="$(_compress_if_exists 'SRR1004325_2' || true)"
gzs="$(_compress_if_exists 'SRR1004325' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_04_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004326"
gz1="$(_compress_if_exists 'SRR1004326_1' || true)"
gz2="$(_compress_if_exists 'SRR1004326_2' || true)"
gzs="$(_compress_if_exists 'SRR1004326' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_05_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004327"
gz1="$(_compress_if_exists 'SRR1004327_1' || true)"
gz2="$(_compress_if_exists 'SRR1004327_2' || true)"
gzs="$(_compress_if_exists 'SRR1004327' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_06_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004328"
gz1="$(_compress_if_exists 'SRR1004328_1' || true)"
gz2="$(_compress_if_exists 'SRR1004328_2' || true)"
gzs="$(_compress_if_exists 'SRR1004328' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_07_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004329"
gz1="$(_compress_if_exists 'SRR1004329_1' || true)"
gz2="$(_compress_if_exists 'SRR1004329_2' || true)"
gzs="$(_compress_if_exists 'SRR1004329' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_08_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004330"
gz1="$(_compress_if_exists 'SRR1004330_1' || true)"
gz2="$(_compress_if_exists 'SRR1004330_2' || true)"
gzs="$(_compress_if_exists 'SRR1004330' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_09_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004331"
gz1="$(_compress_if_exists 'SRR1004331_1' || true)"
gz2="$(_compress_if_exists 'SRR1004331_2' || true)"
gzs="$(_compress_if_exists 'SRR1004331' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_10_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004332"
gz1="$(_compress_if_exists 'SRR1004332_1' || true)"
gz2="$(_compress_if_exists 'SRR1004332_2' || true)"
gzs="$(_compress_if_exists 'SRR1004332' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_11_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004333"
gz1="$(_compress_if_exists 'SRR1004333_1' || true)"
gz2="$(_compress_if_exists 'SRR1004333_2' || true)"
gzs="$(_compress_if_exists 'SRR1004333' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_12_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004334"
gz1="$(_compress_if_exists 'SRR1004334_1' || true)"
gz2="$(_compress_if_exists 'SRR1004334_2' || true)"
gzs="$(_compress_if_exists 'SRR1004334' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_13_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004335"
gz1="$(_compress_if_exists 'SRR1004335_1' || true)"
gz2="$(_compress_if_exists 'SRR1004335_2' || true)"
gzs="$(_compress_if_exists 'SRR1004335' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_14_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004336"
gz1="$(_compress_if_exists 'SRR1004336_1' || true)"
gz2="$(_compress_if_exists 'SRR1004336_2' || true)"
gzs="$(_compress_if_exists 'SRR1004336' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_15_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004337"
gz1="$(_compress_if_exists 'SRR1004337_1' || true)"
gz2="$(_compress_if_exists 'SRR1004337_2' || true)"
gzs="$(_compress_if_exists 'SRR1004337' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_16_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004338"
gz1="$(_compress_if_exists 'SRR1004338_1' || true)"
gz2="$(_compress_if_exists 'SRR1004338_2' || true)"
gzs="$(_compress_if_exists 'SRR1004338' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_17_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004339"
gz1="$(_compress_if_exists 'SRR1004339_1' || true)"
gz2="$(_compress_if_exists 'SRR1004339_2' || true)"
gzs="$(_compress_if_exists 'SRR1004339' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_18_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004340"
gz1="$(_compress_if_exists 'SRR1004340_1' || true)"
gz2="$(_compress_if_exists 'SRR1004340_2' || true)"
gzs="$(_compress_if_exists 'SRR1004340' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_19_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004341"
gz1="$(_compress_if_exists 'SRR1004341_1' || true)"
gz2="$(_compress_if_exists 'SRR1004341_2' || true)"
gzs="$(_compress_if_exists 'SRR1004341' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_20_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004342"
gz1="$(_compress_if_exists 'SRR1004342_1' || true)"
gz2="$(_compress_if_exists 'SRR1004342_2' || true)"
gzs="$(_compress_if_exists 'SRR1004342' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_21_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004343"
gz1="$(_compress_if_exists 'SRR1004343_1' || true)"
gz2="$(_compress_if_exists 'SRR1004343_2' || true)"
gzs="$(_compress_if_exists 'SRR1004343' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_22_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004344"
gz1="$(_compress_if_exists 'SRR1004344_1' || true)"
gz2="$(_compress_if_exists 'SRR1004344_2' || true)"
gzs="$(_compress_if_exists 'SRR1004344' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_23_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004345"
gz1="$(_compress_if_exists 'SRR1004345_1' || true)"
gz2="$(_compress_if_exists 'SRR1004345_2' || true)"
gzs="$(_compress_if_exists 'SRR1004345' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_24_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004346"
gz1="$(_compress_if_exists 'SRR1004346_1' || true)"
gz2="$(_compress_if_exists 'SRR1004346_2' || true)"
gzs="$(_compress_if_exists 'SRR1004346' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_25_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004347"
gz1="$(_compress_if_exists 'SRR1004347_1' || true)"
gz2="$(_compress_if_exists 'SRR1004347_2' || true)"
gzs="$(_compress_if_exists 'SRR1004347' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_26_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004348"
gz1="$(_compress_if_exists 'SRR1004348_1' || true)"
gz2="$(_compress_if_exists 'SRR1004348_2' || true)"
gzs="$(_compress_if_exists 'SRR1004348' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_27_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004349"
gz1="$(_compress_if_exists 'SRR1004349_1' || true)"
gz2="$(_compress_if_exists 'SRR1004349_2' || true)"
gzs="$(_compress_if_exists 'SRR1004349' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_28_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004350"
gz1="$(_compress_if_exists 'SRR1004350_1' || true)"
gz2="$(_compress_if_exists 'SRR1004350_2' || true)"
gzs="$(_compress_if_exists 'SRR1004350' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_29_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004351"
gz1="$(_compress_if_exists 'SRR1004351_1' || true)"
gz2="$(_compress_if_exists 'SRR1004351_2' || true)"
gzs="$(_compress_if_exists 'SRR1004351' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_30_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004352"
gz1="$(_compress_if_exists 'SRR1004352_1' || true)"
gz2="$(_compress_if_exists 'SRR1004352_2' || true)"
gzs="$(_compress_if_exists 'SRR1004352' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_31_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004353"
gz1="$(_compress_if_exists 'SRR1004353_1' || true)"
gz2="$(_compress_if_exists 'SRR1004353_2' || true)"
gzs="$(_compress_if_exists 'SRR1004353' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_32_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004354"
gz1="$(_compress_if_exists 'SRR1004354_1' || true)"
gz2="$(_compress_if_exists 'SRR1004354_2' || true)"
gzs="$(_compress_if_exists 'SRR1004354' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_33_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004355"
gz1="$(_compress_if_exists 'SRR1004355_1' || true)"
gz2="$(_compress_if_exists 'SRR1004355_2' || true)"
gzs="$(_compress_if_exists 'SRR1004355' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_34_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004356"
gz1="$(_compress_if_exists 'SRR1004356_1' || true)"
gz2="$(_compress_if_exists 'SRR1004356_2' || true)"
gzs="$(_compress_if_exists 'SRR1004356' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_35_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004357"
gz1="$(_compress_if_exists 'SRR1004357_1' || true)"
gz2="$(_compress_if_exists 'SRR1004357_2' || true)"
gzs="$(_compress_if_exists 'SRR1004357' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_36_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004358"
gz1="$(_compress_if_exists 'SRR1004358_1' || true)"
gz2="$(_compress_if_exists 'SRR1004358_2' || true)"
gzs="$(_compress_if_exists 'SRR1004358' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_37_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004359"
gz1="$(_compress_if_exists 'SRR1004359_1' || true)"
gz2="$(_compress_if_exists 'SRR1004359_2' || true)"
gzs="$(_compress_if_exists 'SRR1004359' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_38_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004360"
gz1="$(_compress_if_exists 'SRR1004360_1' || true)"
gz2="$(_compress_if_exists 'SRR1004360_2' || true)"
gzs="$(_compress_if_exists 'SRR1004360' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_39_M.fq.gz"
fi

fasterq-dump --split-files "SRR1004361"
gz1="$(_compress_if_exists 'SRR1004361_1' || true)"
gz2="$(_compress_if_exists 'SRR1004361_2' || true)"
gzs="$(_compress_if_exists 'SRR1004361' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gzs" ]; then
  mv -f "$gzs" "rhesus_40_M.fq.gz"
fi


# Option B: Direct download (larger .sra files)
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004284/SRR1004284"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004285/SRR1004285"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004286/SRR1004286"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004287/SRR1004287"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004288/SRR1004288"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004289/SRR1004289"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004290/SRR1004290"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004291/SRR1004291"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004292/SRR1004292"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004293/SRR1004293"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004294/SRR1004294"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004295/SRR1004295"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004296/SRR1004296"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004297/SRR1004297"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004298/SRR1004298"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004299/SRR1004299"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004300/SRR1004300"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004301/SRR1004301"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004302/SRR1004302"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004303/SRR1004303"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004304/SRR1004304"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004305/SRR1004305"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004306/SRR1004306"
curl -L -O -C - "https://sra-downloadb.be-md.ncbi.nlm.nih.gov/sos5/sra-pub-zq-11/SRR001/004/SRR1004307/SRR1004307.sralite.1"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004308/SRR1004308"
curl -L -O -C - "https://sra-downloadb.be-md.ncbi.nlm.nih.gov/sos5/sra-pub-zq-11/SRR001/004/SRR1004309/SRR1004309.sralite.1"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004310/SRR1004310"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004311/SRR1004311"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004312/SRR1004312"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004313/SRR1004313"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004314/SRR1004314"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004315/SRR1004315"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004316/SRR1004316"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004317/SRR1004317"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004318/SRR1004318"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004319/SRR1004319"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004320/SRR1004320"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004321/SRR1004321"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004322/SRR1004322"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004323/SRR1004323"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004324/SRR1004324"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004325/SRR1004325"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004326/SRR1004326"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004327/SRR1004327"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004328/SRR1004328"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004329/SRR1004329"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004330/SRR1004330"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004331/SRR1004331"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004332/SRR1004332"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004333/SRR1004333"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004334/SRR1004334"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004335/SRR1004335"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004336/SRR1004336"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004337/SRR1004337"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004338/SRR1004338"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004339/SRR1004339"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004340/SRR1004340"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004341/SRR1004341"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004342/SRR1004342"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004343/SRR1004343"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004344/SRR1004344"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004345/SRR1004345"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004346/SRR1004346"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004347/SRR1004347"
curl -L -O -C - "https://sra-downloadb.be-md.ncbi.nlm.nih.gov/sos5/sra-pub-zq-11/SRR001/004/SRR1004348/SRR1004348.sralite.1"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004349/SRR1004349"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004350/SRR1004350"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004351/SRR1004351"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004352/SRR1004352"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004353/SRR1004353"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004354/SRR1004354"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004355/SRR1004355"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004356/SRR1004356"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004357/SRR1004357"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004358/SRR1004358"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004359/SRR1004359"
curl -L -O -C - "https://sra-downloadb.be-md.ncbi.nlm.nih.gov/sos5/sra-pub-zq-11/SRR001/004/SRR1004360/SRR1004360.sralite.1"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004361/SRR1004361"

# --- Additional data files ---
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004284/SRR1004284"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004285/SRR1004285"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004286/SRR1004286"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004287/SRR1004287"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004289/SRR1004289"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004291/SRR1004291"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004292/SRR1004292"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004294/SRR1004294"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004299/SRR1004299"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004300/SRR1004300"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004302/SRR1004302"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004303/SRR1004303"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004304/SRR1004304"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004305/SRR1004305"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004306/SRR1004306"
curl -L -O -C - "https://sra-downloadb.be-md.ncbi.nlm.nih.gov/sos5/sra-pub-zq-11/SRR001/004/SRR1004307/SRR1004307.sralite.1"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004308/SRR1004308"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004313/SRR1004313"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004314/SRR1004314"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004315/SRR1004315"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004316/SRR1004316"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004318/SRR1004318"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004320/SRR1004320"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004321/SRR1004321"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004323/SRR1004323"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004325/SRR1004325"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004326/SRR1004326"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004327/SRR1004327"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004328/SRR1004328"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004330/SRR1004330"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004331/SRR1004331"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004332/SRR1004332"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004333/SRR1004333"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004335/SRR1004335"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004340/SRR1004340"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004342/SRR1004342"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004343/SRR1004343"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004344/SRR1004344"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004345/SRR1004345"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004347/SRR1004347"
curl -L -O -C - "https://sra-downloadb.be-md.ncbi.nlm.nih.gov/sos5/sra-pub-zq-11/SRR001/004/SRR1004348/SRR1004348.sralite.1"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004349/SRR1004349"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004351/SRR1004351"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004352/SRR1004352"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004353/SRR1004353"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004355/SRR1004355"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004357/SRR1004357"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004358/SRR1004358"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004359/SRR1004359"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004361/SRR1004361"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004288/SRR1004288"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004290/SRR1004290"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004293/SRR1004293"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004295/SRR1004295"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004296/SRR1004296"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004297/SRR1004297"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004298/SRR1004298"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004301/SRR1004301"
curl -L -O -C - "https://sra-downloadb.be-md.ncbi.nlm.nih.gov/sos5/sra-pub-zq-11/SRR001/004/SRR1004309/SRR1004309.sralite.1"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004310/SRR1004310"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004311/SRR1004311"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004312/SRR1004312"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004317/SRR1004317"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004319/SRR1004319"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004322/SRR1004322"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004324/SRR1004324"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004329/SRR1004329"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004334/SRR1004334"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004336/SRR1004336"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004337/SRR1004337"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004338/SRR1004338"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004339/SRR1004339"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004341/SRR1004341"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004346/SRR1004346"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004350/SRR1004350"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004354/SRR1004354"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR1004356/SRR1004356"
curl -L -O -C - "https://sra-downloadb.be-md.ncbi.nlm.nih.gov/sos5/sra-pub-zq-11/SRR001/004/SRR1004360/SRR1004360.sralite.1"

echo "Download complete. Files saved to $OUTDIR"