Mercurial > repos > bgruening > uniprot_rest_interface
comparison uniprot.py @ 4:144e9558d3fd 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:28 -0400 |
| parents | cd2a41c65447 |
| children | f7ebd1b4783b |
comparison
equal
deleted
inserted
replaced
| 3:df4c547b2533 | 4:144e9558d3fd |
|---|---|
| 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""" |
