Detailed instructions for how to install and update seqr may be found in the seqr-helm repository.
This is the default authentication mechanism for seqr. After seqr is running, you can run the following steps to create an inital superuser account. All other user accounts can then be added through normal application use.
# Get the name of the running seqr pod
kubectl get pod
kubectl exec -it seqr-POD-ID -- /bin/bash
./manage.py createsuperuser
Using Google OAuth2 for authentication requires setting up a Google Cloud project and configuring the seqr instance with the project's client ID and secret by setting the following environment variables in your helm values overrides:
seqr:
environment:
- SOCIAL_AUTH_GOOGLE_OAUTH2_CLIENT_ID=your-client-id
- SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET=your-client-secret
Note that user accounts do NOT need to be associated with this Google Cloud project in order to have access to seqr. User's emails must explicitly be added to at least one seqr project for them to gain any access to seqr, and any valid Gmail account can be used.
Using Azure OAuth2 for authentication requires setting up an Azure tenant and configuring the seqr instance with the tenant and it's client ID and secret by setting the following environment variables in your helm values overrides:
seqr:
environment:
- SOCIAL_AUTH_AZUREAD_V2_OAUTH2_CLIENT_ID=your-client-id
- SOCIAL_AUTH_AZUREAD_V2_OAUTH2_SECRET=your-client-secret
- SOCIAL_AUTH_AZUREAD_V2_OAUTH2_TENANT=your-tenant-id
Note that user accounts must be directly associated with the Azure tenant in order to access seqr. Anyone with access to the tenant will automatically have access to seqr, although they will only be able to view those projects that they have been added to.
- Turning on this feature will register your variants within the Clingen Allele Registry during VCF ingestion. The Registry provides and maintains unique variant identifiers; enabling this feature will toggle several small features.
- You will first need to register and receive a login and password.
- Create a kubernetes secret called
pipeline-secrets
with your login and password embedded:
kubectl create secret generic pipeline-secrets \
--from-literal=clingen_allele_registry_login='my-login'
--from-literal=clingen_allele_registry_password='my-password'
- Add secret references in your values overrides:
pipeline-runner:
additionalSecrets:
- name: CLINGEN_ALLELE_REGISTRY_LOGIN
valueFrom:
secretKeyRef:
name: pipeline-secrets
key: clingen_allele_registry_login
- name: CLINGEN_ALLELE_REGISTRY_PASSWORD
valueFrom:
secretKeyRef:
name: pipeline-secrets
key: clingen_allele_registry_password
- Copy your vcf into the loading datasets directory on the node running your kubernetes cluster (
/var/seqr/seqr-loading-temp/
). You should see your vcf present when listing files:
ls -h /var/seqr/seqr-loading-temp/
loading_pipeline_queue test.vcf.gz
- In the top header of seqr, click on the Data Management button.
- In the subheader, click on Load Data.
- Type the name of the callset path into the Callset File Path text box (without the directory prefix), and select the appropriate Sample Type (WES/WGS) and Genome Version (GRCh37/GRCh38) for your project. The pipeline includes a sequence of validation steps to insure the validity of your VCF, but these may be skipped by enabling the Skip Callset Validationoption. We strongly recommend leaving validation enabled to ensure the quality of your analysis.
- Click through to the next page and select your project from the Projects to Load dropdown, then click Submit.
- If you wish to check the status of the loading request, you can click through to the Pipeline Status tab to view the loading pipeline interface.
- Data should be loaded into the search backend automatically, usually within a few hours.
Currently, seqr has a preliminary integration for RNA data, which requires the use of publicly available
pipelines run outside of the seqr platform. After these pipelines are run, the output must be annotated with metadata
from seqr to ensure samples are properly associated with the correct seqr families. After calling is completed, it can
be added to seqr from the "Data Management" > "Rna Seq" page. You will need to provide the file path for the data and the
data type. Note that the file path can either be a gs:// path to a google bucket or as a local file stored in the /var/seqr
folder.
The following data types are supported:
seqr accepts normalized expression TPMs from STAR or RNAseqQC. TSV files should have the following columns:
- sample_id
- project
- gene_id
- TPM
- tissue
seqr accepts gene expression outliers from OUTRIDER. TSV files should have the following columns:
- sampleID
- geneID
- pValue
- padjust
- zScore
Splice junctions (.junctions.bed.gz) and coverage (.bigWig) can be visualized in seqr using IGV. See ReadViz Setup for instructions on adding this data, as the process is identical for all IGV tracks.