Git Product home page Git Product logo

gene-hints's Introduction

gene-hints

Discoverability for gene search

Gene Hints is a reusable UI component backed by genomic data. It makes gene search more discoverable by finding and showing interesting genes across the genome. Users can then click genes to search them.

Gene Hints complements existing gene search in any web application, and requires no backend to operate.

User interface

Show interesting genes by default

A curated set of human gene hints shows genes of interest to search, letting users discover genomic landmarks at a glance. Gene Hints

Tooltips give more context

Hover over the ACE2 gene to see its significance. COVID-19 virus enters cells through the ACE2 protein. Gene Hints, ACE2 tooltip

Hints for downstream exploration

Click ACE2 to search it, then see similar or interacting genes. Gene Hints, ACE2 related genes

Adapt to new genomic context

A tooltip for a related gene, AGT, shows the pathway in which it interacts with the searched gene. Gene Hints, ACE2 relate gene AGT tooltip

Support for multiple species

Gene Hints also works for mouse and rat. A tooltip shows significance and citation counts for Lepr, a popular mouse gene. Gene Hints, mouse LEPR gene tooltip

gene-hints's People

Contributors

andy7i avatar eweitz avatar gabelmattos avatar github-actions[bot] avatar marianie-simeon avatar marianneray avatar raejohanek avatar snwessel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gene-hints's Issues

Automate daily updates for PubMed citation count trends

Wikipedia page view trends for human genes are updated each day, and written to data/homo-sapiens-wikipedia-trends.tsv. However, the UI ultimately fetches data/homo-sapiens-gene-details.tsv, which contains both those trends and PubMed citation count trends.

To get daily updates for data used by the UI, we first need to automate daily updates for PubMed trends.

The code to produce PubMed trends is in /creating_citation_counts_tsv. Use GitHub Actions to run that code to produce daily updates for PubMed trends data. It might help to create a script that wraps those various shell and Python files, then call the wrapper from GitHub Actions.

Use SPARQL to get Wikipedia article title given gene ID

Wikidata — a project related to Wikipedia — has a service that would allow us to get Wikipedia page title given the gene symbol. It uses a powerful but little-known query language called SPARQL. This would allow us to robustly and quickly determine Wikipedia article names from our known gene data, which is important for getting Wikipedia page view trends for those genes.

Tasks:

Fix GitHub Actions failure

Gene Hints updates popularity data each day via GitHub Actions workflow. The workflow fails like so:

100%|██████████| 180/180 [05:35<00:00,  1.87s/it]
100%|██████████| 180/180 [05:35<00:00,  1.87s/it]/home/runner/work/_temp/3996971a-eb39-4aaf-91b7-d4ed401873fb.sh: line 1:  1619 Killed                  python gene_hints/gene_hints.py
Output to: ./pubmed_citations/data/tmp/prev_timeframe/2021_01_20.tsv
Error: Process completed with exit code 137.

Another discussion of this error indicates the cause:

Exit code 137 = Out of memory. Therefore I guess your implementation makes the runner (ou docker container) runs out of memory.

Refine the Gene Hints pipeline so GitHub Actions workflows reliably succeed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.