Mercurial > repos > iuc > ncbi_eutils_egquery
diff elink.py @ 3:3ebc86b520d7 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:52 -0400 |
| parents | 22fed2340d2b |
| children | 2d54a753d1f1 |
line wrap: on
line diff
--- a/elink.py Thu Apr 07 17:36:58 2016 -0400 +++ b/elink.py Fri Jun 10 14:48:52 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'),
