get_download_urls
Obtain FTP download URLs for all sequencing data files in a study. Use after searching RNA studies to get direct links for file downloads.
Instructions
Get FTP download URLs for all sequencing data files in a study.
Usage Tips
Call after search_rna_studies() to get download URLs for selected studies. Returns FTP URLs that can be used with wget/curl or passed to generate_download_script().
Returns
dict Dictionary containing: - study_accession: Queried study - file_count: Total number of files - total_size_gb: Total download size in GB - runs: List of per-run file info, each with: - run_accession: Run identifier - file_count: Files in this run (2 for paired-end) - size_gb: Run size in GB - urls: List of FTP URLs (ftp://...) - md5_checksums: List of MD5 hashes (if include_md5=True) - message: Info message if no files found - error: Error message if any
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| study_accession | Yes | Study accession from search results. Accepts SRP/ERP/DRP or PRJNA/PRJEB/PRJDB formats | |
| file_format | No | File format to download (fastq, submitted, or sra). FASTQ is most common | fastq |
| include_md5 | No | Include MD5 checksums for file integrity verification |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||