Mercurial > repos > iuc > ncbi_eutils_esearch
comparison esearch.xml @ 6:af1858733b81 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_eutils commit a4b0969b33a68a0ea9ba12291f6694aec24f13ed
| author | iuc |
|---|---|
| date | Tue, 30 Oct 2018 19:08:01 -0400 |
| parents | 02c7d63c7240 |
| children | b88af93de1b7 |
comparison
equal
deleted
inserted
replaced
| 5:02c7d63c7240 | 6:af1858733b81 |
|---|---|
| 4 <macros> | 4 <macros> |
| 5 <import>macros.xml</import> | 5 <import>macros.xml</import> |
| 6 </macros> | 6 </macros> |
| 7 <expand macro="requirements"/> | 7 <expand macro="requirements"/> |
| 8 <version_command>python esearch.py --version</version_command> | 8 <version_command>python esearch.py --version</version_command> |
| 9 <command detect_errors="aggressive" interpreter="python"><![CDATA[esearch.py | 9 <command detect_errors="aggressive" interpreter="python"><![CDATA[ |
| 10 esearch.py | |
| 10 $db_select | 11 $db_select |
| 11 "$term" | 12 "$term" |
| 12 | 13 |
| 13 #if $history_file and $history_file is not None: | 14 #if $history_file and $history_file is not None: |
| 14 --history_file $history_file | 15 --history_file '$history_file' |
| 15 #end if | 16 #end if |
| 16 | 17 |
| 17 #if $date.enabled: | 18 #if $date.enabled == 'True' |
| 18 --datetype $date.datetype | 19 --datetype $date.datetype |
| 19 | 20 |
| 20 #if $date.reldate and $date.reldate is not None: | 21 #if $date.reldate and $date.reldate is not None: |
| 21 --reldate $date.reldate | 22 --reldate $date.reldate |
| 22 #end if | 23 #end if |
| 23 | 24 |
| 24 #if $date.mindate and $date.mindate is not None: | 25 #if $date.mindate and $date.mindate is not None: |
| 25 --mindate $date.mindate | 26 --mindate '$date.mindate' |
| 26 #end if | 27 #end if |
| 27 | 28 |
| 28 #if $date.maxdate and $date.maxdate is not None: | 29 #if $date.maxdate and $date.maxdate is not None: |
| 29 --maxdate $date.maxdate | 30 --maxdate '$date.maxdate' |
| 30 #end if | 31 #end if |
| 31 #end if | 32 #end if |
| 32 | 33 |
| 33 #if $use_history: | 34 #if $use_history: |
| 34 --history_out $history | 35 --history_out $history |
| 36 | 37 |
| 37 @EMAIL_ARGUMENTS@ | 38 @EMAIL_ARGUMENTS@ |
| 38 > $default]]></command> | 39 > $default]]></command> |
| 39 <inputs> | 40 <inputs> |
| 40 <expand macro="dbselect"/> | 41 <expand macro="dbselect"/> |
| 41 <param label="Search Term" name="term" type="text"> | 42 <param name="term" type="text" label="Search term"> |
| 42 <sanitizer> | 43 <sanitizer> |
| 43 <valid> | 44 <valid> |
| 44 <add value="'"/> | 45 <add value="'"/> |
| 45 <add value="["/> | 46 <add value="["/> |
| 46 <add value="]"/> | 47 <add value="]"/> |
| 47 </valid> | 48 </valid> |
| 48 </sanitizer> | 49 </sanitizer> |
| 49 </param> | 50 </param> |
| 50 <param label="Filter existing history" name="history_file" type="data" format="json" optional="True"/> | 51 <param name="history_file" type="data" format="json" optional="true" label="Filter existing history" /> |
| 51 <param checked="false" label="Store results to history server" name="use_history" type="boolean" truevalue="--use_history" falsevalue=""/> | 52 <param name="use_history" type="boolean" truevalue="--use_history" falsevalue="" checked="false" label="Store results to history server" /> |
| 52 <conditional name="date"> | 53 <conditional name="date"> |
| 53 <param label="Filter By Date" type="boolean" truevalue="True" falsevalue="False" checked="false" name="enabled"/> | 54 <param name="enabled" type="select" label="Filter by date"> |
| 55 <option value="False">No</option> | |
| 56 <option value="True">Yes</option> | |
| 57 </param> | |
| 54 <when value="True"> | 58 <when value="True"> |
| 55 <param label="Date type" name="datetype" type="select"> | 59 <param label="Date type" name="datetype" type="select"> |
| 56 <option value="PDAT">Publish Date</option> | 60 <option value="PDAT">Publish date</option> |
| 57 <option value="EDAT">Entrez Date</option> | 61 <option value="EDAT">Entrez date</option> |
| 58 <option value="MDAT">Modification Date</option> | 62 <option value="MDAT">Modification date</option> |
| 59 </param> | 63 </param> |
| 60 <param label="In past N days" name="reldate" type="integer" min="1" optional="True"/> | 64 <param name="reldate" type="integer" min="1" optional="true" label="In past N days" /> |
| 61 <param label="Minimum date" help="YYYY, YYYY/MM, or YYYY/MM/DD" name="mindate" type="text"/> | 65 <param name="mindate" type="text" label="Minimum date" help="YYYY, YYYY/MM or YYYY/MM/DD" /> |
| 62 <param label="maximum date" help="YYYY, YYYY/MM, or YYYY/MM/DD" name="maxdate" type="text"/> | 66 <param name="maxdate" type="text" label="Maximum date" help="YYYY, YYYY/MM or YYYY/MM/DD" /> |
| 63 </when> | 67 </when> |
| 64 <when value="False"/> | 68 <when value="False"/> |
| 65 </conditional> | 69 </conditional> |
| 66 </inputs> | 70 </inputs> |
| 67 <outputs> | 71 <outputs> |
| 68 <data format="json" name="default" label="ESearch Results for $term"> | 72 <data name="default" format="json" label="ESearch results for $term"> |
| 69 <change_format> | 73 <change_format> |
| 70 <when input="use_history" value="" format="xml"/> | 74 <when input="use_history" value="" format="xml"/> |
| 71 </change_format> | 75 </change_format> |
| 72 </data> | 76 </data> |
| 73 <expand macro="history_out"> | 77 <expand macro="history_out"> |
