Skip to content
/ RatsPub Public

Using PubMed to find out how a gene contributes to addiction.

License

Notifications You must be signed in to change notification settings

chen42/RatsPub

Repository files navigation

RatsPub will be continued on as GeneCup. No further udpate will be made here.

RatsPub: Relationship with Addiction Through Searches of PubMed

URL: http://rats.pub

Manuscript: BioRxiv

RatsPub searches PubMed to find sentences that contain the query terms (e.g., gene symbols) and a drug addiction related keyword. Over 300 of these keywords are organized into six categories:

  • names of abused drugs, e.g., opioids
  • terms describing addiction, e.g., relapse
  • key brain regions implicated in addiction, e.g., ventral striatum
  • neurotrasmission, e.g., dopaminergic
  • synaptic plasticity, e.g., long term potentiation
  • intracellular signaling, e.g., phosphorylation

Live searches are conducted through PubMed to get relevant PMIDs, which are then used to retrieve the abstracts from a local archive. The relationships are presented as an interactive cytoscape graph. The nodes can be moved around to better reveal the connections. Clicking on the links will bring up the corresponding sentences in a new browser window. Stress related sentences are further classified into either systemic or cellular stress using a convolutional neural network.

Top addiction related genes

  1. extract gene symbol, alias and name from NCBI gene_info for taxid 9606.
  2. search PubMed to get a count of these names/alias, with addiction keywords and drug name
  3. sort the genes with top counts, retrieve the abstracts and extract sentences with the 1) symbols and alias and 2) one of the keywords. manually check if there are stop words need to be removed.
  4. sort the genes based on the number of abstracts with useful sentences.
  5. generate the final list, include symbol, alias, and name

dependencies

  • local copy of PubMed
  • python == 3.6 (because we are using tensorflow 1.9.0)
  • see requirements.txt for list of packages and versions

Mini PubMed for testing

For testing or code development, it is useful to have a small collection of PubMed abstracts in the same format as the local PubMed mirror. We provid 2473 abstracts that can be used to test four gene symbols (gria1, crhr1, drd2, and penk).

  1. install edirect (make sure you refresh your shell after install so the PATH is updated)
  2. unpack the minipubmed.tgz file
  3. test the installation by running:
cd minipubmed
cat pmid.list |fetch-PubMed  -path PubMed/Archive/ >test.xml

You should see 2473 abstracts in the test.xml file.

planned

  • NLP analysis of the sentences (topic modeling, ranking, etc.)