Previous changeset 2:e1abc9a35c64 (2016-12-16) Next changeset 4:12692567c7f9 (2021-06-01) |
Commit message:
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/uniprotxml_downloader commit 6aac77a68426533c8c18c9f6aabd2df56a82de24 |
modified:
uniprotxml_downloader.py uniprotxml_downloader.xml |
b |
diff -r e1abc9a35c64 -r 1a5690a5eedc uniprotxml_downloader.py --- a/uniprotxml_downloader.py Fri Dec 16 17:33:05 2016 -0500 +++ b/uniprotxml_downloader.py Tue Jul 02 21:46:14 2019 -0400 |
[ |
@@ -25,8 +25,8 @@ parser.add_option('-c', '--column', dest='column', type='int', default=0, help='The column (zero-based) in the tabular file that contains Taxon IDs' ) parser.add_option('-t', '--taxon', dest='taxon', action='append', default=[], help='NCBI taxon ID to download') parser.add_option('-r', '--reviewed', dest='reviewed', help='Only uniprot reviewed entries') - parser.add_option('-f', '--format', dest='format', choices=['xml', 'fasta'], default='xml',help='output format') - parser.add_option('-o', '--output', dest='output', help='file path for th downloaed uniprot xml') + parser.add_option('-f', '--format', dest='format', choices=['xml', 'fasta'], default='xml', help='output format') + parser.add_option('-o', '--output', dest='output', help='file path for the downloaded uniprot xml') parser.add_option('-v', '--verbose', dest='verbose', action='store_true', default=False, help='Print UniProt Info') parser.add_option('-d', '--debug', dest='debug', action='store_true', default=False, help='Turn on wrapper debugging to stderr') (options, args) = parser.parse_args() @@ -51,7 +51,7 @@ try: def reporthook(n1,n2,n3): pass - url = 'http://www.uniprot.org/uniprot/' + url = 'https://www.uniprot.org/uniprot/' query = "%s%s" % (taxon_query, reviewed) params = {'query' : query, 'force' : 'yes' , 'format' : options.format} if options.debug: |
b |
diff -r e1abc9a35c64 -r 1a5690a5eedc uniprotxml_downloader.xml --- a/uniprotxml_downloader.xml Fri Dec 16 17:33:05 2016 -0500 +++ b/uniprotxml_downloader.xml Tue Jul 02 21:46:14 2019 -0400 |
b |
@@ -1,4 +1,4 @@ -<tool id="uniprotxml_downloader" name="UniProt" version="2.0.0"> +<tool id="uniprotxml_downloader" name="UniProt" version="2.1.0"> <description>download proteome as XML or fasta</description> <requirements> <requirement type="package" version="2.7">python</requirement> |