Keep track of genes, transcripts and exons from different sources
Project description
Schug
Schug :stew: is a service that gather data about genes, transcripts and exons from multiple sources and merge the information. There is a REST API with relevant endpoints.
Test the app using Docker
You can test Schug on your local computer using Docker. Make sure you have Docker installed and type the following commands in a terminal window:
git clone https://github.com/Clinical-Genomics/schug
cd schug
docker-compose up
Then the app endpoints should be listed available at the following address http://localhost:8000/docs
The command to stop the demo is docker-compose down
.
Installation (development)
Make sure poetry is installed
git clone https://github.com/Clinical-Genomics/schug
cd schug
poetry install
schug serve --reload
Go to http://localhost:8000/docs and check out the API.
Ready-to-use endpoints
Once having set up an instance of Schug, you can use the following endpoints:
-
/genes/ensembl_genes/
Downloads genes from Ensembl in text format. Specify a genome build by using the parameters
37
or38
.Usage:
curl -X 'GET' 'http://0.0.0.0:8000/genes/ensembl_genes/?build=38' > genes_GRCh38.txt
-
/transcripts/ensembl_transcripts/
Downloads gene transcripts from Ensembl in text format. Specify a genome build by using the parameters
37
or38
.Usage:
curl -X 'GET' 'http://0.0.0.0:8000/transcripts/ensembl_transcripts/?build=38' > transcripts_GRCh38.txt
-
/exons/ensembl_exons/
Downloads gene exons from Ensembl in text format. Specify a genome build by using the parameters
37
or38
.Usage:
curl -X 'GET' 'http://0.0.0.0:8000/exons/ensembl_exons/?build=38' > exons_GRCh38.txt
What is left to do?
The basic structure is outlined and implemented, however there are many details left to implement before this can be used. Some of the basic endpoints are in place but these need to be extended according to the needs of the users. Also the gene information needs to be completed, this will be done in a similar fashion as in Scout.
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
Built Distribution
File details
Details for the file schug-1.6.1.tar.gz
.
File metadata
- Download URL: schug-1.6.1.tar.gz
- Upload date:
- Size: 19.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.11.10 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf5db963e7ef8a3bf97fd5e7aacc0a1705de7177ff52a43154752ad67f80cf69 |
|
MD5 | 13b8d8e5c58b61b1b7492653dfe8e219 |
|
BLAKE2b-256 | a18b06c6180993884b8f6434b435b2a7a47035627711ee53c3c628ae8d0aa717 |
File details
Details for the file schug-1.6.1-py3-none-any.whl
.
File metadata
- Download URL: schug-1.6.1-py3-none-any.whl
- Upload date:
- Size: 27.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.11.10 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff20fe65006b3be1bcc48a7f28d5951267a261ec2eb8989ab1571f8751e82b61 |
|
MD5 | c1b4a5ba0667cbf22cd5d1ae4df63598 |
|
BLAKE2b-256 | 45540abe475b322e000243c2986d513599988bd195c6bf8573091dce43db05d7 |