Mercurial > repos > earlhaminst > ensembl_get_sequences
comparison get_genetree.py @ 6:7af66c2b3831 draft default tip
"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:07:23 +0000 |
parents | 0fa1d1cc417d |
children |
comparison
equal
deleted
inserted
replaced
5:0fa1d1cc417d | 6:7af66c2b3831 |
---|---|
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' |