User guide · Search
While a search runs
What the page shows while a search waits and runs, the searches that ask first, and each result's address.
The status bar under the search card follows your search. The tab's title puts its state before its name: "Waiting:" or "Running:" until it ends, then "Done:" until its result opens, or "Done in part:", "Failed:" or "Interrupted:". A finished search opens its result by itself, unless you opened another result since it started or you are typing in a field; then it waits behind Open results. After a reload, the status bar follows your newest search that is waiting or running.
A search's state reads the same on its card, in the status bar and in the tab's title: waiting, running, done, failed, cancelled or interrupted, and done in part for a combined search whose sets did not all complete. Choosing Run search again while the same search waits or runs starts no second search: the page says "This search is already waiting." (or running) and follows the one under way. While the service does not answer, as during an install, the status pill says "Not answering. Trying again." and the page keeps asking until it answers. A search the server no longer has reads "This search is no longer on the server.", with Close.
A running search says how long it has left, in whole minutes, from the server's estimate. A Smith-Waterman or global search of a DNA set also counts its queries as they finish, as in "2 of 5 queries done, about 6 minutes left", and works out the time left from their pace. When a search runs past that time, the line leaves the time out.
Your organization may run Sequences on several servers that share one queue. A search of a snapshot then runs on whichever server is free, and its result is the same wherever it ran. If that server stops, the search reads "waiting" again, keeps its place and starts over on the next free server. A search cut off three times this way fails with "The search was cut off 3 times before it finished. Submit it again." When the server you sign in to restarts, a search of a snapshot that waits keeps its place.
Searches that ask first
Your organization can have Sequences check with you before a long search. A search of a large set, such as TrEMBL, or one whose estimate passes the time your server sets, then asks before it queues: "TrEMBL is a large set. This search should take about 12 minutes. Run it?" Choose OK to run it, or Cancel to leave it unstarted. Searches you start together, such as a search of several sets or of a listing's sequences, ask once. A program sends such a search again with "confirmed": true. See Programs and API tokens.
Your organization can also set how much processor time each account's searches may use in a day. Once yours have used it, a new search stops with a message that names the limit and when you can search again, at 00:00 UTC. Searches already waiting or running finish.
Addresses
Each result has a page of its own: /results/<id> for a search and /results/group/<id> for a combined search. Bookmark it to come back to the result. The page shows the result alone, with the search's name in the browser tab. New search, at the top, goes to the search page, which keeps the form, Recent jobs and the suggested searches. A search that still waits or runs shows its progress on its page, and the page becomes the result when the search finishes. Older links, /?job=<id> and /?group=<id>, open the same page, and so does the results link in a watch email that has one. If you are signed out, the page asks you to sign in, then opens the result.
A case at one of its steps has /?case=<id>&step=<step>. Back goes to the page before, and Copy link, in the result's header, copies the result's address. An address opens only for the account that ran the search; for anyone else, and for a search no longer on the server, the page says "This search is no longer on the server." Back or Forward to a search no longer on the server closes the result that was open. If you open one result and then another before the first shows, the one you opened last shows. A case no longer on the server, whether from its address, from Back or Forward, or from its card in a list read before it was deleted, shows the list of cases, and the page says "This case is not on the server."
An address the server does not know opens a page that says so, with Go to the search page and links to these docs and to All pages. All pages, also in the footer of every page, lists every page the server has: sign-in, the search page, API tokens, the plans page on the hosted service, these docs and the sample results.
Guide version 1.91.0 · For Sequences 0.155.0