Mercurial > repos > iuc > ncbi_eutils_efetch
comparison egquery.py @ 6:2ff5369b4b51 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_eutils commit a4b0969b33a68a0ea9ba12291f6694aec24f13ed
| author | iuc |
|---|---|
| date | Tue, 30 Oct 2018 19:08:38 -0400 |
| parents | 1b4ac594d02a |
| children | b151cd22921f |
comparison
equal
deleted
inserted
replaced
| 5:e269b3b5185b | 6:2ff5369b4b51 |
|---|---|
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 from __future__ import print_function | |
| 3 | |
| 2 import argparse | 4 import argparse |
| 5 | |
| 3 import eutils | 6 import eutils |
| 4 | 7 |
| 5 | 8 |
| 6 if __name__ == '__main__': | 9 if __name__ == '__main__': |
| 7 parser = argparse.ArgumentParser(description='EGQuery', epilog='') | 10 parser = argparse.ArgumentParser(description='EGQuery', epilog='') |
| 15 | 18 |
| 16 payload = { | 19 payload = { |
| 17 'term': args.term, | 20 'term': args.term, |
| 18 } | 21 } |
| 19 results = c.gquery(**payload) | 22 results = c.gquery(**payload) |
| 20 print results | 23 print(results) |
