Mercurial > repos > stevecassidy > nltktools
view 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 |
line wrap: on
line source
<tool id="Frequency" name="Frequency List" version="1.0"> <description>Takes a text input and generates a frequency list</description> <requirements> <requirement type="package" version="3.2.1">nltk</requirement> </requirements> <command interpreter="python"> g_frequency.py --input "${",".join(map(str, $input))}" --output $frequency_table </command> <inputs> <param name="input" type="data" format="txt" multiple="true" label="Input text(s)"/> </inputs> <outputs> <data format="tabular" name="frequency_table" label="Frequency Table"/> </outputs> <tests> <test> <param name='input' value='sample_text.txt'/> <output name='frequency_table' file='sample_text_frequency.dat'/> </test> </tests> <help> Generate a frequency list from a text ordered by word frequency. </help> </tool>
