annotate tools/fastq/fastq_paired_end_interlacer.xml @ 1:cdcb0ce84a1b

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:45:15 -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="fastq_paired_end_interlacer" name="FASTQ interlacer" version="1.1">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description>on paired end reads</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 <command interpreter="python">fastq_paired_end_interlacer.py '$input1_file' '${input1_file.extension[len( 'fastq' ):]}' '$input2_file' '${input2_file.extension[len( 'fastq' ):]}' '$outfile_pairs' '$outfile_singles'</command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 <param name="input1_file" type="data" format="fastqsanger,fastqcssanger" label="Left-hand mates" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 <param name="input2_file" type="data" format="fastqsanger,fastqcssanger" label="Right-hand mates" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 <!-- $input1_file.name = filename , e.g. paired_end_2_errors.fastqsanger -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 <!-- $input1_file.id = ID , e.g. 10 -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 <!-- $input1_file.hid = history ID, e.g. 5 -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 <data name="outfile_pairs" format="input" label="FASTQ interlacer pairs from data ${input1_file.hid} and data ${input2_file.hid}"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 <data name="outfile_singles" format="input" label="FASTQ interlacer singles from data ${input1_file.hid} and data ${input2_file.hid}"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 <tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 <param name="input1_file" value="paired_end_1.fastqsanger" ftype="fastqsanger" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 <param name="input2_file" value="paired_end_2.fastqsanger" ftype="fastqsanger" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19 <output name="outfile_pairs" file="paired_end_merged.fastqsanger" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 <output name="outfile_singles" file="paired_end_merged_singles.fastqsanger" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 <param name="input1_file" value="paired_end_1_errors.fastqsanger" ftype="fastqsanger" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24 <param name="input2_file" value="paired_end_2_errors.fastqsanger" ftype="fastqsanger" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25 <output name="outfile_pairs" file="paired_end_merged_cleaned.fastqsanger" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 <output name="outfile_singles" file="paired_end_merged_cleaned_singles.fastqsanger" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 </tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 **What it does**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 This tool joins paired end FASTQ reads from two separate files, one with the left mates and one with the right mates, into a single files where left mates alternate with their right mates. The join is performed using sequence identifiers, allowing the two files to contain differing ordering. If a sequence identifier does not appear in both files, it is included in a separate file.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 Sequence identifiers with /1 and /2 appended override the left-hand and right-hand designation; i.e. if the reads end with /1 and /2, the read containing /1 will be used as the left-hand read and the read containing /2 will be used as the right-hand read. Sequences without this designation will follow the left-hand and right-hand settings set by the user.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36 -----
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38 **Input**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40 Left-hand mates, for example::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42 @1539:931/1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43 ACTTCCCGCGCGTGAAGGCGCCGGCAAACGAGGCTCGGGAAGGGGCTCCCG
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44 +1539:931/1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
45 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
46
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
47 Right-hand mates, for example::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
48
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
49 @1539:931/2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
50 CGCCATTCCGAATCGTAGTTGTCGGCGTCTTCCAGTGCGGCAAGGCATCGT
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
51 +1539:931/2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
52 WNUUZ\P^`BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
53
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
54 -----
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
55
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
56 **Output**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
57
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
58 A multiple-fastq file containing interlaced left and right paired reads::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
59
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
60 @1539:931/1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
61 ACTTCCCGCGCGTGAAGGCGCCGGCAAACGAGGCTCGGGAAGGGGCTCCCG
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
62 +1539:931/1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
63 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
64 @1539:931/2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
65 CGCCATTCCGAATCGTAGTTGTCGGCGTCTTCCAGTGCGGCAAGGCATCGT
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
66 +1539:931/2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
67 WNUUZ\P^`BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
68
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
69 A multiple-fastq file containing reads that have no mate is also produced.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
70
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
71 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
72 </tool>