Q&A · the questions we get the most

Questions, answered.

Short, direct answers. If yours is not here, write to us at the bottom of the page.

Q · 01 Is PRIMORA a model or an atlas? model +

Both. The model is a frozen transformer encoder that reads the expression levels of a cell's genes and places the cell in a 512-dimensional space shared with descriptions of cell identity and state. It was trained on 30.8 million peripheral blood mononuclear cells from 1,876 healthy donors in 19 public cohorts, and builds on LingoCell.

The atlas is what the model reads from those cells: 23 immune identities, 18 continuous functional programs, aging axes for nine T-cell identities, and the in silico edits of 18,298 genes. The Atlas page looks these results up; the Server page runs the same frozen model on your own cells.

Q · 02 What can I look up without an account? atlas +

Everything on the Atlas page. For a gene: bubble, violin and feature plots by cell type and by age, sex, CMV serostatus, IFN-β stimulation, influenza vaccination, disease or cohort; its association with age in each identity; and the report of its in silico knock-out, under- and over-expression. For a gene set: a dot plot of up to 60 genes across the 23 identities. For an identity: its specific genes, the genes that rise and fall with age, and the edits that move it most.

Every chart has a table view and can be saved as SVG, PNG or TSV. Publication figures are served as PDF, SVG and PNG, and the same data is available from the API listed under Resources.

Q · 03 Which cells are behind the expression plots? atlas +

A reference set of 70,109 cells with 24,278 genes: 30,398 cells of healthy donors, up to 1,400 per identity, 15,006 cells of patients with lupus, COVID-19, influenza, sepsis or Kawasaki disease from six public cohorts, 12,705 cells taken before and seven days after influenza vaccination, and 12,000 cells cultured with and without IFN-β. Values are log1p of counts per 10,000.

Because the reference cells are sampled per identity, the number of cells in a group says nothing about how common that cell type is in blood. Patients come from other cohorts than the healthy reference they are shown beside, so a difference between a disease and Healthy can reflect the cohort as well as the disease.

Q · 04 What do knock-out, under- and over-expression mean here? atlas +

They are edits of the model input. A knock-out deletes the gene from the input of the cells that express it; under- and over-expression move its expression one level down or up; the rest of the cell is held fixed. The report then states how far the representation of the cells moved, whether they moved away from their own identity and towards which other one, which of the 18 programs shifted, and for T cells whether the cells moved towards the older or the younger end of the aging axis.

Edits are reported for an identity when at least 20 cells from at least 8 donors express the gene. Larger steps of two and three levels exist for 1,073 transcription factors and program genes in ten identities. An edit measures how strongly the model's representation rests on a gene. It is attribution on steady-state cells, not a prediction of a CRISPR knock-out or of an over-expression experiment.

Q · 05 What file do I upload, and what must it contain? input +

One AnnData file (.h5ad), cells × genes, up to 200 MB. Human blood cells (PBMCs), at least 20 of them, with gene names as HGNC symbols in var_names or in a column of var (for example feature_name). Raw counts in X are recommended and log1p-normalised values are accepted; scaled, batch-corrected or imputed matrices cannot be analysed.

Optional columns of obs make the results more useful: your own cell-type labels, a sample, donor or condition to summarise by, and the donor's age. The file must not contain direct identifiers or raw sequence reads; see the entry on data from human samples. The Server page offers an example dataset if you have none of your own yet.

Q · 06 What if my gene symbols do not match HGNC exactly? input +

Gene names are matched exactly against the model's vocabulary of HGNC symbols, read from var_names or from a column of var such as feature_name; there is no alias resolution, and a gene outside the vocabulary is ignored. Ensembl IDs are not symbols, so convert them before you save the file, or keep the symbols in a column of var. At least 200 genes must match, and the PDF report of a job states how many did.

Q · 07 Can I upload cells that are not PBMCs, or not human? input +

The file will be read, but the results cannot be relied on. PRIMORA was trained on human peripheral blood mononuclear cells and uses a vocabulary of human gene symbols. Every cell is assigned to the nearest of the 23 blood identities, so a platelet, a granulocyte, a tissue cell or a doublet still receives one of them; the similarity and its margin show how close the assignment was.

Q · 08 What do I get back when a job finishes? output +

A results page at the job's own link, which only your account can open, and an e-mail when the job has ended. The e-mail gives the link to that page; it never contains file names or results. You can switch these e-mails off under Account.

On the results page you find a PDF report and the result files of the task you ran, each with its size and checksum, ready to download. The report states what was run on which file, the checks made on the input, every warning, the settings and the software release that were used, and the limits of the method.

Result files stay on the server for 30 days after the job finished, large data files for 7 days; both dates are shown on the results page and in the e-mail. The PDF report is yours to keep. PRIMORA is for research use only: results must not be used for diagnosis or treatment decisions.

Q · 09 How much should I trust an identity, a program score or an edit? output +

An identity is the nearest of 23 reference identities; its similarity and margin say how close the assignment was and are not probabilities. A program score places a cell among cells of its own identity, on a scale of about 0 to 1; it is not an expression level, and scores of different programs are not on a common scale.

The aging axis exists for nine T-cell identities. A position on it is relative to the reference cohorts and is not an estimate of anybody's age; single cells scatter widely, so compare donors or groups of the same identity. In silico edits are attribution within the model, for prioritising hypotheses.

Q · 10 How long does a typical job take? running +

