comparison fastq_paired_end_interlacer.xml @ 1:e0a8fba7ed2f 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:57:07 -0400
parents cfc3ad769dba
children 1adeef975783
comparison
equal deleted inserted replaced
0:cfc3ad769dba 1:e0a8fba7ed2f
1 <tool id="fastq_paired_end_interlacer" name="FASTQ interlacer" version="1.1"> 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.0">galaxy_sequence_utils</requirement> 4 <requirement type="package" version="1.1.1">galaxy_sequence_utils</requirement>
5 </requirements> 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> 6 <command><![CDATA[
7 <inputs> 7 gx-fastq-paired-end-interlacer
8 <param name="input1_file" type="data" format="fastqsanger,fastqcssanger" label="Left-hand mates" /> 8 #if $reads.reads_selector == 'paired'
9 <param name="input2_file" type="data" format="fastqsanger,fastqcssanger" label="Right-hand mates" /> 9 '${reads.input1_file}' ${reads.input1_file.extension[len('fastq'):]} '${reads.input2_file}' ${reads.input2_file.extension[len('fastq'):]}
10 </inputs> 10 '$outfile_pairs' '$outfile_singles'
11 <outputs> 11 #else
12 <!-- $input1_file.name = filename , e.g. paired_end_2_errors.fastqsanger --> 12 '${reads.reads_coll.forward}' ${reads.reads_coll.forward.extension[len('fastq'):]} '${reads.reads_coll.reverse}' ${reads.reads_coll.reverse.extension[len('fastq'):]}
13 <!-- $input1_file.id = ID , e.g. 10 --> 13 '$outfile_pairs_from_coll' '$outfile_singles_from_coll'
14 <!-- $input1_file.hid = history ID, e.g. 5 --> 14 #end if
15 <data name="outfile_pairs" format="input" label="FASTQ interlacer pairs from data ${input1_file.hid} and data ${input2_file.hid}"/> 15 ]]></command>
16 <data name="outfile_singles" format="input" label="FASTQ interlacer singles from data ${input1_file.hid} and data ${input2_file.hid}"/> 16 <inputs>
17 </outputs> 17 <conditional name="reads">
18 <tests> 18 <param name="reads_selector" type="select" label="Type of paired-end datasets">
19 <test> 19 <option value="paired">2 separate datasets</option>
20 <param name="input1_file" value="paired_end_1.fastqsanger" ftype="fastqsanger" /> 20 <option value="paired_collection">1 paired dataset collection</option>
21 <param name="input2_file" value="paired_end_2.fastqsanger" ftype="fastqsanger" /> 21 </param>
22 <output name="outfile_pairs" file="paired_end_merged.fastqsanger" /> 22 <when value="paired">
23 <output name="outfile_singles" file="paired_end_merged_singles.fastqsanger" /> 23 <param name="input1_file" type="data" format="fastqsanger,fastqcssanger,fastqsanger.gz,fastqcssanger.gz,fastqsanger.bz2,fastqcssanger.bz2" label="Left-hand mates" />
24 </test> 24 <param name="input2_file" type="data" format="fastqsanger,fastqcssanger,fastqsanger.gz,fastqcssanger.gz,fastqsanger.bz2,fastqcssanger.bz2" label="Right-hand mates" />
25 <test> 25 </when>
26 <param name="input1_file" value="paired_end_1_errors.fastqsanger" ftype="fastqsanger" /> 26 <when value="paired_collection">
27 <param name="input2_file" value="paired_end_2_errors.fastqsanger" ftype="fastqsanger" /> 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" />
28 <output name="outfile_pairs" file="paired_end_merged_cleaned.fastqsanger" /> 28 </when>
29 <output name="outfile_singles" file="paired_end_merged_cleaned_singles.fastqsanger" /> 29 </conditional>
30 </test> 30 </inputs>
31 </tests> 31 <outputs>
32 <help> 32 <!-- $input1_file.name = filename , e.g. paired_end_2_errors.fastqsanger -->
33 <!-- $input1_file.id = ID , e.g. 10 -->
34 <!-- $input1_file.hid = history ID, e.g. 5 -->
35 <data name="outfile_pairs" format_source="input1_file" label="FASTQ interlacer pairs from ${on_string}">
36 <filter>reads['reads_selector'] == 'paired'</filter>
37 </data>
38 <data name="outfile_singles" format_source="input1_file" label="FASTQ interlacer singles from ${on_string}">
39 <filter>reads['reads_selector'] == 'paired'</filter>
40 </data>
41 <data name="outfile_pairs_from_coll" format_source="reads_coll['forward']" label="FASTQ interlacer pairs from ${on_string}">
42 <filter>reads['reads_selector'] == 'paired_collection'</filter>
43 </data>
44 <data name="outfile_singles_from_coll" format_source="reads_coll['forward']" label="FASTQ interlacer singles from ${on_string}">
45 <filter>reads['reads_selector'] == 'paired_collection'</filter>
46 </data>
47 </outputs>
48 <tests>
49 <test>
50 <param name="reads_selector" value="paired" />
51 <param name="input1_file" value="paired_end_1.fastqsanger" ftype="fastqsanger" />
52 <param name="input2_file" value="paired_end_2.fastqsanger" ftype="fastqsanger" />
53 <output name="outfile_pairs" file="paired_end_merged.fastqsanger" ftype="fastqsanger" />
54 <output name="outfile_singles" file="paired_end_merged_singles.fastqsanger" ftype="fastqsanger" />
55 </test>
56 <test>
57 <param name="reads_selector" value="paired" />
58 <param name="input1_file" value="paired_end_1_errors.fastqsanger" ftype="fastqsanger" />
59 <param name="input2_file" value="paired_end_2_errors.fastqsanger" ftype="fastqsanger" />
60 <output name="outfile_pairs" file="paired_end_merged_cleaned.fastqsanger" ftype="fastqsanger" />
61 <output name="outfile_singles" file="paired_end_merged_cleaned_singles.fastqsanger" ftype="fastqsanger" />
62 </test>
63 <test>
64 <param name="reads_selector" value="paired_collection" />
65 <param name="reads_coll">
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[
33 **What it does** 76 **What it does**
34 77
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. 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.
36 79
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. 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.
68 CGCCATTCCGAATCGTAGTTGTCGGCGTCTTCCAGTGCGGCAAGGCATCGT 111 CGCCATTCCGAATCGTAGTTGTCGGCGTCTTCCAGTGCGGCAAGGCATCGT
69 +1539:931/2 112 +1539:931/2
70 WNUUZ\P^`BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB 113 WNUUZ\P^`BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
71 114
72 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.
73 116 ]]></help>
74 </help> 117 <citations>
118 <citation type="doi">10.1093/bioinformatics/btq281</citation>
119 </citations>
75 </tool> 120 </tool>