Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexMikhalev/85ec3359bfe6274d0030e38aec353913 to your computer and use it in GitHub Desktop.
Save AlexMikhalev/85ec3359bfe6274d0030e38aec353913 to your computer and use it in GitHub Desktop.
Debug
```
redis-cli -c -p 30001 -h 127.0.0.1
127.0.0.1:30001> keys *
1) "processed_docs_stage1_para"
2) "sentence:PMC293432.xml:{06S}"
3) "sentence:PMC270701.xml:{06S}"
4) "edges_matched_{06S}"
5) "sentence:PMC222961.xml:{06S}"
6) "processed_docs_stage3{06S}"
7) "processed_docs_stage2_para{06S}"
8) "sentence:PMC125375.xml:{06S}"
9) "sentence:PMC136939.xml:{06S}"
10) "paragraphs:PMC222961.xml"
11) "paragraphs:PMC222911.xml"
12) "paragraphs:PMC125375.xml"
13) "sentence:PMC270703.xml:{06S}"
14) "paragraphs:PMC136939.xml"
15) "paragraphs:PMC293432.xml"
16) "paragraphs:PMC261870.xml"
17) "paragraphs:PMC270703.xml"
18) "sentence:PMC222911.xml:{06S}"
19) "sentence:PMC261870.xml:{06S}"
20) "paragraphs:PMC270701.xml"
127.0.0.1:30001> hget sentence:PMC222911.xml:{06S} 11
"The oligomerization and the change in conformation of viral spike proteins involve interactions between proteins segments"
127.0.0.1:30001> hget sentence:PMC222911.xml:{06S} 1
"A viral envelope protein mediates this membrane fusion process"
127.0.0.1:30001> hget sentence:PMC222911.xml:{06S} 2
"These proteins are synthesized as precursors eNV in rEtroviridae and e2 in Coronaviridae that are later processed into a trans membrane subunit gp41 in the retrovirus HIV 1 and s2 in the corona virus SARs nOv that is responsible for viral induced membrane fusion and a surface subunit that is responsible for the interaction with the cellular receptors"
127.0.0.1:30001> hget sentence:PMC222911.xml:{06S} 3
"HIV 1 gp41 which is a well characterized protein 1 2 contains two heptad repeat hR regions a leucine isoleucine hR adjacent to its A terminus a hR and a hR proximal to the trans membrane domain see Figure 1"
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment