root/galaxy-central/tools/filters/gff/gff_filter_by_feature_count.xml @ 2

リビジョン 2, 1.5 KB (コミッタ: hatakeyama, 14 年 前)

import galaxy-central

行番号 
1<tool id="gff_filter_by_feature_count" name="Filter GFF file by feature count" version="0.1">
2  <description>using simple expressions</description>
3  <command interpreter="python">
4    gff_filter_by_feature_count.py $input_file1 $out_file1 "$feature_name" "$cond"
5  </command>
6  <inputs>
7    <param format="gff" name="input_file1" type="data" label="Filter"/>
8    <param name="feature_name" type="select" label="Using feature name">
9        <options from_dataset="input_file1">
10            <column name="name" index="2"/>
11            <column name="value" index="2"/>
12            <filter type="unique_value" name="unique" column="2"/>
13        </options>
14    </param>
15    <param name="cond" size="40" type="text" value=">0" label="With following condition">
16      <validator type="empty_field" message="Enter a valid filtering condition, see syntax and examples below."/>
17    </param>
18  </inputs>
19  <outputs>
20    <data format="input" name="out_file1" metadata_source="input_file1"/>
21  </outputs>
22  <tests>
23    <test>
24        <param name="input_file1" value="gops_subtract_in1.gff"/>
25        <param name="feature_name" value="exon"/>
26        <param name="cond" value=">1"/>
27        <output name="out_file1" file="gff_filter_by_feature_count_out1.gff"/>
28    </test>
29  </tests>
30
31  <help>
32
33
34.. class:: infomark
35
36Valid comparison operators are: &gt; &lt; &gt;=, &lt;=, !=, and ==
37
38-----
39
40**Syntax**
41
42The filter tool allows you to restrict the dataset based on transcripts' feature counts.
43
44</help>
45</tool>
Note: リポジトリブラウザについてのヘルプは TracBrowser を参照してください。