annotate fastx_collapser.xml @ 0:e942fd3a76a5

Uploaded tool tarball.
author devteam
date Wed, 25 Sep 2013 11:08:42 -0400
parents
children 13c2d9e8c6d5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
1 <tool id="cshl_fastx_collapser" version="1.0.0" name="Collapse">
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
2 <description>sequences</description>
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
3 <requirements>
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
4 <requirement type="package" version="0.0.13">fastx_toolkit</requirement>
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
5 </requirements>
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
6 <command>zcat -f '$input' | fastx_collapser -v -o '$output'
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
7 #if $input.ext == "fastqsanger":
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
8 -Q 33
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
9 #end if
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
10 </command>
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
11
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
12 <inputs>
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
13 <param format="fasta,fastqsanger,fastqsolexa" version="1.0.0" name="input" type="data" label="Library to collapse" />
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
14 </inputs>
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
15
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
16 <!-- The order of sequences in the test output differ between 32 bit and 64 bit machines.
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
17 <tests>
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
18 <test>
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
19 <param version="1.0.0" name="input" value="fasta_collapser1.fasta" />
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
20 <output version="1.0.0" name="output" file="fasta_collapser1.out" />
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
21 </test>
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
22 </tests>
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
23 -->
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
24 <outputs>
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
25 <data format="fasta" version="1.0.0" name="output" metadata_source="input" />
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
26 </outputs>
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
27 <help>
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
28
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
29 **What it does**
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
30
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
31 This tool collapses identical sequences in a FASTA file into a single sequence.
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
32
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
33 --------
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
34
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
35 **Example**
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
36
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
37 Example Input File (Sequence "ATAT" appears multiple times)::
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
38
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
39 >CSHL_2_FC0042AGLLOO_1_1_605_414
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
40 TGCG
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
41 >CSHL_2_FC0042AGLLOO_1_1_537_759
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
42 ATAT
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
43 >CSHL_2_FC0042AGLLOO_1_1_774_520
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
44 TGGC
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
45 >CSHL_2_FC0042AGLLOO_1_1_742_502
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
46 ATAT
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
47 >CSHL_2_FC0042AGLLOO_1_1_781_514
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
48 TGAG
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
49 >CSHL_2_FC0042AGLLOO_1_1_757_487
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
50 TTCA
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
51 >CSHL_2_FC0042AGLLOO_1_1_903_769
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
52 ATAT
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
53 >CSHL_2_FC0042AGLLOO_1_1_724_499
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
54 ATAT
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
55
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
56 Example Output file::
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
57
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
58 >1-1
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
59 TGCG
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
60 >2-4
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
61 ATAT
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
62 >3-1
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
63 TGGC
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
64 >4-1
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
65 TGAG
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
66 >5-1
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
67 TTCA
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
68
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
69 .. class:: infomark
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
70
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
71 Original Sequence Names / Lane descriptions (e.g. "CSHL_2_FC0042AGLLOO_1_1_742_502") are discarded.
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
72
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
73 The output sequence name is composed of two numbers: the first is the sequence's number, the second is the multiplicity value.
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
74
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
75 The following output::
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
76
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
77 >2-4
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
78 ATAT
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
79
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
80 means that the sequence "ATAT" is the second sequence in the file, and it appeared 4 times in the input FASTA file.
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
81
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
82
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
83 ------
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
84
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
85 This tool is based on `FASTX-toolkit`__ by Assaf Gordon.
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
86
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
87 .. __: http://hannonlab.cshl.edu/fastx_toolkit/
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
88
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
89 </help>
e942fd3a76a5 Uploaded tool tarball.
devteam
parents:
diff changeset
90 </tool>