Skip to content

Instantly share code, notes, and snippets.

View gaurav's full-sized avatar

Gaurav Vaidya gaurav

View GitHub Profile

Keybase proof

I hereby claim:

  • I am gaurav on github.
  • I am mrvaidya (https://keybase.io/mrvaidya) on keybase.
  • I have a public key ASAvem26jsIZR6NjpVs9WeJv0Pz7wwYK1cOBUVhqIVSwtAo

To claim this, I am signing this object:

@gaurav
gaurav / commands.sh
Last active January 14, 2022 06:41
Some sample data demonstrating https://github.com/svjan5/medtype/issues/14
# Commands used to generate the other two files
head -n 70 medmentions.json | tail -n 1 > medmentions-line-70.json
head -n 2 pubmed_ds/split_0.txt | tail -n 1 > pubmed-line-2.json
@gaurav
gaurav / request-from-babel.sparql
Created March 1, 2022 20:56
Code to replicate error on Ubergraph
prefix owl: <http://www.w3.org/2002/07/owl#>
prefix oboInOwl: <http://www.geneontology.org/formats/oboInOwl#>
SELECT ?cls ?pred ?val
from <http://reasoner.renci.org/ontology>
WHERE
{ ?cls ?pred ?val ;
a owl:Class .
FILTER (
?pred = oboInOwl:hasRelatedSynonym ||
@gaurav
gaurav / PMID_7837719-2022nov8.json
Last active November 8, 2022 15:00
token_classification+nemo outputs as of 2022nov8
{
"text": "[Time-course of adenosine deaminase activity in the cerebrospinal fluid in patients with tuberculous meningitis].\nThe level of adenosine deaminase (ADA) activity in the cerebrospinal fluid is used as a supportive diagnostic measure for tuberculous meningitis. However the time-course of adenosine deaminase activity of the cerebrospinal fluid in patients with tuberculous meningitis remains unknown. The present study describes 4 patients with tuberculous meningitis in whom ADA activity in the cerebrospinal fluid was serially determined in order to clarify the effects of anti-tuberculous chemotherapy on ADA activity in the cerebrospinal fluid. In two of these patients the ADA did not show a high activity in the early stage of the disease. But in all cases the ADA showed a high activity after all, and gradually declined and reached the normal level at approximately 1 month after the initiation of chemotherapy. It seems that the decrease in the ADA activity was seen when T cells in the cerebrospinal f