Source code

Download source archive ↓

upstream-extended/devteam/tools/count_gff_features/count_gff_features.xml

1<tool id="count_gff_features" name="Count GFF Features" version="0.2">
2    <description></description>
3    <requirements>
4        <requirement type="package" version="1.1.0">galaxy-ops</requirement>
5    </requirements>
6    <command><![CDATA[
7        python '$__tool_directory__/count_gff_features.py'
8            '$input' > '$output'
9    ]]>
10    </command>
11    <inputs>
12        <param format="gff" name="input" type="data" label="GFF Dataset to Filter"/>
13    </inputs>
14    <outputs>
15        <data format="txt" name="output"/>
16    </outputs>
17    <tests>
18        <test>
19            <param name="input" value="gff2bed_in2.gff"/>
20            <output name="output" file="count_gff_features_out1.txt"/>
21        </test>
22        <test>
23            <param name="input" value="gff_filter_by_feature_count_out1.gff"/>
24            <output name="output" file="count_gff_features_out2.txt"/>
25        </test>
26    </tests>
27    <help>
28        Counts the number of features in a GFF dataset. GFF features are often spread across multiple lines; this tool counts the number of 
29        features in dataset rather than the number of lines.
30    </help>
31</tool>