Detect interesting SARS-CoV-2 spike protein mutations from Sanger sequencing data
covid-spike-classification is a script to call interesting SARS-CoV-2 spike protein mutations
from Sanger sequencing to support the Danish COVID-19 monitoring efforts.
Using Sanger-sequenced RT-PCR product of the spike protein, this tool should pick up all relevant
mutations currently tracked (see covid_spike_classification/core.py
for the full list of tracked mutations) and give a table with one row per sample and a
yes/no/failed column per tracked mutation.
This workflow is built and maintained at https://github.com/kblin/covid-spike-classification
If you found this tool useful, please cite https://www.medrxiv.org/content/10.1101/2021.03.27.21252266v1
Installation
covid-spike-classification is distributed via this git repository, pypi or bioconda.
Bioconda
Installing via bioconda is the fastest way to get up and running:
conda create -n csc -c conda-forge -c bioconda covid-spike-classification
conda activate csc
git & pypi
When installing via git or pypi, you first need to install the external binary dependencies.
covid-spike-classification depends on three excellent tools to do most of the work:
- tracy (versions 0.5.3 & 0.5.7 tested)
- bowtie2 (version 2.4.2 tested)
- samtools (versions 1.10 & 1.11 tested)
If you have conda installed, the easiest way to get started is to just install these via calling
git clone https://github.com/kblin/covid-spike-classification.git
cd covid-spike-classification
conda env create -n csc -f environment.yml
conda activate csc
pip install .
Docker, Podman, Singularity
While not technically an installation method, covid-spike-classification is also shipped as an OCI container.
To use it, you ideally run the container from a workflow management system like Snakemake
or Nextflow that will take care of mounting filesystems into the container for you.
The OCI container image is available from the Docker Hub kblin/covid-spike-classification
repository.
Setup
You also need to generate the samtools and bowtie2 indices for your reference genome. We ship a copy of NC_045512 and a script to generate these indices:
conda activate csc
cd ref
./build_indices.sh
cd ..
Usage
Assuming you used above instructions to install via conda, you can run the tool like this:
conda activate csc
covid-spike-classification --reference /path/to/your/reference.fasta --outdir /path/to/result/dir /path/to/sanger/reads/dir_or.zip
Notably, you can provide the input either as a ZIP file or as a directory, as long as they directly contain the ab1 files you want to run the analysis on.
See also the --help output for more detailed usage information.
License
All code is available under the Apache License version 2, see the
LICENSE file for details.
Metadata
Release files for covid-spike-classification 0.6.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| covid-spike-classification-0.6.4.tar.gz | 11.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| covid_spike_classification-0.6.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.9 kB
Release files / covid-spike-classification-0.6.4.tar.gz
| Download URL | covid-spike-classification-0.6.4.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0cd3034fc7d82e8cab45c23430c96567e3bb28f2f5967beffc6bf90af527c375
|
|
BLAKE2b-256 checksum How to use checksums |
25c3ced90e39a71c5745abdd71f6869e22151222085303fcdf65863899a3310d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Release files / covid_spike_classification-0.6.4-py3-none-any.whl
| Download URL | covid_spike_classification-0.6.4-py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
74e97a74ec573d247ddf3f6ec9417486e0fb978e9afa66b66c743e6fee44781b
|
|
BLAKE2b-256 checksum How to use checksums |
d9cc5ad112f14a0e86644bd2619de3d17290e5b4f8f70905aac9e33b0f8d8216
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Security for covid-spike-classification 0.6.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.