Installation guide · Data add-ons
Modifications
Show the residues and bases a hit's records mark as modified.
Modifications is an add-on: it runs only when BIOSEQUENCE_ADDONS lists modifications. For each hit, it gives the residues and bases the hit's records mark as modified, with their positions and the records' own words. They come from the modification features of GenBank's patent sequences, EMBL-EBI's US patent proteins and the US patent office's sequence listings, copied on one day into one folder that ConductScience builds. Fixed rules pick the features that mark a modified residue or base. They leave out a note that only says a position may be any of several residues or bases, such as "Lys or Asn", and the log names the rules' version. Without the add-on, the service reads no such folder, and new searches show no modifications.
A search reads the modifications as it runs, and its job keeps them, so it shows the same modifications after the folder is replaced or the add-on is turned off. A search from before the add-on ran shows none until it is run again. Hits of an attached database show none.
The folder is read where it is, and not loaded into the data volume. The service holds the folder's table in memory, which takes up to twice the size of records.tsv, and up to three times while it reads the folder at start. To get a folder, write to support@conductscience.com. Put it on the server, make it read-only, and run sha256sum -c SHA256SUMS in it, which checks every file. Then mount it into the container read-only:
-v /srv/sequences/modifications/<folder>:/modifications:ro
Add modifications to BIOSEQUENCE_ADDONS and set BIOSEQUENCE_MODIFICATIONS=/modifications, then remove the container and start it again. At start the service checks the folder's manifest and its SHA256SUMS, and reads every file. On several servers, give each worker the same mount and settings, since workers run the searches, and each worker holds its own copy of the table in memory. The log then says Modifications from <folder>: <count> modified residues and bases on <count> patent sequence records, read on <day>, rules <version>., and Sources and terms credits the three sources. If the folder is missing or fails its checks, the service does not start, and the log says why and what to do. For a newer folder, mount it in place of the old one, then remove the container and start it again. To stop showing modifications, take modifications out of BIOSEQUENCE_ADDONS and remove BIOSEQUENCE_MODIFICATIONS, then remove the container and start it again.
Guide version 1.63.0 · For Sequences 0.155.0