A Python tool for interfacing with large variant databases and performing consensus genome operations.
Written by Benjamin Kaminow
The main ConsDB script can be run as follows:
cd consdb
python ConsDB.py <run mode> [arguments]
Where <run mode>
is one of the following:
Parse
- Parse database files into ConsDB filesFilter
- Filter a VCF file to remove major allelesMerge
- Merge multiple ConsDB filesCons
- Create a consensus VCF fileFA
- Create a consensus FASTA file
Arguments for each run mode can be viewed by passing -h
as the sole argument.
ConsDB utilizes an object oriented back-end, which can easily be incorporated into pipeline/scripts.
Documentation for this back-end is found in the docs
subfolder.