annotate tools/fastq/fastq_paired_unpaired.xml @ 1:7ed81e36fc1c

Uploaded v0.0.5 which handles Illumina 1.8 style pair naming.
author peterjc
date Mon, 12 Dec 2011 11:33:10 -0500
parents 72e9fcaec61f
children 95a632a71951
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
7ed81e36fc1c Uploaded v0.0.5 which handles Illumina 1.8 style pair naming.
peterjc
parents: 0
diff changeset
1 <tool id="fastq_paired_unpaired" name="Divide FASTQ file into paired and unpaired reads" version="0.0.5">
0
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
2 <description>using the read name suffices</description>
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
3 <command interpreter="python">
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
4 fastq_paired_unpaired.py $input_fastq.extension $input_fastq
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
5 #if $output_choice_cond.output_choice=="separate"
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
6 $output_forward $output_reverse
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
7 #elif $output_choice_cond.output_choice=="interleaved"
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
8 $output_paired
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
9 #end if
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
10 $output_singles
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
11 </command>
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
12 <inputs>
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
13 <param name="input_fastq" type="data" format="fastq" label="FASTQ file to divide into paired and unpaired reads"/>
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
14 <conditional name="output_choice_cond">
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
15 <param name="output_choice" type="select" label="How to output paired reads?">
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
16 <option value="separate">Separate (two FASTQ files, for the forward and reverse reads, in matching order).</option>
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
17 <option value="interleaved">Interleaved (one FASTQ file, alternating forward read then partner reverse read).</option>
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
18 </param>
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
19 <!-- Seems need these dummy entries here, compare this to indels/indel_sam2interval.xml -->
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
20 <when value="separate" />
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
21 <when value="interleaved" />
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
22 </conditional>
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
23 </inputs>
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
24 <outputs>
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
25 <data name="output_singles" format="input" label="Orphan or single reads"/>
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
26 <data name="output_forward" format="input" label="Forward paired reads">
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
27 <filter>output_choice_cond["output_choice"] == "separate"</filter>
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
28 </data>
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
29 <data name="output_reverse" format="input" label="Reverse paired reads">
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
30 <filter>output_choice_cond["output_choice"] == "separate"</filter>
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
31 </data>
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
32 <data name="output_paired" format="input" label="Interleaved paired reads">
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
33 <filter>output_choice_cond["output_choice"] == "interleaved"</filter>
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
34 </data>
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
35 </outputs>
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
36 <tests>
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
37 </tests>
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
38 <requirements>
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
39 <requirement type="python-module">Bio</requirement>
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
40 </requirements>
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
41 <help>
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
42
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
43 **What it does**
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
44
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
45 Using the common read name suffix conventions, it divides a FASTQ file into
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
46 paired reads, and orphan or single reads.
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
47
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
48 The input file should be a valid FASTQ file which has been sorted so that
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
49 any partner forward+reverse reads are consecutive. The output files all
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
50 preserve this sort order. Pairing are recognised based on standard name
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
51 suffices. See below or run the tool with no arguments for more details.
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
52
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
53 Any reads where the forward/reverse naming suffix used is not recognised
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
54 are treated as orphan reads. The tool supports the /1 and /2 convention
1
7ed81e36fc1c Uploaded v0.0.5 which handles Illumina 1.8 style pair naming.
peterjc
parents: 0
diff changeset
55 originally used by Illumina, .f and .r convention, the Sanger convention
7ed81e36fc1c Uploaded v0.0.5 which handles Illumina 1.8 style pair naming.
peterjc
parents: 0
diff changeset
56 (see http://staden.sourceforge.net/manual/pregap4_unix_50.html for details),
7ed81e36fc1c Uploaded v0.0.5 which handles Illumina 1.8 style pair naming.
peterjc
parents: 0
diff changeset
57 and the current Illumina convention where the reads get the same identifier
7ed81e36fc1c Uploaded v0.0.5 which handles Illumina 1.8 style pair naming.
peterjc
parents: 0
diff changeset
58 with the fragment number in the description, for example:
7ed81e36fc1c Uploaded v0.0.5 which handles Illumina 1.8 style pair naming.
peterjc
parents: 0
diff changeset
59
7ed81e36fc1c Uploaded v0.0.5 which handles Illumina 1.8 style pair naming.
peterjc
parents: 0
diff changeset
60 * @HWI-ST916:79:D04M5ACXX:1:1101:10000:100326 1:N:0:TGNCCA
7ed81e36fc1c Uploaded v0.0.5 which handles Illumina 1.8 style pair naming.
peterjc
parents: 0
diff changeset
61 * @HWI-ST916:79:D04M5ACXX:1:1101:10000:100326 2:N:0:TGNCCA
0
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
62
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
63 Note that this does support multiple forward and reverse reads per template
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
64 (which is quite common with Sanger sequencing), e.g. this which is sorted
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
65 alphabetically:
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
66
1
7ed81e36fc1c Uploaded v0.0.5 which handles Illumina 1.8 style pair naming.
peterjc
parents: 0
diff changeset
67 * WTSI_1055_4p17.p1kapIBF
7ed81e36fc1c Uploaded v0.0.5 which handles Illumina 1.8 style pair naming.
peterjc
parents: 0
diff changeset
68 * WTSI_1055_4p17.p1kpIBF
7ed81e36fc1c Uploaded v0.0.5 which handles Illumina 1.8 style pair naming.
peterjc
parents: 0
diff changeset
69 * WTSI_1055_4p17.q1kapIBR
7ed81e36fc1c Uploaded v0.0.5 which handles Illumina 1.8 style pair naming.
peterjc
parents: 0
diff changeset
70 * WTSI_1055_4p17.q1kpIBR
0
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
71
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
72 or this where the reads already come in pairs:
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
73
1
7ed81e36fc1c Uploaded v0.0.5 which handles Illumina 1.8 style pair naming.
peterjc
parents: 0
diff changeset
74 * WTSI_1055_4p17.p1kapIBF
7ed81e36fc1c Uploaded v0.0.5 which handles Illumina 1.8 style pair naming.
peterjc
parents: 0
diff changeset
75 * WTSI_1055_4p17.q1kapIBR
7ed81e36fc1c Uploaded v0.0.5 which handles Illumina 1.8 style pair naming.
peterjc
parents: 0
diff changeset
76 * WTSI_1055_4p17.p1kpIBF
7ed81e36fc1c Uploaded v0.0.5 which handles Illumina 1.8 style pair naming.
peterjc
parents: 0
diff changeset
77 * WTSI_1055_4p17.q1kpIBR
0
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
78
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
79 both become:
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
80
1
7ed81e36fc1c Uploaded v0.0.5 which handles Illumina 1.8 style pair naming.
peterjc
parents: 0
diff changeset
81 * WTSI_1055_4p17.p1kapIBF paired with WTSI_1055_4p17.q1kapIBR
7ed81e36fc1c Uploaded v0.0.5 which handles Illumina 1.8 style pair naming.
peterjc
parents: 0
diff changeset
82 * WTSI_1055_4p17.p1kpIBF paired with WTSI_1055_4p17.q1kpIBR
0
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
83
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
84 </help>
72e9fcaec61f Migrated tool version 0.0.4 from old tool shed archive to new tool shed repository
peterjc
parents:
diff changeset
85 </tool>