Mercurial > repos > stevecassidy > nltktools
comparison g_frequency.xml @ 3:0df72a8ab095 draft default tip
planemo upload for repository https://github.com/Alveo/alveo-galaxy-tools commit f2432aaedd36ae7662873623d8861d0982dffdd2
| author | stevecassidy |
|---|---|
| date | Mon, 20 Nov 2017 22:52:11 -0500 |
| parents | e991d4e60c17 |
| children |
comparison
equal
deleted
inserted
replaced
| 2:a47980ef2b96 | 3:0df72a8ab095 |
|---|---|
| 4 <requirements> | 4 <requirements> |
| 5 <requirement type="package" version="3.2.1">nltk</requirement> | 5 <requirement type="package" version="3.2.1">nltk</requirement> |
| 6 </requirements> | 6 </requirements> |
| 7 | 7 |
| 8 <command interpreter="python"> | 8 <command interpreter="python"> |
| 9 g_frequency.py --input $input1 --output $frequency_table | 9 g_frequency.py --input "${",".join(map(str, $input))}" --output $frequency_table |
| 10 </command> | 10 </command> |
| 11 | 11 |
| 12 <inputs> | 12 <inputs> |
| 13 <param name="input1" type="data" format="txt" | 13 <param name="input" type="data" format="txt" multiple="true" |
| 14 label="Select a suitable input file from your history"/> | 14 label="Input text(s)"/> |
| 15 | |
| 16 <param name="job_name" type="text" size="25" | |
| 17 label="Supply a name for the outputs to remind you what they contain" | |
| 18 value="Frequency List"/> | |
| 19 </inputs> | 15 </inputs> |
| 20 <outputs> | 16 <outputs> |
| 21 <data format="tabular" name="frequency_table" label="${job_name}"/> | 17 <data format="tabular" name="frequency_table" label="Frequency Table"/> |
| 22 </outputs> | 18 </outputs> |
| 23 | 19 |
| 24 <tests> | 20 <tests> |
| 25 <test> | 21 <test> |
| 26 <param name='input1' value='sample_text.txt'/> | 22 <param name='input' value='sample_text.txt'/> |
| 27 <param name='job_name' value='testfrequency'/> | 23 <output name='frequency_table' file='sample_text_frequency.dat'/> |
| 28 <output name='testfrequency' file='sample_text_frequency.dat'/> | |
| 29 </test> | 24 </test> |
| 30 </tests> | 25 </tests> |
| 31 <help> | 26 <help> |
| 32 Generate a frequency list from a text ordered by word frequency. | 27 Generate a frequency list from a text ordered by word frequency. |
| 33 </help> | 28 </help> |
