ConductScience Sequences
Contents

Installation guide · Install

Your own collections

Search your own sequences beside the snapshot's sets.

A collection of your own, such as sequences your organization holds or licenses, can be searched beside the snapshot's sets. It comes as two files: a FASTA file of its sequences, of any size, and a metadata file, collection.json, that says what it is:

{
  "format": "sequences-collection",
  "name": "Lab antibody panel",
  "type": "prot",
  "source": "Our lab's antibody records",
  "date": "2026-11-20",
  "rights": "Internal use by the lab only",
  "updates": "Each quarter, when the lab sends a new file"
}
FieldWhat it holds
formatsequences-collection
nameThe name people choose under Search in, up to 80 characters
typenucl for DNA or RNA, prot for protein
sourceWhere the sequences come from, up to 200 characters
dateThe day the sequences were cut or delivered, as YYYY-MM-DD
rightsWho may use the sequences and how, up to 160 characters. Results show it as written
updatesHow the collection is refreshed, up to 120 characters. Leave it out and the data sources page says "When this server adds a newer FASTA file"

All fields but updates are required. Each is one line of plain text, without < or >. Put both files in a folder on the server, with no spaces in their names, and run collection with that folder mounted:

docker run --rm -v sequences-data:/data -v /srv/collections:/in:ro conductscience/sequences:<version> \
  collection --fasta /in/panel.fa --about /in/collection.json

collection reads the FASTA file a line at a time and stops at the first fault, with its line: a sequence with no header, a header that is empty, not ASCII or longer than 1,000 characters, an ID used twice or longer than 50 characters, or a letter that is not a code of its type. It then builds the collection's BLAST database in the data volume, under collections/, and prints the collection's record. Reload the search page, and the collection is under Search in. A search of it runs BLAST, as a search of any attached database does. Its result's summary and its case report give its date, source and rights, and Data sources gives it a row with its count, source, date, updates and rights.

  • The same files again change nothing. To change a collection's metadata, remove its record, databases/<id> in the data volume, where <id> is the id the record printed, then run collection again.
  • A newer FASTA file adds a second collection beside the first. To replace the first, remove its record and its folder under collections/, whose name is the collection's name in lower case with hyphens, then the first 12 characters of the record's fastaSha256, such as lab-antibody-panel-3f9a0c1b2d4e.
  • With several servers, add it on the coordinator, which runs the searches of attached databases.
  • If the collection is confidential, name its ID in BIOSEQUENCE_CONFIDENTIAL_SETS (see Confidential sets), so that external formats leave out its rows.

Guide version 1.63.0 · For Sequences 0.155.0