Skip to main content

seqout-fetch

seqout-fetch logo

Filter the seqout.org study tables and export them as CSV.

Scope: single-cell and spatial transcriptomics only.
Two tables, two subcommands, no bulk RNA-seq and no general-purpose GEO browsing.

License: MIT Python Data source Scope Interface

Single-cell table · Spatial table · Install · Usage · Columns


Scope

seqout-fetch wraps exactly two public seqout.org endpoints. Everything else is out of scope by design.

Single-cell Spatial
Web page technology/single-cell technology/spatial
API GET /api/single-cell/projects GET /api/spatial/projects
Command seqout-fetch single-cell seqout-fetch spatial
Corpus ~62,000 studies ~1,800 studies
Filters modality, cell/nucleus, chemistry, organism, tissue, matrix, FASTQ, SRA, long-read platform, resolution, technology, readout, data availability, organism, tissue, cell line, sample type

Deliberately not included:

  • Bulk RNA-seq, microarray, or whole-genome studies outside these two tables.
  • General GEO/SRA/ENA search — use the seqout frontend or the official seqout package for that.
  • Downloading FASTQ or count matrices themselves. This tool exports the index; use the accessions it produces to fetch the data.

Install

pip install -e .

For development:

pip install -e ".[dev]"
pytest

Usage

seqout-fetch single-cell [FILTERS] [OPTIONS]
seqout-fetch spatial     [FILTERS] [OPTIONS]

Every filter is optional; combine as many as you need.

Single-cell filters

--modality, --cell-or-nucleus, --perturbation-method, --intervention-kind, --chemistry, --organism, --tissue, --assay-l1, --year, --has-matrix, --has-fastq, --has-sra, --is-long-read, -q/--query

Spatial filters

--platform, --resolution, --technology, --data-availability, --organism, --tissue, --readout-assay, --cell-line, --sample-type, --year, --has-matrix, --has-fastq, --is-long-read, -q/--query

Boolean filters take the literal strings true or false.

Common options

Option Default Meaning
--sort year Sort field
--order desc asc or desc
--limit 100 Records per page
--max-records 0 Stop after N records (0 = all)
--sleep 0.5 Seconds between pages
--raw off Export every API field instead of the website columns
-o/--out seqout_<dataset>.csv Output path
--facets off Print valid filter values and exit
--version Print the version and exit

Examples

# Human kidney single-cell studies that ship a count matrix
seqout-fetch single-cell --organism "Homo sapiens" --tissue kidney --has-matrix true

# Human kidney spatial studies on a named platform
seqout-fetch spatial --tissue kidney --platform Xenium

# Single-cell resolution spatial studies with raw FASTQ
seqout-fetch spatial --resolution single-cell --has-fastq true

# Discover the valid values for every filter
seqout-fetch spatial --facets

# Export all API fields instead of the website columns
seqout-fetch single-cell --tissue kidney --raw -o kidney_raw.csv

Output columns

Single-cell (14 columns):

Study  Title  Modality  Cell / nucleus  Perturbation  Chemistry  Organism
Tissue  Samples  Matrix  FASTQ  .sra  Long-read  Year

Spatial (13 columns):

Study  Title  Platform  Resolution  Technology  Readout  Organism
Samples  Data  Cells  FASTQ  Long-read  Year

Formatting rules mirror the website:

  • Missing values render as —.
  • List values show the first two entries followed by +N; in CSV they are joined with ; .
  • Matrix renders yes (1.2M cells), yes, no, or no (≈N cells from reads).
  • FASTQ / .sra render yes (4), yes, no, or — when unknown.
  • Counts use K / M / B suffixes.
  • Spatial Data maps data_availability to matrix + FASTQ, matrix only, FASTQ only, or neither.

Behaviour

  • Progress and diagnostics go to stderr, so stdout stays clean.
  • Failed requests are retried three times with exponential backoff; the CLI exits with status 1 and prints the failing URL.
  • A query with zero matches still writes the CSV header.
  • The tool is read-only: it never writes to seqout.org.

Layout

src/seqout_fetch/
├── cli.py        Typer commands and CSV writing
├── client.py     HTTP, retries, pagination
├── render.py     Formatting helpers matching the web frontend
└── schema.py     Column definitions and row renderers

Licence

MIT

Metadata

Release files for seqout-fetch 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for seqout-fetch 0.1.0
File Interpreter ABI Platform Actions
seqout_fetch-0.1.0-py3-none-any.whl Python 3 none any Details for seqout_fetch-0.1.0-py3-none-any.whl

Release files / seqout_fetch-0.1.0-py3-none-any.whl

Download URL seqout_fetch-0.1.0-py3-none-any.whl
Size 12.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5a3caa5d29aff1c4eaccd5f1344267a6d684cfec8ca11161104e35e8a14859ac
BLAKE2b-256 checksum
How to use checksums
d136154bdfbdcec557674d2271db6bd4abac7812bdbda510f1be45c1f58abcf2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Security for seqout-fetch 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page