https://github.com/j-e-j-s/get-uniprot
A Simple Python CLI that Grabs a Querie's Protein Sequence using the Uniprot API.
https://github.com/j-e-j-s/get-uniprot
bioinformatics cli python
Last synced: 7 months ago
JSON representation
A Simple Python CLI that Grabs a Querie's Protein Sequence using the Uniprot API.
- Host: GitHub
- URL: https://github.com/j-e-j-s/get-uniprot
- Owner: J-E-J-S
- License: other
- Created: 2021-04-09T15:13:10.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-12T11:28:51.000Z (almost 4 years ago)
- Last Synced: 2025-03-11T12:40:51.840Z (7 months ago)
- Topics: bioinformatics, cli, python
- Language: Python
- Homepage:
- Size: 518 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## Get-Uniprot: A Simple Python CLI for Grabbing Protein Sequences. 🧬

### Prerequisites:
- Python >=3.6### Quickstart:
```
pip install get-uniprot
```
### Usage:
```
Usage: uniprot [OPTIONS]Options:
-p, --protein TEXT Name of protein.
-g, --gene TEXT Name of gene.
-o, --organism TEXT Name of organism.
-f, --file Output sequence to .fasta file.
--help Show this message and exit.
```
e.g.
```
uniprot -p eEF1A -o 'S. cerevisiae' > eEF1A.fasta
```
### Output:
Command will output sequence to the shell and create a .fasta file in the current directory if -f supplied.
Otherwise can redirect to file (see example.)
Recommended: Use -f option if in Windows PowerShell, redirects will create abhorrently formatted .fasta sequences.