annotate fastx_collapser.xml @ 1:e7c65e398bdd draft default tip

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