comparison fastq_paired_end_interlacer.xml @ 0:b89bdf6acb6c draft

Imported from capsule None
author devteam
date Mon, 27 Jan 2014 09:26:38 -0500
parents
children ec6ddf449651
comparison
equal deleted inserted replaced
-1:000000000000 0:b89bdf6acb6c
1 <tool id="fastq_paired_end_interlacer" name="FASTQ interlacer" version="1.1">
2 <description>on paired end reads</description>
3 <requirements>
4 <requirement type="package" version="1.0.0">galaxy_sequence_utils</requirement>
5 </requirements>
6 <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>
7 <inputs>
8 <param name="input1_file" type="data" format="fastqsanger,fastqcssanger" label="Left-hand mates" />
9 <param name="input2_file" type="data" format="fastqsanger,fastqcssanger" label="Right-hand mates" />
10 </inputs>
11 <outputs>
12 <!-- $input1_file.name = filename , e.g. paired_end_2_errors.fastqsanger -->
13 <!-- $input1_file.id = ID , e.g. 10 -->
14 <!-- $input1_file.hid = history ID, e.g. 5 -->
15 <data name="outfile_pairs" format="input" label="FASTQ interlacer pairs from data ${input1_file.hid} and data ${input2_file.hid}"/>
16 <data name="outfile_singles" format="input" label="FASTQ interlacer singles from data ${input1_file.hid} and data ${input2_file.hid}"/>
17 </outputs>
18 <tests>
19 <test>
20 <param name="input1_file" value="paired_end_1.fastqsanger" ftype="fastqsanger" />
21 <param name="input2_file" value="paired_end_2.fastqsanger" ftype="fastqsanger" />
22 <output name="outfile_pairs" file="paired_end_merged.fastqsanger" />
23 <output name="outfile_singles" file="paired_end_merged_singles.fastqsanger" />
24 </test>
25 <test>
26 <param name="input1_file" value="paired_end_1_errors.fastqsanger" ftype="fastqsanger" />
27 <param name="input2_file" value="paired_end_2_errors.fastqsanger" ftype="fastqsanger" />
28 <output name="outfile_pairs" file="paired_end_merged_cleaned.fastqsanger" />
29 <output name="outfile_singles" file="paired_end_merged_cleaned_singles.fastqsanger" />
30 </test>
31 </tests>
32 <help>
33 **What it does**
34
35 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.
36
37 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.
38
39 -----
40
41 **Input**
42
43 Left-hand mates, for example::
44
45 @1539:931/1
46 ACTTCCCGCGCGTGAAGGCGCCGGCAAACGAGGCTCGGGAAGGGGCTCCCG
47 +1539:931/1
48 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
49
50 Right-hand mates, for example::
51
52 @1539:931/2
53 CGCCATTCCGAATCGTAGTTGTCGGCGTCTTCCAGTGCGGCAAGGCATCGT
54 +1539:931/2
55 WNUUZ\P^`BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
56
57 -----
58
59 **Output**
60
61 A multiple-fastq file containing interlaced left and right paired reads::
62
63 @1539:931/1
64 ACTTCCCGCGCGTGAAGGCGCCGGCAAACGAGGCTCGGGAAGGGGCTCCCG
65 +1539:931/1
66 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
67 @1539:931/2
68 CGCCATTCCGAATCGTAGTTGTCGGCGTCTTCCAGTGCGGCAAGGCATCGT
69 +1539:931/2
70 WNUUZ\P^`BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
71
72 A multiple-fastq file containing reads that have no mate is also produced.
73
74 </help>
75 </tool>