annotate __efetch_build_options.py @ 2:df0df73c8bda draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 1bd7defa5ac7ea1e619c519d719f5bd10452339b
author iuc
date Sat, 18 May 2024 20:23:10 +0000
parents c66f2400ecf8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
1 #!/usr/bin/env python
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
2
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
3 # Daniel Blankenberg
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
4 # Creates the options for tool interface
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
5
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
6 # http://eutils.ncbi.nlm.nih.gov/entrez/eutils/einfo.fcgi
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
7 db_list = '''<DbName>pubmed</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
8 <DbName>protein</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
9 <DbName>nuccore</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
10 <DbName>nucleotide</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
11 <DbName>nucgss</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
12 <DbName>nucest</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
13 <DbName>structure</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
14 <DbName>genome</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
15 <DbName>annotinfo</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
16 <DbName>assembly</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
17 <DbName>bioproject</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
18 <DbName>biosample</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
19 <DbName>blastdbinfo</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
20 <DbName>books</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
21 <DbName>cdd</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
22 <DbName>clinvar</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
23 <DbName>clone</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
24 <DbName>gap</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
25 <DbName>gapplus</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
26 <DbName>grasp</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
27 <DbName>dbvar</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
28 <DbName>gene</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
29 <DbName>gds</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
30 <DbName>geoprofiles</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
31 <DbName>homologene</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
32 <DbName>medgen</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
33 <DbName>mesh</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
34 <DbName>ncbisearch</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
35 <DbName>nlmcatalog</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
36 <DbName>omim</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
37 <DbName>orgtrack</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
38 <DbName>pmc</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
39 <DbName>popset</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
40 <DbName>probe</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
41 <DbName>proteinclusters</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
42 <DbName>pcassay</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
43 <DbName>biosystems</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
44 <DbName>pccompound</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
45 <DbName>pcsubstance</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
46 <DbName>pubmedhealth</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
47 <DbName>seqannot</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
48 <DbName>snp</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
49 <DbName>sra</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
50 <DbName>taxonomy</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
51 <DbName>unigene</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
52 <DbName>gencoll</DbName>
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
53 <DbName>gtr</DbName>'''.replace("<DbName>", "").replace("</DbName>", "").split("\n")
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
54
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
55
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
56 help = ''' (all)
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
57 docsum DocumentSummarySet XML
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
58 docsum json DocumentSummarySet JSON
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
59 full Same as native except for mesh
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
60 uid Unique Identifier List
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
61 url Entrez URL
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
62 xml Same as -format full -mode xml
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
63
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
64 bioproject
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
65 native BioProject Report
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
66 native xml RecordSet XML
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
67
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
68 biosample
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
69 native BioSample Report
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
70 native xml BioSampleSet XML
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
71
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
72 biosystems
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
73 native xml Sys-set XML
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
74
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
75 gds
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
76 native xml RecordSet XML
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
77 summary Summary
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
78
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
79 gene
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
80 gene_table Gene Table
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
81 native Gene Report
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
82 native asn.1 Entrezgene ASN.1
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
83 native xml Entrezgene-Set XML
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
84 tabular Tabular Report
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
85
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
86 homologene
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
87 alignmentscores Alignment Scores
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
88 fasta FASTA
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
89 homologene Homologene Report
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
90 native Homologene List
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
91 native asn.1 HG-Entry ASN.1
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
92 native xml Entrez-Homologene-Set XML
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
93
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
94 mesh
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
95 full Full Record
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
96 native MeSH Report
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
97 native xml RecordSet XML
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
98
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
99 nlmcatalog
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
100 native Full Record
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
101 native xml NLMCatalogRecordSet XML
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
102
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
103 pmc
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
104 medline MEDLINE
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
105 native xml pmc-articleset XML
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
106
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
107 pubmed
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
108 abstract Abstract
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
109 medline MEDLINE
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
110 native asn.1 Pubmed-entry ASN.1
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
111 native xml PubmedArticleSet XML
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
112
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
113 (sequences)
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
114 acc Accession Number
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
115 est EST Report
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
116 fasta FASTA
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
117 fasta xml TinySeq XML
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
118 fasta_cds_aa FASTA of CDS Products
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
119 fasta_cds_na FASTA of Coding Regions
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
120 ft Feature Table
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
121 gb GenBank Flatfile
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
122 gb xml GBSet XML
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
123 gbc xml INSDSet XML
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
124 gbwithparts GenBank with Contig Sequences
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
125 gene_fasta FASTA of Gene
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
126 gp GenPept Flatfile
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
127 gp xml GBSet XML
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
128 gpc xml INSDSet XML
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
129 gss GSS Report
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
130 ipg Identical Protein Report
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
131 ipg xml IPGReportSet XML
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
132 native text Seq-entry ASN.1
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
133 native xml Bioseq-set XML
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
134 seqid Seq-id ASN.1
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
135
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
136 snp
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
137 chr Chromosome Report
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
138 docset Summary
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
139 fasta FASTA
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
140 flt Flat File
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
141 native asn.1 Rs ASN.1
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
142 native xml ExchangeSet XML
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
143 rsr RS Cluster Report
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
144 ssexemplar SS Exemplar List
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
145
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
146 sra
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
147 native xml EXPERIMENT_PACKAGE_SET XML
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
148 runinfo xml SraRunInfo XML
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
149
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
150 structure
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
151 mmdb Ncbi-mime-asn1 strucseq ASN.1
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
152 native MMDB Report
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
153 native xml RecordSet XML
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
154
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
155 taxonomy
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
156 native Taxonomy List
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
157 native xml TaxaSet XML'''.split("\n")
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
158
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
159 db = {}
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
160 name = None
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
161 all = "(all)"
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
162 for line in help:
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
163 if line.strip() and line[2] != ' ':
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
164 name = line.strip()
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
165 db[name] = {}
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
166 elif line.strip():
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
167 format = line[0:len(" docsum ")].strip()
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
168 mode = line[len(" docsum "):len(" docsum json ")].strip()
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
169 if format not in db[name]:
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
170 db[name][format] = []
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
171 db[name][format].append(mode)
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
172
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
173 for name in db_list:
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
174 if name not in db:
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
175 db[name] = {}
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
176
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
177 db["sequences"] = db["(sequences)"]
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
178 del db["(sequences)"]
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
179
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
180 print('<conditional name="db">')
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
181 print(' <param name="db" type="select" label="Database" argument="-db">')
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
182 for name in sorted(db.keys()):
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
183 if name == all:
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
184 continue
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
185 print(' <option value="%s">%s</option>' % (name, name))
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
186 print(' <option value="">Manual Entry</option>')
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
187 print(' </param>')
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
188
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
189 for name in sorted(db.keys()):
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
190 if name == all:
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
191 continue
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
192 my_dict = db[all].copy()
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
193
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
194 for format, modes in db[name].items():
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
195 if format in my_dict:
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
196 for mode in modes:
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
197 if mode not in my_dict[format]:
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
198 my_dict[format].append(mode)
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
199 else:
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
200 my_dict[format] = modes
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
201 if "" not in my_dict:
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
202 my_dict[""] = [""]
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
203 print(' <when value="%s">' % name)
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
204 print(' <conditional name="format">')
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
205 print(' <param name="format" type="select" label="Format" argument="-format">')
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
206 for format in sorted(my_dict.keys()):
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
207 print(' <option value="%s">%s</option>' % (format, format or "None"))
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
208 print(' </param>')
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
209 for format in sorted(my_dict.keys()):
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
210 print(' <when value="%s">' % format)
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
211 print(' <param name="mode" type="select" label="Mode" argument="-mode">')
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
212 if "" not in my_dict[format]:
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
213 my_dict[format].append("")
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
214 for mode in sorted(my_dict[format]):
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
215 print(' <option value="%s">%s</option>' % (mode, mode or "None"))
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
216 print(' </param>')
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
217 print(' </when>')
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
218 print(' </conditional>')
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
219 print(' </when>')
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
220 print(' <when value="">')
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
221 print(' <param name="db_manual" type="text" label="Database" argument="-db"/>')
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
222 print(' <param name="format" type="text" label="Format" argument="-format"/>')
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
223 print(' <param name="mode" type="text" label="Mode" argument="-mode"/>')
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
224 print(' </when>')
c66f2400ecf8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_direct commit 8f96f378620bb663dcce2845ecb14355413f7afa"
iuc
parents:
diff changeset
225 print('</conditional>')