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

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

# --- GEO supplementary files ---
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE109nnn/GSE109423/suppl/GSE109423_Polysomes_Let7_RPKM.csv.gz" -O "GSE109423_Polysomes_Let7_RPKM.csv.gz"
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE109nnn/GSE109423/suppl/GSE109423_human_polysome_samples_rpkms.txt.gz" -O "GSE109423_human_polysome_samples_rpkms.txt.gz"
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE109nnn/GSE109423/suppl/GSE109423_human_small_rnaseq_counts.txt.gz" -O "GSE109423_human_small_rnaseq_counts.txt.gz"
wget -nc "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE109nnn/GSE109423/suppl/GSE109423_mouse_polysome_samples_rpkms.txt.gz" -O "GSE109423_mouse_polysome_samples_rpkms.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 "SRR6497056"
gz1="$(_compress_if_exists 'SRR6497056_1' || true)"
gz2="$(_compress_if_exists 'SRR6497056_2' || true)"
gzs="$(_compress_if_exists 'SRR6497056' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "b8p37_a9_polysome_S16_L004_R1_001.fastq.gz"
fi

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

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

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

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

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

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

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

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

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

fasterq-dump --split-files "SRR6497066"
gz1="$(_compress_if_exists 'SRR6497066_1' || true)"
gz2="$(_compress_if_exists 'SRR6497066_2' || true)"
gzs="$(_compress_if_exists 'SRR6497066' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "PX0_S52_L006_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "PX0_S52_L006_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR6497067"
gz1="$(_compress_if_exists 'SRR6497067_1' || true)"
gz2="$(_compress_if_exists 'SRR6497067_2' || true)"
gzs="$(_compress_if_exists 'SRR6497067' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "PX1_S53_L006_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "PX1_S53_L006_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR6497068"
gz1="$(_compress_if_exists 'SRR6497068_1' || true)"
gz2="$(_compress_if_exists 'SRR6497068_2' || true)"
gzs="$(_compress_if_exists 'SRR6497068' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "PX2_S54_L006_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "PX2_S54_L006_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR6497069"
gz1="$(_compress_if_exists 'SRR6497069_1' || true)"
gz2="$(_compress_if_exists 'SRR6497069_2' || true)"
gzs="$(_compress_if_exists 'SRR6497069' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "PX3_S55_L006_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "PX3_S55_L006_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR6497070"
gz1="$(_compress_if_exists 'SRR6497070_1' || true)"
gz2="$(_compress_if_exists 'SRR6497070_2' || true)"
gzs="$(_compress_if_exists 'SRR6497070' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "PX4_S56_L006_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "PX4_S56_L006_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR6497071"
gz1="$(_compress_if_exists 'SRR6497071_1' || true)"
gz2="$(_compress_if_exists 'SRR6497071_2' || true)"
gzs="$(_compress_if_exists 'SRR6497071' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "TX0_S47_L006_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "TX0_S47_L006_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR6497072"
gz1="$(_compress_if_exists 'SRR6497072_1' || true)"
gz2="$(_compress_if_exists 'SRR6497072_2' || true)"
gzs="$(_compress_if_exists 'SRR6497072' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "TX1_S48_L006_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "TX1_S48_L006_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR6497073"
gz1="$(_compress_if_exists 'SRR6497073_1' || true)"
gz2="$(_compress_if_exists 'SRR6497073_2' || true)"
gzs="$(_compress_if_exists 'SRR6497073' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "TX2_S49_L006_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "TX2_S49_L006_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR6497074"
gz1="$(_compress_if_exists 'SRR6497074_1' || true)"
gz2="$(_compress_if_exists 'SRR6497074_2' || true)"
gzs="$(_compress_if_exists 'SRR6497074' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "TX3_S50_L006_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "TX3_S50_L006_R2_001.fastq.gz"
fi

fasterq-dump --split-files "SRR6497075"
gz1="$(_compress_if_exists 'SRR6497075_1' || true)"
gz2="$(_compress_if_exists 'SRR6497075_2' || true)"
gzs="$(_compress_if_exists 'SRR6497075' || true)"
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz1" ]; then
  mv -f "$gz1" "TX4_S51_L006_R1_001.fastq.gz"
fi
if [ "$RENAME_SRA_TO_ORIGINAL" = "1" ] && [ -n "$gz2" ]; then
  mv -f "$gz2" "TX4_S51_L006_R2_001.fastq.gz"
fi

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

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

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

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

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

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

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

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

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

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


# Option B: Direct download (larger .sra files)
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497056/SRR6497056"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497057/SRR6497057"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497058/SRR6497058"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497059/SRR6497059"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497060/SRR6497060"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497061/SRR6497061"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497062/SRR6497062"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497063/SRR6497063"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497064/SRR6497064"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497065/SRR6497065"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497066/SRR6497066"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497067/SRR6497067"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497068/SRR6497068"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497069/SRR6497069"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497070/SRR6497070"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497071/SRR6497071"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497072/SRR6497072"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497073/SRR6497073"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497074/SRR6497074"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497075/SRR6497075"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497076/SRR6497076"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497077/SRR6497077"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497078/SRR6497078"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497079/SRR6497079"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497080/SRR6497080"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497081/SRR6497081"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497082/SRR6497082"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497083/SRR6497083"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497084/SRR6497084"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497085/SRR6497085"

# --- Additional data files ---
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497077/SRR6497077"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497079/SRR6497079"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497081/SRR6497081"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497083/SRR6497083"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497079/SRR6497079"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497081/SRR6497081"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497083/SRR6497083"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497084/SRR6497084"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497056/SRR6497056"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497057/SRR6497057"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497058/SRR6497058"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497059/SRR6497059"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497060/SRR6497060"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497066/SRR6497066"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497067/SRR6497067"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497068/SRR6497068"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497069/SRR6497069"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497070/SRR6497070"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497070/SRR6497070"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497058/SRR6497058"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497059/SRR6497059"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497060/SRR6497060"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497076/SRR6497076"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497078/SRR6497078"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497080/SRR6497080"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497082/SRR6497082"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497085/SRR6497085"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497061/SRR6497061"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497062/SRR6497062"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497063/SRR6497063"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497064/SRR6497064"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497065/SRR6497065"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497071/SRR6497071"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497074/SRR6497074"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497075/SRR6497075"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497085/SRR6497085"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497071/SRR6497071"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497072/SRR6497072"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497073/SRR6497073"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497074/SRR6497074"
curl -L -O -C - "https://sra-pub-run-odp.s3.amazonaws.com/sra/SRR6497075/SRR6497075"

echo "Download complete. Files saved to $OUTDIR"