A package to judge whether a EBI code correspond to a sentence
Project description
leen
A package to judge whether a EBI code correspond to a sentence
Requirements
- torch 8
- Python >= 3.5
Installation
You can use pip to install our package, similar to other packages
pip3 install leen
import leen.test as le le.same(EBI-id, sentence) #note that both parameters should be enclosed in quotations when typing pure string le.description(EBI-id) #also, EBI-id should be quotated
Usage
-
description(EBI-id)
- a fuction getting the description corresponding to idcode
- input:str EBI-id
- return:str description
-
same(EBI-id, sentence)
- a function judging whether a EBI-id correspond to a description,return True/False
- input:str idcode,str sentence
- output:bool True/False
Note
- parameters should be enclosed in quotations when typing pure string
torch 8
is Indispensable when using our package
FAQ
-
What is
EBI-id
in the description ofusage
above?- It is the accession number of the interaction in the IntAct database.
-
How can I contribute to the project?
- Our project is on "https://gitlab.com/BioAI/leen" ,your contribution is highly appreciated.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size leen-0.0.1-py3-none-any.whl (4.2 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |