view g_pos.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="POSTag" name="Part of Speech Tagging" version="1.0">
    <description>Part of Speech tagging</description>

    <requirements>
        <requirement type="package" version="3.2.1">nltk</requirement>
    </requirements>

    <command interpreter="python">
        g_pos.py --input $input1 --output $postags
    </command>

    <inputs>
        <param name="input1" type="data" format="txt"
               label="Select a suitable input file from your history"/>

        <param name="job_name" type="text" size="25"
               label="Supply a name for the output to remind you what they contain"
               value="POS Tags"/>
    </inputs>
    <outputs>
        <data format="txt" name="postags" label="${job_name}"/>
    </outputs>

    <tests>
        <test>
            <param name='input1' value='sample_text.txt'/>
            <param name='job_name' value='testpos1'/>
            <output name='postags' file='sample_text_pos.dat'/>
        </test>
    </tests>

    <help>
        Apply a Part of Speech (POS) tagger to a list of sentences.
    </help>
</tool>