annotate fasta_filter_by_length.xml @ 1:c8cd0a03db49 draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_filter_by_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
author devteam
date Wed, 11 Nov 2015 12:13:50 -0500
parents 16679a7f554a
children 2fd6033d0e9c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
1 <tool id="fasta_filter_by_length" name="Filter sequences by length" version="1.1">
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
2 <description></description>
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
3 <command interpreter="python">fasta_filter_by_length.py $input $min_length $max_length $output </command>
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
4 <inputs>
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
5 <param name="input" type="data" format="fasta" label="Fasta file"/>
1
c8cd0a03db49 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_filter_by_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 0
diff changeset
6 <param name="min_length" type="integer" value="0" label="Minimal length" />
c8cd0a03db49 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_filter_by_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 0
diff changeset
7 <param name="max_length" type="integer" value="0" label="Maximum length" help="Setting to '0' will return all sequences longer than the 'Minimal length'"/>
0
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
8 </inputs>
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
9 <outputs>
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
10 <data name="output" format="fasta"/>
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
11 </outputs>
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
12 <tests>
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
13 <test>
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
14 <param name="input" value="454.fasta" />
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
15 <param name="min_length" value="10" />
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
16 <param name="max_length" value="0" />
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
17 <output name="output" file="fasta_tool_filter_length_1.out" />
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
18 </test>
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
19 </tests>
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
20 <help>
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
21
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
22 .. class:: infomark
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
23
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
24 **TIP**. To return sequences longer than a certain length, set *Minimal length* to desired value and leave *Maximum length* set to '0'.
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
25
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
26 -----
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
27
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
28 **What it does**
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
29
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
30 Outputs sequences between *Minimal length* and *Maximum length*.
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
31
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
32 -----
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
33
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
34 **Example**
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
35
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
36 Suppose you have the following FASTA formatted sequences::
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
37
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
38 &gt;seq1
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
39 TCATTTAATGAC
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
40 &gt;seq2
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
41 ATGGC
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
42 &gt;seq3
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
43 TCACATGATGCCG
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
44 &gt;seq4
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
45 ATGGAAGC
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
46
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
47 Setting the **Minimal length** to **10**, and the **Maximum length** to **0** will return all sequences longer than 10 bp::
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
48
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
49 &gt;seq1
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
50 TCATTTAATGAC
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
51 &gt;seq3
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
52 TCACATGATGCCG
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
53
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
54
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
55 </help>
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
56 </tool>