drug-database
Command line interface for getting info about drugs
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.5%) to scientific vocabulary
Repository
Command line interface for getting info about drugs
Basic Info
- Host: GitHub
- Owner: ComputationalPhysiology
- License: mit
- Language: Python
- Default Branch: main
- Homepage: https://computationalphysiology.github.io/drug-database/
- Size: 46.9 KB
Statistics
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
- Releases: 1
Metadata Files
README.md
Drug database
Simple command line interface for getting scaling factors for different drugs
- Documentation: https://ComputationalPhysiology.github.io/drug-database/
- Source code: https://github.com/ComputationalPhysiology/drug-database
Install
$ python -m pip install drug-database
Once installed you will get access to the drug-db command.
Usage
Get help using
$ drug-db --help
List all available drugs
$ drug-db list-drugs
Drugs
┏━━━━━━━━━━━━━━━━┓
┃ Name ┃
┡━━━━━━━━━━━━━━━━┩
│ Sotalol │
│ Azimilide │
│ Ibutilide │
│ Risperidone │
│ Clarithromycin │
│ Terfenadine │
│ Bepridil │
│ Pimozide │
│ Dofetilide │
│ Disopyramide │
│ Cisapride │
│ Tamoxifen │
│ Vandetanib │
│ Metropolol │
│ Droperidol │
│ Loratadine │
│ Ranolazine │
│ Quinidine │
│ Diltiazem │
│ Astemizole │
│ Nitrendipine │
│ Chlorpromazine │
│ Clozapine │
│ Control │
│ Nifedipine │
│ Verapamil │
│ Domperidone │
│ Ondansetron │
│ Mexiletine │
└────────────────┘
Showing information about specific drug
$ drug-db show-drug Verapamil
Scaling factors for drug
Verapamil and FPC 1
┏━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┓
┃ Name ┃ Value ┃
┡━━━━━━━━━━━━━━━━━━━╇━━━━━━━━┩
│ scale_drug_INa │ 1.0 │
│ scale_drug_INaL │ 1.0 │
│ scale_drug_Ito │ 1.0 │
│ scale_drug_ICaL │ 0.7342 │
│ scale_drug_IKr │ 0.8815 │
│ scale_drug_IKs │ 1.0 │
│ scale_drug_IK1 │ 1.0 │
│ scale_drug_IKb │ 1.0 │
│ scale_drug_INab │ 1.0 │
│ scale_drug_ICab │ 1.0 │
│ scale_drug_IpCa │ 1.0 │
│ scale_drug_Isacns │ 1.0 │
│ scale_drug_Isack │ 1.0 │
└───────────────────┴────────┘
Note that this is showing the values that are 1 times FPC (FIXME: explain what this means). If you want to get the values for 5 times FPC the you can do
$ drug-db show-drug Verapamil --fpc 5
Scaling factors for drug
Verapamil and FPC 5
┏━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┓
┃ Name ┃ Value ┃
┡━━━━━━━━━━━━━━━━━━━╇━━━━━━━━┩
│ scale_drug_INa │ 1.0 │
│ scale_drug_INaL │ 0.9997 │
│ scale_drug_Ito │ 1.0 │
│ scale_drug_ICaL │ 0.3199 │
│ scale_drug_IKr │ 0.5588 │
│ scale_drug_IKs │ 1.0 │
│ scale_drug_IK1 │ 1.0 │
│ scale_drug_IKb │ 1.0 │
│ scale_drug_INab │ 1.0 │
│ scale_drug_ICab │ 1.0 │
│ scale_drug_IpCa │ 1.0 │
│ scale_drug_Isacns │ 1.0 │
│ scale_drug_Isack │ 1.0 │
└───────────────────┴────────┘
json support
By default the tables are displayed in a Rich table, however sometimes you might want to use these values in another program in which you can convert the values to json by using the --json flag, e.g
$ drug-db show-drug Verapamil --fpc 5 --json
{"scale_drug_INa": 1.0, "scale_drug_INaL": 0.9997, "scale_drug_Ito": 1.0, "scale_drug_ICaL": 0.3199, "scale_drug_IKr": 0.5588, "scale_drug_IKs": 1.0, "scale_drug_IK1": 1.0, "scale_drug_IKb": 1.0,
"scale_drug_INab": 1.0, "scale_drug_ICab": 1.0, "scale_drug_IpCa": 1.0, "scale_drug_Isacns": 1.0, "scale_drug_Isack": 1.0}
You can also save this to a file using e.g
$ drug-db show-drug Verapamil --fpc 5 --json > verapamil_5.json
License
MIT
Author
Henrik Finsberg (henriknf@simula.no)
Owner
- Name: Computational Physiology at Simula Research Laboratory
- Login: ComputationalPhysiology
- Kind: organization
- Location: Fornebu, Norway
- Website: https://computationalphysiology.github.io
- Repositories: 51
- Profile: https://github.com/ComputationalPhysiology
GitHub organization for the computational physiology department at Simula Research Laboratory
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - family-names: "Finsberg" given-names: "Henrik" title: "drug-database" version: "0.1.0" date-released: 2022-12-07
GitHub Events
Total
Last Year
Committers
Last synced: 10 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Henrik Finsberg | h****g@h****m | 16 |
Issues and Pull Requests
Last synced: 8 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 15 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 3
- Total maintainers: 1
pypi.org: drug-database
Tool for getting scaling factors from different drugs
- Documentation: https://drug-database.readthedocs.io/
- License: Copyright 2022 Henrik Finsberg Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
Latest release: 0.1.3
published over 3 years ago
Rankings
Maintainers (1)
Dependencies
- actions/checkout v3 composite
- actions/configure-pages v2 composite
- actions/deploy-pages v1 composite
- actions/setup-python v4 composite
- actions/upload-pages-artifact v1 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/upload-artifact v3 composite
- pypa/gh-action-pypi-publish master composite
- actions/checkout v3 composite
- actions/setup-python v3 composite
- pre-commit/action v3.0.0 composite