Plotting alternative allele fractions and identifying UPDs
This tool is a python streamlit app, and allows for quick and interactive exploration of panel or exome-vcf files.
Additionally, all deviations from expected distributions of ROHs and inheritance are flagged accordingly, to allow a reliable detection of potential UPD-patterns.
Publication:
altAFplotter: a web app for reliable UPD detection in NGS diagnostics
A public version of the plotter is available here.
Install python packages
pip install -r requirements.txt
Install additional tools needed:
In order to start the streamlit server, run
streamlit run main.py
and your are good to go.
sudo podman build --build-arg VERSION=${APP_VERSION} --tag ${APP_VERSION} .
Guidelines on how to use the altafplotter and interpretation of potential UPD findings can be found here.
We had en error in the guidelines and the sidebar description "Flagging criteria" in the app, where the cutoffs for the inheritance ratio for trios and duos were swapped. This is now corrected. The correct values are: trio:2, duo:5
We run a local version of this tool, that is integrated with our NGS-evaluation software Varvis and our LIMS Gepado.
In order to connect Varvis:
- activate the respective toggle in
settings/settings.py:toggle_varvis = True - add your varvis credentials to:
settings/credentials.py
You can build the docker container with:
sudo docker build --build-arg VERSION=${APP_VERSION} --tag ${APP_VERSION} .
and create the container with:
sudo docker create \
-it --restart always \
--privileged \
--volume log:/var/log \
--env-file docker/settings-test.env \
--cpus 2 \
--memory 2G \
-p 8880:8880 \
--name altafplotter \
altafplotter:{tag}
sudo docker run altafplotter