Retrieve the run-level metadata and biological sequence reads for every currently public SRA run associated with the BioProject accessions listed in the input file. Exclude technical reads, preserve each run's `SINGLE` or `PAIRED` layout, and do not alter the biological read sequences or quality strings after retrieval.
Under `final_answer/metadata/`, write exactly one table for each input BioProject at `final_answer/metadata/<ACCESSION>.tsv`. Each table must contain exactly one row for every run of that BioProject, and every row's `bioproject` value must equal `<ACCESSION>`. Each table must contain at least the following columns: `bioproject`, `run_accession`, `study_accession`, `experiment_accession`, `sample_accession`, `biosample`, `organism_taxid`, `organism_name`, `library_strategy`, `library_source`, `library_selection`, `library_layout`, `instrument_model`, `run_total_spots`, and `run_total_bases`. Additional columns are allowed.
Write `final_answer/run_manifest.tsv` with at least the columns `bioproject`, `run_accession`, `library_layout`, `forward_path`, and `reverse_path`. Column order does not matter and additional columns are allowed. Include every run exactly once, and describe the same run set as the metadata tables.
For paired-end runs, set `library_layout` to `PAIRED` and provide synchronized forward and reverse FASTQ paths. For single-end runs, set `library_layout` to `SINGLE`, provide the FASTQ path in `forward_path`, and leave `reverse_path` empty. All paths must be relative to `final_answer/`.
Store all retrieved FASTQ files under `final_answer/reads/` and reference them from the manifest.