annotate fasta_filter_by_length.xml @ 2:2fd6033d0e9c draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_filter_by_length commit ad697ba869f1a81bb78168d3b81e360996fd2d52
author devteam
date Thu, 20 Jul 2017 13:49:07 -0400
parents c8cd0a03db49
children e626b3ff9922
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>
2
2fd6033d0e9c planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_filter_by_length commit ad697ba869f1a81bb78168d3b81e360996fd2d52
devteam
parents: 1
diff changeset
3 <command>
2fd6033d0e9c planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_filter_by_length commit ad697ba869f1a81bb78168d3b81e360996fd2d52
devteam
parents: 1
diff changeset
4 python $__tool_directory__/fasta_filter_by_length.py
2fd6033d0e9c planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_filter_by_length commit ad697ba869f1a81bb78168d3b81e360996fd2d52
devteam
parents: 1
diff changeset
5 '$input'
2fd6033d0e9c planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_filter_by_length commit ad697ba869f1a81bb78168d3b81e360996fd2d52
devteam
parents: 1
diff changeset
6 $min_length
2fd6033d0e9c planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_filter_by_length commit ad697ba869f1a81bb78168d3b81e360996fd2d52
devteam
parents: 1
diff changeset
7 $max_length
2fd6033d0e9c planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_filter_by_length commit ad697ba869f1a81bb78168d3b81e360996fd2d52
devteam
parents: 1
diff changeset
8 '$output'
2fd6033d0e9c planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_filter_by_length commit ad697ba869f1a81bb78168d3b81e360996fd2d52
devteam
parents: 1
diff changeset
9 </command>
0
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
10 <inputs>
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
11 <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
12 <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
13 <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
14 </inputs>
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
15 <outputs>
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
16 <data name="output" format="fasta"/>
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
17 </outputs>
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
18 <tests>
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
19 <test>
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
20 <param name="input" value="454.fasta" />
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
21 <param name="min_length" value="10" />
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
22 <param name="max_length" value="0" />
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
23 <output name="output" file="fasta_tool_filter_length_1.out" />
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
24 </test>
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
25 </tests>
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
26 <help>
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
27
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
28 .. class:: infomark
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
29
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
30 **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
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 **What it does**
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
35
2
2fd6033d0e9c planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_filter_by_length commit ad697ba869f1a81bb78168d3b81e360996fd2d52
devteam
parents: 1
diff changeset
36 Outputs sequences greater than or equal to *Minimal length* and less than or equal to *Maximum length*.
0
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
37
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
38 -----
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
39
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
40 **Example**
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
41
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
42 Suppose you have the following FASTA formatted sequences::
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
43
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
44 &gt;seq1
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
45 TCATTTAATGAC
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
46 &gt;seq2
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
47 ATGGC
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
48 &gt;seq3
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
49 TCACATGATGCCG
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
50 &gt;seq4
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
51 ATGGAAGC
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
52
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
53 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
54
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
55 &gt;seq1
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
56 TCATTTAATGAC
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
57 &gt;seq3
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
58 TCACATGATGCCG
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
59
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
60
16679a7f554a Imported from capsule None
devteam
parents:
diff changeset
61 </help>
2
2fd6033d0e9c planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_filter_by_length commit ad697ba869f1a81bb78168d3b81e360996fd2d52
devteam
parents: 1
diff changeset
62 </tool>