annotate tools/fastx_toolkit/fastx_reverse_complement.xml @ 2:c2a356708570

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:45:42 -0500
parents 9071e359b9a3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
1 <tool id="cshl_fastx_reverse_complement" name="Reverse-Complement">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description></description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 <requirements><requirement type="package">fastx_toolkit</requirement></requirements>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 <command>zcat -f '$input' | fastx_reverse_complement -v -o $output
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 #if $input.ext == "fastqsanger":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 -Q 33
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 </command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 <param format="fasta,fastqsolexa,fastqsanger" name="input" type="data" label="Library to reverse-complement" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 <tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 <!-- Reverse-complement a FASTA file -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 <param name="input" value="fastx_rev_comp1.fasta" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 <output name="output" file="fastx_reverse_complement1.out" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 <!-- Reverse-complement a FASTQ file -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 <param name="input" value="fastx_rev_comp2.fastq" ftype="fastqsolexa"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 <output name="output" file="fastx_reverse_complement2.out" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24 </tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 <data format="input" name="output" metadata_source="input" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 **What it does**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 This tool reverse-complements each sequence in a library.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35 If the library is a FASTQ, the quality-scores are also reversed.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37 --------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39 **Example**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41 Input FASTQ file::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43 @CSHL_1_FC42AGWWWXX:8:1:3:740
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44 TGTCTGTAGCCTCNTCCTTGTAATTCAAAGNNGGTA
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
45 +CSHL_1_FC42AGWWWXX:8:1:3:740
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
46 33 33 33 34 33 33 33 33 33 33 33 33 27 5 27 33 33 33 33 33 33 27 21 27 33 32 31 29 26 24 5 5 15 17 27 26
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
47
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
48
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
49 Output FASTQ file::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
50
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
51 @CSHL_1_FC42AGWWWXX:8:1:3:740
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
52 TACCNNCTTTGAATTACAAGGANGAGGCTACAGACA
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
53 +CSHL_1_FC42AGWWWXX:8:1:3:740
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
54 26 27 17 15 5 5 24 26 29 31 32 33 27 21 27 33 33 33 33 33 33 27 5 27 33 33 33 33 33 33 33 33 34 33 33 33
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
55
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
56 ------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
57
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
58 This tool is based on `FASTX-toolkit`__ by Assaf Gordon.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
59
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
60 .. __: http://hannonlab.cshl.edu/fastx_toolkit/
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
61
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
62 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
63 </tool>