comparison fastq_paired_end_interlacer.xml @ 2:effda79f510c draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_paired_end_interlacer commit f2582539542b33240234e8ea6093e25d0aee9b6a
author devteam
date Sat, 30 Sep 2017 14:59:00 -0400
parents ec6ddf449651
children ef49268ee579
comparison
equal deleted inserted replaced
1:ec6ddf449651 2:effda79f510c
1 <tool id="fastq_paired_end_interlacer" name="FASTQ interlacer" version="1.2"> 1 <tool id="fastq_paired_end_interlacer" name="FASTQ interlacer" version="1.2.0">
2 <description>on paired end reads</description> 2 <description>on paired end reads</description>
3 <requirements> 3 <requirements>
4 <requirement type="package" version="1.0.1">galaxy_sequence_utils</requirement> 4 <requirement type="package" version="1.1.1">galaxy_sequence_utils</requirement>
5 </requirements> 5 </requirements>
6 <command> 6 <command><![CDATA[
7 python $__tool_directory__/fastq_paired_end_interlacer.py 7 gx-fastq-paired-end-interlacer
8 #if $reads.reads_selector == 'paired' 8 #if $reads.reads_selector == 'paired'
9 '${reads.input1_file}' ${reads.input1_file.extension[len('fastq'):]} '${reads.input2_file}' ${reads.input2_file.extension[len('fastq'):]} 9 '${reads.input1_file}' ${reads.input1_file.extension[len('fastq'):]} '${reads.input2_file}' ${reads.input2_file.extension[len('fastq'):]}
10 '$outfile_pairs' '$outfile_singles'
10 #else 11 #else
11 '${reads.reads_coll.forward}' ${reads.reads_coll.forward.extension[len('fastq'):]} '${reads.reads_coll.reverse}' ${reads.reads_coll.reverse.extension[len('fastq'):]} 12 '${reads.reads_coll.forward}' ${reads.reads_coll.forward.extension[len('fastq'):]} '${reads.reads_coll.reverse}' ${reads.reads_coll.reverse.extension[len('fastq'):]}
13 '$outfile_pairs_from_coll' '$outfile_singles_from_coll'
12 #end if 14 #end if
13 '$outfile_pairs' '$outfile_singles' 15 ]]></command>
14 </command> 16 <inputs>
15 <inputs> 17 <conditional name="reads">
16 <conditional name="reads"> 18 <param name="reads_selector" type="select" label="Type of paired-end datasets">
17 <param name="reads_selector" type="select" label="Type of paired-end datasets"> 19 <option value="paired">2 separate datasets</option>
18 <option value="paired">2 separate datasets</option> 20 <option value="paired_collection">1 paired dataset collection</option>
19 <option value="paired_collection">1 paired dataset collection</option> 21 </param>
20 </param> 22 <when value="paired">
21 <when value="paired"> 23 <param name="input1_file" type="data" format="fastqsanger,fastqcssanger,fastqsanger.gz,fastqcssanger.gz,fastqsanger.bz2,fastqcssanger.bz2" label="Left-hand mates" />
22 <param name="input1_file" type="data" format="fastqsanger,fastqcssanger" label="Left-hand mates" /> 24 <param name="input2_file" type="data" format="fastqsanger,fastqcssanger,fastqsanger.gz,fastqcssanger.gz,fastqsanger.bz2,fastqcssanger.bz2" label="Right-hand mates" />
23 <param name="input2_file" type="data" format="fastqsanger,fastqcssanger" label="Right-hand mates" /> 25 </when>
24 </when> 26 <when value="paired_collection">
25 <when value="paired_collection"> 27 <param name="reads_coll" type="data_collection" collection_type="paired" format="fastqsanger,fastqcssanger,fastqsanger.gz,fastqcssanger.gz,fastqsanger.bz2,fastqcssanger.bz2" label="Paired-end reads collection" />
26 <param name="reads_coll" type="data_collection" collection_type="paired" format="fastqsanger,fastqcssanger" label="Paired-end reads collection" /> 28 </when>
27 </when> 29 </conditional>
28 </conditional> 30 </inputs>
29 </inputs> 31 <outputs>
30 <outputs> 32 <!-- $input1_file.name = filename , e.g. paired_end_2_errors.fastqsanger -->
31 <!-- $input1_file.name = filename , e.g. paired_end_2_errors.fastqsanger --> 33 <!-- $input1_file.id = ID , e.g. 10 -->
32 <!-- $input1_file.id = ID , e.g. 10 --> 34 <!-- $input1_file.hid = history ID, e.g. 5 -->
33 <!-- $input1_file.hid = history ID, e.g. 5 --> 35 <data name="outfile_pairs" format_source="input1_file" label="FASTQ interlacer pairs from ${on_string}">
34 <data name="outfile_pairs" format="input" label="FASTQ interlacer pairs from ${on_string}"/> 36 <filter>reads['reads_selector'] == 'paired'</filter>
35 <data name="outfile_singles" format="input" label="FASTQ interlacer singles from ${on_string}"/> 37 </data>
36 </outputs> 38 <data name="outfile_singles" format_source="input1_file" label="FASTQ interlacer singles from ${on_string}">
37 <tests> 39 <filter>reads['reads_selector'] == 'paired'</filter>
38 <test> 40 </data>
39 <param name="reads_selector" value="paired" /> 41 <data name="outfile_pairs_from_coll" format_source="reads_coll['forward']" label="FASTQ interlacer pairs from ${on_string}">
40 <param name="input1_file" value="paired_end_1.fastqsanger" ftype="fastqsanger" /> 42 <filter>reads['reads_selector'] == 'paired_collection'</filter>
41 <param name="input2_file" value="paired_end_2.fastqsanger" ftype="fastqsanger" /> 43 </data>
42 <output name="outfile_pairs" file="paired_end_merged.fastqsanger" ftype="fastqsanger" /> 44 <data name="outfile_singles_from_coll" format_source="reads_coll['forward']" label="FASTQ interlacer singles from ${on_string}">
43 <output name="outfile_singles" file="paired_end_merged_singles.fastqsanger" ftype="fastqsanger" /> 45 <filter>reads['reads_selector'] == 'paired_collection'</filter>
44 </test> 46 </data>
45 <test> 47 </outputs>
46 <param name="reads_selector" value="paired" /> 48 <tests>
47 <param name="input1_file" value="paired_end_1_errors.fastqsanger" ftype="fastqsanger" /> 49 <test>
48 <param name="input2_file" value="paired_end_2_errors.fastqsanger" ftype="fastqsanger" /> 50 <param name="reads_selector" value="paired" />
49 <output name="outfile_pairs" file="paired_end_merged_cleaned.fastqsanger" ftype="fastqsanger" /> 51 <param name="input1_file" value="paired_end_1.fastqsanger" ftype="fastqsanger" />
50 <output name="outfile_singles" file="paired_end_merged_cleaned_singles.fastqsanger" ftype="fastqsanger" /> 52 <param name="input2_file" value="paired_end_2.fastqsanger" ftype="fastqsanger" />
51 </test> 53 <output name="outfile_pairs" file="paired_end_merged.fastqsanger" ftype="fastqsanger" />
52 <test> 54 <output name="outfile_singles" file="paired_end_merged_singles.fastqsanger" ftype="fastqsanger" />
53 <param name="reads_selector" value="paired_collection" /> 55 </test>
54 <param name="reads_coll"> 56 <test>
55 <collection type="paired"> 57 <param name="reads_selector" value="paired" />
56 <element name="forward" value="paired_end_1.fastqsanger" ftype="fastqsanger" /> 58 <param name="input1_file" value="paired_end_1_errors.fastqsanger" ftype="fastqsanger" />
57 <element name="reverse" value="paired_end_2.fastqsanger" ftype="fastqsanger" /> 59 <param name="input2_file" value="paired_end_2_errors.fastqsanger" ftype="fastqsanger" />
58 </collection> 60 <output name="outfile_pairs" file="paired_end_merged_cleaned.fastqsanger" ftype="fastqsanger" />
59 </param> 61 <output name="outfile_singles" file="paired_end_merged_cleaned_singles.fastqsanger" ftype="fastqsanger" />
60 <output name="outfile_pairs" file="paired_end_merged.fastqsanger" ftype="fastqsanger" /> 62 </test>
61 <output name="outfile_singles" file="paired_end_merged_singles.fastqsanger" ftype="fastqsanger" /> 63 <test>
62 </test> 64 <param name="reads_selector" value="paired_collection" />
63 </tests> 65 <param name="reads_coll">
64 <help> 66 <collection type="paired">
67 <element name="forward" value="paired_end_1.fastqsanger" ftype="fastqsanger" />
68 <element name="reverse" value="paired_end_2.fastqsanger" ftype="fastqsanger" />
69 </collection>
70 </param>
71 <output name="outfile_pairs_from_coll" file="paired_end_merged.fastqsanger" ftype="fastqsanger" />
72 <output name="outfile_singles_from_coll" file="paired_end_merged_singles.fastqsanger" ftype="fastqsanger" />
73 </test>
74 </tests>
75 <help><![CDATA[
65 **What it does** 76 **What it does**
66 77
67 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. 78 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.
68 79
69 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. 80 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.
100 CGCCATTCCGAATCGTAGTTGTCGGCGTCTTCCAGTGCGGCAAGGCATCGT 111 CGCCATTCCGAATCGTAGTTGTCGGCGTCTTCCAGTGCGGCAAGGCATCGT
101 +1539:931/2 112 +1539:931/2
102 WNUUZ\P^`BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB 113 WNUUZ\P^`BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
103 114
104 A multiple-fastq file containing reads that have no mate is also produced. 115 A multiple-fastq file containing reads that have no mate is also produced.
105 </help> 116 ]]></help>
106 <citations> 117 <citations>
107 <citation doi="10.1093/bioinformatics/btq281" /> 118 <citation type="doi">10.1093/bioinformatics/btq281</citation>
108 </citations> 119 </citations>
109 </tool> 120 </tool>