It depends on the analysis and on the size of your data; jobs also run one at a time on a GPU machine that is shared with other work, so a job may first wait in the queue. We do not publish run times until they have been measured on the service's own GPU. The job page shows the stage your job is in, and every analysis has a time limit; see the entry on limits below.

In silico gene editing encodes the cells once for every gene and edit, so it takes the longest: a job takes at most 20 genes.

Q · 11 Can I run PRIMORA on my own GPU? running +

Yes. The release holds the frozen weights, the inference and in silico editing code, the atlas query package and a demo dataset; the analyses need no fine-tuning on your data. A CUDA-capable GPU is recommended, and every function also runs on CPU, slowly. Code and data pipelines for pretraining are not included.

Q · 12 What is the licence for the weights and code? ethics +

The release, code and frozen weights alike, carries the MIT licence. Please cite PRIMORA when you use the model, the atlas, its figures or the results of the server; the Resources page says how.

Q · 13 Does the server store my uploaded data? ethics +

Yes, for as long as it is needed to run your jobs and no longer. Your file is stored on our cloud server in Hong Kong and is copied to the laboratory's GPU machine in Japan while a job runs on it. It is used only to run the jobs you submit; it is not used to train or improve models. Queries on the Atlas page are never linked to an account: they carry no cookie, and like every page request they leave only an entry in the web server's log.

An account holds one file at a time. The file is deleted automatically 24 hours after the last job that used it has ended (72 hours if that job stopped because of a fault on our side or because it reached a time, memory or output limit, so that it can be run again), or 24 hours after the upload if no job used it. Uploading a new file replaces the earlier one, and you can delete the file yourself at any time. An upload that was never finished is discarded 24 hours after its last part arrived.

Results belong to your account, not to a public link: only you can open them, after signing in. Result files are deleted 30 days after the job finished, large data files after 7 days. The Privacy Policy has the full list, including sign-in records and backups.

Q · 14 Do I need an account, and how do I sign in? account +

Not for the Atlas page or for reading this site. Uploading data and running jobs need an account. The Sign up tab of the Sign in page creates it: one short form and a code sent by e-mail, no password.

Enter your e-mail address on the Sign in page and we send you a one-time code, valid for 10 minutes. Where the Google or GitHub buttons are shown you can continue with one of them instead; if the address it reports already has a PRIMORA account, we may first send a code to that address to confirm that it is yours.

When you sign up we ask for a username, your institution or organisation, your education or position and your country or region, for your agreement to the Terms of Use and the Privacy Policy, and separately for your consent to the processing of your data outside your own country. Results and notifications are tied to the account's e-mail address, which cannot be changed later.

Q · 15 Can I sign in from mainland China? account +

Yes, with the e-mail code. Google and GitHub sign-in usually cannot be reached from mainland China, so use the e-mail code there. Before you upload, please also read the entry on data from human samples further down this page.

Q · 16 The sign-in code has not arrived. What can I do? account +

Wait a little first: some institutional mail servers hold messages from new senders. Look in the Spam or Junk folder, and check the address you typed for typos. Add no-reply@mail.primora.example to your contacts or allow-list, then ask for a new code. That is possible 60 seconds after the last one, and codes we sent earlier keep working until they expire.

Enter the code in the same browser window where you asked for it. If nothing has arrived after 10 minutes, try another mailbox or contact the lab for help.

Q · 17 What does the queue mean? running +

Jobs run one at a time on a single GPU machine in the laboratory, which is also used for other work. A submitted job waits in the queue until the machine is free, and its page shows how many jobs are ahead of yours. The order is fair between users, so one user with many jobs does not hold up everyone else.

You can close the page: the job keeps its place, and we e-mail you when it ends. While the GPU machine is offline or busy, jobs stay in the queue and start by themselves when it is back. A job that has still not started after 7 days is closed, and you are told by e-mail. You can cancel a waiting or running job on its page.

Q · 18 What are the limits? running +

One .h5ad file per account at a time, up to 200 MB. Uploading again replaces the earlier file once the new upload has finished; a larger dataset has to be split into several files and jobs. An upload can be paused and resumed, and an interrupted one continues where it stopped if you choose the same file again within 24 hours.

Each account can have 3 jobs waiting or running at once and can submit 10 jobs a day. A job that runs longer than the time limit of its task, at most 4 hours, is stopped. Queries on the Atlas page and its API are limited per network address, generously for a person and firmly for a script.

Q · 19 How do I delete my data or my account? ethics +

Your file: use Delete next to it on the Server page or under Account. A file that a waiting or running job still needs can be deleted once that job has ended or been cancelled.

A job and its result files: open the job page and delete the job there.

Everything: delete your account under Account and confirm with your e-mail address. This removes your profile, sign-in methods, file, jobs and results from our servers and cancels running jobs; it cannot be undone. What remains is a record of the consents you gave and a minimal record of each job (its id, task, status and dates), both without your e-mail address, and encrypted database backups, in which deleted data can persist for up to 14 days. If you cannot sign in, contact the lab and we will delete the account for you.

Q · 20 Can I upload data from human samples? ethics +

Please note: data from human samples can be uploaded only after it has been de-identified. Data that can identify a person cannot be uploaded to this service, whichever country the samples come from.

Before every upload you are asked to confirm that your dataset is de-identified and that you are entitled to upload it. If you are not sure whether your data is affected, contact the lab before you upload.

Still have questions?

Send us your question and we will reply by e-mail.