Mercurial > repos > bgruening > uniprot_rest_interface
comparison uniprot.py @ 4:ed07130fb07c draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/uniprot_rest_interface commit 64c4336509437b9772df82a8b89046c9044b1ff5
| author | bgruening | 
|---|---|
| date | Tue, 14 Aug 2018 16:37:11 -0400 | 
| parents | 357dc1f016f5 | 
| children | 6e9fabe16b0c | 
   comparison
  equal
  deleted
  inserted
  replaced
| 3:61de5acfdd33 | 4:ed07130fb07c | 
|---|---|
| 11 import argparse | 11 import argparse | 
| 12 import sys | 12 import sys | 
| 13 | 13 | 
| 14 import requests | 14 import requests | 
| 15 | 15 | 
| 16 url = 'http://www.uniprot.org/' | 16 url = 'https://www.uniprot.org/' | 
| 17 | 17 | 
| 18 | 18 | 
| 19 def _retrieve(query, format='txt'): | 19 def _retrieve(query, format='txt'): | 
| 20 """_retrieve is not meant for use with the python interface, use `retrieve` | 20 """_retrieve is not meant for use with the python interface, use `retrieve` | 
| 21 instead""" | 21 instead""" | 
