The following docker commands make use of curated bioinformatics tools created by the State Public Health Bioinformatics Community (StaPH-B).
docker run --rm -v ${PWD}:/data staphb/bcftools bcftools query -l <my_file>| # SOURCE AND CREDITS: https://github.com/chrishah/samtools-docker/blob/master/Dockerfile | |
| FROM alpine:latest | |
| LABEL version="v1.0" description="A docekr image for the Pharmacogenetics ANalysis Pipeline" maintainer="Graeme Ford <Graeme.Ford@tuks.co.za>" | |
| RUN apk update && apk upgrade | |
| # Install python/pip | |
| ENV PYTHONUNBUFFERED=1 | |
| RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python |
This work is licensed under a Creative Commons Attribution 4.0 International License.
| from ensembl_rest import overlap_region, overlap_translation, sequence_id | |
| def get_transcript(start: int, stop: int, chr: int) -> str: | |
| response = overlap_region( | |
| species="homo_sapiens", | |
| region=f"{chr}:{start}-{stop}", | |
| params={"feature": "transcript"}, | |
| ) |