Interactive VCF filtering tool
Project description
SNPSnip - Interactive VCF Filtering Tool
SNPSnip is a command-line tool with an interactive web interface for filtering VCF files in multiple stages.
Prerequisites
- Python 3.8 or higher
- bcftools must be installed and available in your PATH
Install from source
pip install git+https://github.com/gekkonid/snpsnip.git
Usage
Basic usage:
snpsnip --output-dir filtered_results --vcf input.vcf.gz --maf 0.05 --max-missing 0.1 --min-qual 30
If you need, you can change the web server settings:
snpsnip --vcf input.vcf.gz --host 0.0.0.0 --port 8080
Workflow
- Initial Processing: SNPSnip extracts a random subset of SNPs passing basic filters.
- Sample Filtering: The web UI allows you to filter samples based on quality metrics and PCA clustering.
- Variant Filtering: For each sample group, set filtering thresholds for various metrics.
- Final Processing: The tool applies your filters to the full VCF file to generate filtered outputs.
License
MPL2
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
snpsnip-0.0.2.tar.gz
(23.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
snpsnip-0.0.2-py3-none-any.whl
(22.5 kB
view details)
File details
Details for the file snpsnip-0.0.2.tar.gz.
File metadata
- Download URL: snpsnip-0.0.2.tar.gz
- Upload date:
- Size: 23.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7e7b0406bd7adbe803ad0a4b06b7eb747672a0277bf2b38c12436189b2834e8
|
|
| MD5 |
7c5eb2f7521c177333579ce037dc5395
|
|
| BLAKE2b-256 |
2fe03e44bd5e7925c534d072baede28b7f2ac4e74b8eeffde5f48ed91ca2ef6b
|
File details
Details for the file snpsnip-0.0.2-py3-none-any.whl.
File metadata
- Download URL: snpsnip-0.0.2-py3-none-any.whl
- Upload date:
- Size: 22.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
664e113f54094dea1c407788176f8a2b087bd36830ace810913ea546d54b3c5a
|
|
| MD5 |
2313535886ca821715c2c67bccca865b
|
|
| BLAKE2b-256 |
80c18ce761368259e046cfe45f8ff538c9baab16dcd7a3b935f9d2261eb639dd
|