Mercurial > repos > iuc > ncbi_eutils_einfo
diff elink.py @ 3:a90ab6aa1b8a draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_eutils commit 041f11d6eb83568deda382857b121274dffe9825
| author | iuc |
|---|---|
| date | Fri, 10 Jun 2016 14:48:45 -0400 |
| parents | 6a27397a8d55 |
| children | 78d557794b0d |
line wrap: on
line diff
--- a/elink.py Thu Apr 07 17:37:21 2016 -0400 +++ b/elink.py Fri Jun 10 14:48:45 2016 -0400 @@ -1,7 +1,8 @@ #!/usr/bin/env python import argparse +import json + import eutils -import json if __name__ == '__main__': @@ -9,8 +10,8 @@ parser.add_argument('db', help='Database to use, sometimes "none" (e.g. *check)') parser.add_argument('dbfrom', help='Database containing input UIDs') parser.add_argument('cmd', choices=['neighbor', 'neighbor_score', - 'neighbor_history', 'acheck', 'ncheck', 'lcheck', - 'llinks', 'llinkslib', 'prlinks'], + 'neighbor_history', 'acheck', 'ncheck', 'lcheck', + 'llinks', 'llinkslib', 'prlinks'], help='ELink command mode') # Only used in case of neighbor_history parser.add_argument('--history_out', type=argparse.FileType('w'),
