Mercurial > repos > iuc > ncbi_eutils_efetch
diff elink.py @ 3:aa88712a7536 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:49:12 -0400 |
| parents | 1b4ac594d02a |
| children | 2ff5369b4b51 |
line wrap: on
line diff
--- a/elink.py Thu Apr 07 17:36:34 2016 -0400 +++ b/elink.py Fri Jun 10 14:49:12 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'),
