Skip to main content

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 or 38.

    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 or 38.

    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 or 38.

    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

schug-1.7.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

schug-1.7-py3-none-any.whl (27.9 kB view details)

Uploaded Python 3

File details

Details for the file schug-1.7.tar.gz.

File metadata

  • Download URL: schug-1.7.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.11.11 Linux/6.5.0-1025-azure

File hashes

Hashes for schug-1.7.tar.gz
Algorithm Hash digest
SHA256 226850d912326512c62a76e8cca67973688125133e02b4247eea2f6c9732a2cc
MD5 f42ab8c06c4f40a875241724d96d65f3
BLAKE2b-256 757c8fefc7b3140d650c5a4a4fa05aa6d51ac3721d408fa6f38664415fb3b0dd

See more details on using hashes here.

File details

Details for the file schug-1.7-py3-none-any.whl.

File metadata

  • Download URL: schug-1.7-py3-none-any.whl
  • Upload date:
  • Size: 27.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.11.11 Linux/6.5.0-1025-azure

File hashes

Hashes for schug-1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 449ac5913f08c1f4c31090aaaac68b511799a7cf19b9f1c96ab12348f4b8707f
MD5 41fa13c35a5e998d2955afb359cb797b
BLAKE2b-256 bae21937d55fb8f50daa04facf36aa088b6082d5efc2c379e8470acfccf9dbf2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page