Sovereign 8s.is mirror of standardgalactic/CenStats
- Python 99.1%
- Makefile 0.9%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .github/workflows | ||
| censtats | ||
| test | ||
| .gitattributes | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| LICENSE | ||
| Makefile | ||
| pyproject.toml | ||
| README.md | ||
| requirements.txt | ||
CenStats
Centromere statistics toolkit.
length- Estimate HOR array length from
stvbed file andHumAS-HMMERoutput.
- Estimate HOR array length from
nonredundant- Get a non-redundant list of centromeres based on HOR array length from two AS-HOR array length lists. Uses output from
lengthcommand.
- Get a non-redundant list of centromeres based on HOR array length from two AS-HOR array length lists. Uses output from
entropy- Calculate Shannon index across a region from
RepeatMaskerrepeats.
- Calculate Shannon index across a region from
self-ident- Calculate 1D or 2D self-sequence average nucleotide identity via a k-mer-based containment index. Built from
ModDotPlot's source code.
- Calculate 1D or 2D self-sequence average nucleotide identity via a k-mer-based containment index. Built from
kmer-entropy- Calculate Shannon index from a fasta file across all windows and their kmer set.
Setup
pip install censtats
Usage
usage: censtats [-h] {length,nonredundant,entropy,self-ident,kmer-entropy} ...
Centromere statistics toolkit.
positional arguments:
{length,nonredundant,entropy,self-ident,kmer-entropy}
options:
-h, --help show this help message and exit
Read the docs here.
Build
make venv && make build && make install
source venv/bin/activate && censtats -h
To run tests:
source venv/bin/activate && pip install pytest
pytest -s -vv