Mercurial > repos > earlhaminst > ensembl_get_genetree
comparison get_genetree.py @ 6:0618e3bd5138 draft
"planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/Ensembl-REST commit 17c65045b726d0695814bfe761e534f6521786f1"
author | earlhaminst |
---|---|
date | Tue, 20 Oct 2020 15:06:37 +0000 |
parents | 675fd774314e |
children |
comparison
equal
deleted
inserted
replaced
5:675fd774314e | 6:0618e3bd5138 |
---|---|
29 help='The format of a NH (New Hampshire) request') | 29 help='The format of a NH (New Hampshire) request') |
30 options, args = parser.parse_args() | 30 options, args = parser.parse_args() |
31 if options.input is None: | 31 if options.input is None: |
32 raise Exception('-i option must be specified') | 32 raise Exception('-i option must be specified') |
33 | 33 |
34 server = 'http://rest.ensembl.org' | 34 server = 'https://rest.ensembl.org' |
35 | 35 |
36 if options.id_type == 'gene_id': | 36 if options.id_type == 'gene_id': |
37 ext = 'genetree/member/id' | 37 ext = 'genetree/member/id' |
38 elif options.id_type == 'gene_tree_id': | 38 elif options.id_type == 'gene_tree_id': |
39 ext = 'genetree/id' | 39 ext = 'genetree/id' |