# Aedes aegypti RNA-seq database - Vosshall Lab Download the atlas tables for analysis in Python or pandas. ## Read without JavaScript or ZIP downloads Start here: https://mosquito.rockefeller.edu/ The homepage contains the public catalog in its initial HTML; no JavaScript is needed. Dataset metadata: GET https://mosquito.rockefeller.edu/api/data/public/datasets.json Original index: GET https://mosquito.rockefeller.edu/api/data/public/datasets.tsv Original manifest: GET https://mosquito.rockefeller.edu/api/data/public/manifest.json The JSON index lists every available dataset and links to its tables: GET /api/data/public/datasets/{dataset}/samples.tsv (or samples.json) GET /api/data/public/datasets/{dataset}/contrasts.tsv (or contrasts.json) GET /api/data/public/datasets/{dataset}/expression.json (or expression.tsv) Expression pages default to 25 rows, maximum 100. Use limit and offset, or gene for an exact original gene identifier, for example: https://mosquito.rockefeller.edu/api/data/public/datasets/elife/expression.json?gene=AAEL005776&limit=25 JSON returns columns and row arrays, preserving original identifiers, duplicate rows and numeric strings. Use next to continue; TSV uses a Link: rel="next" header. Samples and contrasts are complete small tables. A missing dataset or unavailable contrasts return 404. Check expression_unit; not all studies use TPM. Private metadata and tables use the same paths with /full/ instead of /public/. Every private request must be POST with the existing password in its JSON body, including requests for later pages. Public URLs never expose private datasets. There is no public full catalog. No password is accepted in a URL. ## Public and private data The atlas has two data access levels: - Public data: available to everyone, with no password required. Download the public ZIP to analyze these datasets. - Private data: requires the existing private dataset password. The full ZIP includes both public and private datasets and is available only with that password. ## Download endpoints Public download: GET https://mosquito.rockefeller.edu/api/data/public Full download: POST https://mosquito.rockefeller.edu/api/data/full Discovery and public checksum: GET https://mosquito.rockefeller.edu/api/data For the full ZIP, send the password in an application/json request body: {"password": ""} Never put passwords in a URL. Failed authentication returns HTTP 401. Both ZIPs contain original expression matrices, sample metadata, gene mappings, available differential-expression results, comparison pairings, methods, and a README with pandas examples. Read manifest.json for access scope, sources, versions and checksums, then datasets.tsv for file paths. Published and reprocessed versions of the same libraries are not independent replicates. TPM is not raw counts. Unmatched identifiers do not establish new genes. Raw reads, paper PDFs and external single-cell matrices are not in these ZIPs. ## Download with Python ```python from getpass import getpass from pathlib import Path import json from urllib.request import Request, urlopen import shutil # Public data (no password): request = Request("https://mosquito.rockefeller.edu/api/data/public") filename = "aedes-rna-atlas-public.zip" # For full data, replace the two lines above with: # request = Request("https://mosquito.rockefeller.edu/api/data/full", # data=json.dumps({"password": getpass("Dataset password: ")}).encode(), # headers={"Content-Type": "application/json"}, method="POST") # filename = "aedes-rna-atlas-full.zip" with urlopen(request, timeout=300) as response, Path(filename).open("wb") as output: shutil.copyfileobj(response, output) ```