Evoker Lite is a python tool to generate cluster plots (PNG/PDF files) given a set of PLINK + intensity files. It is Lite in the sense that the original Evoker is a Java program which allows for interactive plotting (zooming, panning) and also selection and reassignment of calls.
The current release of this tool has been designed to work with v2 of the UK Biobank data. For example, to generate cluster plots for each of the rsid's named in rsid_list.txt
and over all of the batches:
evoker-lite \
--ukb \
--data /ukbiobank/release/Genotypes/ \
--fam ~/ukb1234_cal_v2_s488377.fam \
--output ~/plots/ \
--rsids ~/rsid_list.txt
Once complete the directory ~/plots/
, in this example, will contain subdirectories for each rsid and within these a PNG for each batch.
Note The original Evoker is presently being developed to allow viewing/call reassignment of UK Biobank data.
--ukb flag to indicate data is in UKBiobank format
-d, --data directory of PLINK/intensity data
-f, --fam location of the fam file if not in the directory specified with -d/--data
-o, --output directory to save plots
-r RSIDS, --rsids text file with rsids to create cluster plots from
--no-transform [UK Biobank] flag to not use contrast/strength coordinates
--snp-posterior [UK Biobank] flag to plot SNP Posterior
- Python 2/3
- numpy
- scipy
- matplotlib
The quickest and easiest way to install all of these is via miniconda or anaconda.
pip install git+git://github.com/dlrice/evoker-lite.git --user
conda install numpy scipy matplotlib
git clone https://github.com/dlrice/evoker-lite.git
cd evoker-lite
python -m evokerlite -d mock -r mock/mock.txt