Mercurial > repos > earlhaminst > ensembl_get_sequences
diff get_feature_info.py @ 5:0fa1d1cc417d draft
"planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/Ensembl-REST commit ed32f2e6d8174873cefcbe141084f857f84b0586"
author | earlhaminst |
---|---|
date | Thu, 31 Oct 2019 07:50:07 -0400 |
parents | 3b686142e9c2 |
children | 7af66c2b3831 |
line wrap: on
line diff
--- a/get_feature_info.py Fri Apr 13 09:43:51 2018 -0400 +++ b/get_feature_info.py Thu Oct 31 07:50:07 2019 -0400 @@ -15,10 +15,6 @@ default='0', help='Expands the search to include any connected features. e.g. If the object is a gene, its transcripts, translations and exons will be returned as well.') -parser.add_option('-s', '--species', type='choice', - choices=['ensembl', 'ensemblgenomes'], default='ensembl', - help='Specify the genome databases for vertebrates and other eukaryotic species') - parser.add_option('-f', '--format', type='choice', choices=['full', 'condensed'], default='full', help='Specify the formats to emit from this endpoint') @@ -27,7 +23,7 @@ raise Exception('-i option must be specified') -server = 'http://rest.%s.org' % options.species +server = 'http://rest.ensembl.org' ext = 'lookup/id' headers = {'Content-Type': 'application/json', 'Accept': 'application/json'}