# Copy number genotyping from scRNA sequencing
[](https://travis-ci.org/Militeee/congas) [](https://codecov.io/gh/Militeee/congas)
A set of Pyro models and functions to infer CNA from scRNA-seq data. It comes with a companion [R package](https://github.com/caravagnalab/rcongas) that works as an interface and provides preprocessing, simulation and visualization routines. We suggest to use the R package directly as this serves mosttly as a backend for computations.
Currently providing:
A mixture model on segments where CNV are modelled as LogNormal random variable (MixtureGaussian)
A mixture model on segments where CNV are modelled as Categorical random variable (MixtureCategorical)
A simple Hmm where CNVs are again categorical, but there is no clustering (SimpleHmm)
To install:
$ pip install congas
To run a simple analysis on the example data
`python import congas as cn from congas.models import MixtureGaussian data_dict = cn.simulation_data params, loss = cn.run_analysis(data_dict,MixtureGaussian, steps=200, lr=0.05) `
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file congas_old-0.0.4.tar.gz.
File metadata
- Download URL: congas_old-0.0.4.tar.gz
- Upload date:
- Size: 78.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72e180ed65dfe47b4e3386c06c171309995eb6c455df8f3478a45b791143708d
|
|
| MD5 |
42f1238b24e608c0e463f45b3b1a1acf
|
|
| BLAKE2b-256 |
18ebc9dbf72b3ab16aea861a45bb9279f820498c696b23f2c334a3f5498bd4cc
|