Installation guide · Run the service
Commands
The commands the image runs, and which of them read the license file.
Run a command as docker run --rm -v sequences-data:/data conductscience/sequences:<version> <command>. check-license also needs -v /etc/sequences:/config:ro, and load the import folder, as shown above. Only serve and check-license read the license file, and a worker's serve reads none. A snapshot's ID is the name of its folder under corpora/, and this lists them:
docker run --rm -v sequences-data:/data --entrypoint ls conductscience/sequences:<version> /data/corpora
| Command | What it does |
|---|---|
serve | Start the service (the default command) |
versions | Show the release and the version of every search program |
check-license | Show what the license file allows |
fips-check | In the FIPS image, run each algorithm the service uses and say whether it ran in the FIPS provider. Exit 1 if a check fails or FIPS mode is off, as it is in the standard image |
healthcheck | Exit with 0 if the service in the same container answers on 127.0.0.1. The image's health check runs it inside the running container, and Health and logs shows how to read the result. After 3 failures in a row it stops the service, so that the container's restart rule starts it again |
drain [--wait <minutes>] | On a worker, finish the searches it runs and take no more, then exit with 0. Exit 1 if the worker starts again first, or after 60 minutes or the minutes --wait gives (1 to 1440). Run it in the running worker with docker exec. See Drain and stop a worker |
load <folder> --sums <file> | Load a snapshot, delta, clinical context, funding trail or drug names copy, checking every file |
verify <snapshotId> [--delta <deltaId>] | Run a snapshot's or delta's checks again |
sums <snapshotId> [--delta <deltaId>] | Print the SHA-256 list of a snapshot or delta folder. sums --folder <folder> prints any folder's, such as a clinical context, funding trail or drug names folder |
attribution <snapshotId> [--delta <deltaId>] | Print the sources and terms of a snapshot or delta |
collection --fasta <file> --about <file> | Add a collection of your own from its FASTA file and its metadata file. See Your own collections |
fetch, build, delta, deltas | Download the public source files, build a snapshot, add newer files as a delta, and list deltas |
papers --out <folder> --snapshot <folder> --pubmed <folder> ... | Make a paper folder from PubMed's files and the Retraction Watch Database. See Paper citations and marks |
crossref --answers <folder> --snapshot <folder> ... | Ask Crossref for the dates of the cited papers PubMed does not hold, for papers --crossref. See Dates from Crossref |
taxa-scan --inputs <folder> --source all --out <folder> | Read the NCBI taxon each record states, from the files a snapshot was built from, into a folder for each source. See Species of each hit |
taxa --taxdump <file> --out <folder> [--scans <folder>]... | Make a taxa folder from NCBI's taxonomy and the source scans. See Species of each hit |
ror --zip <file> --out <folder> | Make the name index for ROR suggestions from ROR's data zip. See ROR suggestions |
antibody-names fetch --release <n> --out <folder>, antibody-names build --from <folder> --out <folder>, antibody-names check --table <folder> | Download a ChEMBL release's biotherapeutic sequences and names, make the antibody name table from them, and check a table before you set it. See Antibody names |
protein-names --from <file> --out <folder> | Make the folder of Swiss-Prot's names behind the proteins a case's claims name, from UniProt's uniprot_sprot.dat.gz. See Protein names |
sample add <search ID> --name <name> --title <words> --source <words> --source-url <https link> | Make a sample result from a finished search. See Sample results |
sample list, sample remove <name> | List the sample results, or remove one |
audit-export --day <YYYY-MM-DD>, or --from <time> --to <time> | Write the audit log and the case logs for a UTC day or a time range as JSON lines for a SIEM, reading the data volume only. See Audit export for a SIEM |
context extract, context assemble, context check | Make a patent context folder from the US patent office's weekly full-text files, and check it. See Patent context |
context google stems, context google build | List the numbers of other offices' publications to ask Google Patents Research Data for, then make a part of their English titles and abstracts from the rows of that query. See Other offices |
context ops | Add the titles and English abstracts of other offices' publications from EPO's Open Patent Services, only with BIOSEQUENCE_OPS=on. See Other offices |
help | List every command and its options |
Guide version 1.63.0 · For Sequences 0.155.0