Mercurial > repos > iuc > ncbi_eutils_esearch
comparison esearch.xml @ 0:6ba298236729 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_eutils commit 780c9984a9c44d046aadf1e316a668d1e53aa1f0
| author | iuc |
|---|---|
| date | Sat, 31 Oct 2015 12:45:19 -0400 |
| parents | |
| children | 6d1aba0b33e1 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:6ba298236729 |
|---|---|
| 1 <?xml version="1.0"?> | |
| 2 <tool id="ncbi_eutils_esearch" name="NCBI ESearch" version="@WRAPPER_VERSION@"> | |
| 3 <description>search NCBI Databases by text query</description> | |
| 4 <macros> | |
| 5 <import>macros.xml</import> | |
| 6 </macros> | |
| 7 <expand macro="requirements"/> | |
| 8 <expand macro="stdio"/> | |
| 9 <version_command>python esearch.py --version</version_command> | |
| 10 <command interpreter="python"><![CDATA[esearch.py | |
| 11 $db_select | |
| 12 "$term" | |
| 13 | |
| 14 #if $history_file and $history_file is not None: | |
| 15 --history_file $history_file | |
| 16 #end if | |
| 17 | |
| 18 $use_history | |
| 19 | |
| 20 #if $date.enabled: | |
| 21 --datetype $date.datetype | |
| 22 | |
| 23 #if $date.reldate and $date.reldate is not None: | |
| 24 --reldate $date.reldate | |
| 25 #end if | |
| 26 | |
| 27 #if $date.mindate and $date.mindate is not None: | |
| 28 --mindate $date.mindate | |
| 29 #end if | |
| 30 | |
| 31 #if $date.maxdate and $date.maxdate is not None: | |
| 32 --maxdate $date.maxdate | |
| 33 #end if | |
| 34 #end if | |
| 35 | |
| 36 #if $use_history: | |
| 37 --history_out $history | |
| 38 #end if | |
| 39 | |
| 40 @EMAIL_ARGUMENTS@ | |
| 41 > $default]]></command> | |
| 42 <inputs> | |
| 43 <expand macro="dbselect"/> | |
| 44 <param label="Search Term" name="term" type="text"> | |
| 45 <sanitizer> | |
| 46 <valid> | |
| 47 <add value="'"/> | |
| 48 <add value="["/> | |
| 49 <add value="]"/> | |
| 50 </valid> | |
| 51 </sanitizer> | |
| 52 </param> | |
| 53 <param label="Filter existing history" name="history_file" type="data" format="ncbi_history" optional="True"/> | |
| 54 <param checked="false" label="Store results to history server" name="use_history" type="boolean" truevalue="--use_history" falsevalue=""/> | |
| 55 <conditional name="date"> | |
| 56 <param label="Filter By Date" type="boolean" truevalue="True" falsevalue="False" checked="false" name="enabled"/> | |
| 57 <when value="True"> | |
| 58 <param label="Date type" name="datetype" type="select"> | |
| 59 <option value="PDAT">Publish Date</option> | |
| 60 <option value="EDAT">Entrez Date</option> | |
| 61 <option value="MDAT">Modification Date</option> | |
| 62 </param> | |
| 63 <param label="In past N days" name="reldate" type="integer" min="1" optional="True"/> | |
| 64 <param label="Minimum date" help="YYYY, YYYY/MM, or YYYY/MM/DD" name="mindate" type="text"/> | |
| 65 <param label="maximum date" help="YYYY, YYYY/MM, or YYYY/MM/DD" name="maxdate" type="text"/> | |
| 66 </when> | |
| 67 <when value="False"/> | |
| 68 </conditional> | |
| 69 </inputs> | |
| 70 <outputs> | |
| 71 <data format="json" name="default" label="ESearch Results for $term"/> | |
| 72 <expand macro="history_out"> | |
| 73 <filter>use_history</filter> | |
| 74 </expand> | |
| 75 </outputs> | |
| 76 <tests> | |
| 77 <test> | |
| 78 <param name="db_select" value="pubmed"/> | |
| 79 <param name="term" value="(PNAS[ta] AND 97[vi])"/> | |
| 80 <output name="default" file="esearch.pubmed.xml"/> | |
| 81 </test> | |
| 82 <test> | |
| 83 <param name="db_select" value="pubmed"/> | |
| 84 <param name="term" value="PNAS[ta]"/> | |
| 85 <param name="enabled" value="True"/> | |
| 86 <param name="datetype" value="PDAT"/> | |
| 87 <param name="mindate" value="2014/01/01"/> | |
| 88 <param name="maxdate" value="2014/02/01"/> | |
| 89 <output name="default" file="esearch.pubmed.2014-01-pnas.xml"/> | |
| 90 </test> | |
| 91 </tests> | |
| 92 <help><![CDATA[ | |
| 93 NCBI Entrez ESearch | |
| 94 =================== | |
| 95 | |
| 96 Responds to a text query with the list of matching UIDs in a given database | |
| 97 (for later use in ESummary, EFetch or ELink), along with the term translations | |
| 98 of the query. | |
| 99 | |
| 100 Example Queries | |
| 101 --------------- | |
| 102 | |
| 103 Search in PubMed with the term cancer for abstracts that have an Entrez date | |
| 104 within the last 60 days: | |
| 105 | |
| 106 +----------------------+-------------+ | |
| 107 | Parameter | Value | | |
| 108 +======================+=============+ | |
| 109 | NCBI Database to Use | PubMed | | |
| 110 +----------------------+-------------+ | |
| 111 | Term | Cancer | | |
| 112 +----------------------+-------------+ | |
| 113 | Datetype | Entrez Date | | |
| 114 +----------------------+-------------+ | |
| 115 | In past N Days | 60 | | |
| 116 +----------------------+-------------+ | |
| 117 | |
| 118 Search PubMed Central for free full text articles containing the query stem cells: | |
| 119 | |
| 120 +----------------------+--------------------------------------+ | |
| 121 | Parameter | Value | | |
| 122 +======================+======================================+ | |
| 123 | NCBI Database to Use | PubMedCentral | | |
| 124 +----------------------+--------------------------------------+ | |
| 125 | Term | Stem Cells AND free fulltext[filter] | | |
| 126 +----------------------+--------------------------------------+ | |
| 127 | |
| 128 Search in Nucleotide for all tRNAs: | |
| 129 | |
| 130 +----------------------+--------------------------------------+ | |
| 131 | Parameter | Value | | |
| 132 +======================+======================================+ | |
| 133 | NCBI Database to Use | Nucleotide | | |
| 134 +----------------------+--------------------------------------+ | |
| 135 | Term | biomol trna[prop] | | |
| 136 +----------------------+--------------------------------------+ | |
| 137 | |
| 138 Search in Protein for a molecular weight range: | |
| 139 | |
| 140 +----------------------+--------------------------------------+ | |
| 141 | Parameter | Value | | |
| 142 +======================+======================================+ | |
| 143 | NCBI Database to Use | Protein | | |
| 144 +----------------------+--------------------------------------+ | |
| 145 | Term | 70000:90000[molecular weight] | | |
| 146 +----------------------+--------------------------------------+ | |
| 147 | |
| 148 | |
| 149 @REFERENCES@ | |
| 150 | |
| 151 @DISCLAIMER@ | |
| 152 ]]></help> | |
| 153 <expand macro="citations"/> | |
| 154 </tool> |
