Skip to content

A Simple Python CLI that Grabs a Querie's Protein Sequence using the Uniprot API.

License

Notifications You must be signed in to change notification settings

J-E-J-S/get-uniprot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Simple Python CLI that Grabs a Querie's Protein Sequence using the Uniprot API.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages