An unofficial client for uniprot.
Project description
uniprot-cli
- An Unofficial client for Uniprot
uniprot-cli
is an Unofficial client for the Uniprot protein database
written in python.
This project is still in its early stages under heavy development.
Do not expect this to work properly until v1.0.0
.
Installation
Installation is done with pip
:
pip install uniprot-cli
Usage
uniprot-cli
has two modes of usage, an interactive-mode and a cli-mode.
The interactive-mode can be invoked by simply running:
uniprot-cli
And the user will be prompted for relevant input, step by step.
The cli-mode is used by passing arguments to uniprot-cli
in the terminal:
Example:
uniprot-cli -q B5ZC00
This will cause uniprot-cli
to skip interactive prompts and query Uniprot directly.
Arguments
The following arguments can be passed to uniprot-cli
in cli-mode:
Argument | Type | Default | Explaination |
---|---|---|---|
-q , --query |
str |
None |
Query string. |
-m , --multiple |
bool |
False |
Query multiple results. |
-f , --format |
str |
'fasta' |
Data format for query result. |
-d , --dataset |
str |
'uniprotkb' |
Data set on Uniprot. |
-n , --nosave |
bool |
False |
Don't save the result. |
-v , --version |
N/A | N/A | Print version. |
-h , --help |
N/A | N/A | Print help and usage information. |
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.
Source Distribution
Built Distribution
Hashes for uniprot_cli-0.3.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f67b9219ff2dca9970d4d0fba04b74c5f188a941009380444cf65c0d350ea07f |
|
MD5 | a5261c5d3e717a3fc42308a5e3685aca |
|
BLAKE2b-256 | 708a7467bae578016979bda5e326653eec51094876ce65efaf0cf948cb2d1c8e |