Skip to content
Edit this page View source of this page

info

sylphd info [--socket PATH | --tcp HOST:PORT | --url URL] [--timeout SECONDS]
            [--retries N] [--json]

This command is the native sylphd-client: the sylphd command runs the server and admin commands in Python and forwards this one, argv unchanged (same exit codes, same stdin and stdout), and sylphd-client is the same program for machines without Python. The client renders the output, so it depends on the client version rather than the server's. --json saves the server's document unchanged; render turns a saved document into the table later, without a server.

Prints what the server reports about itself:

  • database name, size, genome count, c, k, screen_c, whether it is two-stage, and the SHA-256 (- unless the server runs with --hash). /info is public and does not expose file paths, so the server's directories are not printed (they are in the server log). On a server with several databases these are the pooled values: c is the smallest c (the one to sketch with), genomes the sum, and screen_c/two-stage are only shown when every database agrees;
  • databases: for a server with more than one database, one line per database with its name (the --db NAME=PATH alias, else the file name), file, genome count, c and k. A single-database server prints nothing extra, so the output does not change;
  • the metadata database (file name, GTDB release, row count, build date, number of columns) or metadata: none; taxonomy sources show their base name or the catalogue URL they came from, never a local path; when it has taxonomy sources (format 3), taxonomy sources: with one line per source (name, number of keys, whether it is the virtual GTDB source or an imported file, whether it carries virus hosts, MD5), the NCBI: counts of a --taxonomy-db build and the nearest NCBI taxon counts (nearest NCBI taxon: 146,310 of 146,310 keys without an NCBI record (domain 6,201, ..., species 44,027; 40,537 informal, formally named above)), then taxonomy overlaps: with one line per pair of sources that share keys (First and Second: 7 shared keys; examples: ...; the source imported later wins) — see setup;
  • versions of sylphd, pysylph and Python;
  • limits: jobs, contigs per /contigs request, upload size, sketch count, and a web: line with the raw-sequence assembly (--allow-sequences), rate-limit and queue settings;
  • usage statistics: off, or on with the policy and window length: the server keeps usage statistics, public at /usage. The commands that send work (profile, query, assembly) print one line to stderr, sylphd: note: this server keeps usage statistics, see <url>/usage, once per run when it is on. assembly --quiet and --json keep it off stderr; nothing is asked.

  • messages:, when the operator has set messages, one line per message of every level (info, warning, danger) as [level] title: text, in plain text (Markdown links reduced to their label). Nothing is printed when there are none.

The commands that send work also print the server's warning and danger operator messages on stderr, once per run.

--json prints the raw /info payload instead, plus a messages key with the list from /messages ([] when there are none). See GET /info. The server address options select the server, and --retries N retries a 429 or 503 answer.