Mercurial > repos > devteam > picard
annotate picard_FastqToSam.xml @ 12:05087b27692a draft
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
author | devteam |
---|---|
date | Sun, 27 Nov 2016 15:11:50 -0500 |
parents | 5eaa8a968300 |
children | 7e6fd3d0f16e |
rev | line source |
---|---|
8
3a3234d7a2e8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
devteam
parents:
5
diff
changeset
|
1 <tool name="FastqToSam" id="picard_FastqToSam" version="@TOOL_VERSION@.0"> |
5 | 2 <description>convert Fastq data into unaligned BAM</description> |
3 <macros> | |
4 <import>picard_macros.xml</import> | |
5 </macros> | |
8
3a3234d7a2e8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
devteam
parents:
5
diff
changeset
|
6 <expand macro="requirements" /> |
12
05087b27692a
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents:
9
diff
changeset
|
7 <command detect_errors="exit_code"><![CDATA[ |
5 | 8 @java_options@ |
9 | |
12
05087b27692a
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents:
9
diff
changeset
|
10 picard |
5 | 11 FastqToSam |
12 | |
13 #if str( $input_type.input_type_selector ) == "se": | |
14 FASTQ="${input_type.fastq}" | |
15 #elif str( $input_type.input_type_selector ) == "pe": | |
16 FASTQ="${input_type.fastq}" | |
17 FASTQ2="${input_type.fastq2}" | |
18 #else | |
19 FASTQ="${input_type.fastq.forward}" | |
20 FASTQ2="${input_type.fastq.reverse}" | |
0 | 21 #end if |
5 | 22 |
23 QUALITY_FORMAT="${quality_format}" | |
24 OUTPUT="${outFile}" | |
0 | 25 READ_GROUP_NAME="${read_group_name}" |
5 | 26 SAMPLE_NAME="${sample_name}" |
27 | |
28 #if str( $library_name ): | |
29 LIBRARY_NAME="${library_name}" | |
30 #end if | |
31 | |
32 #if str( $platform_unit ): | |
33 PLATFORM_UNIT="${platform_unit}" | |
34 #end if | |
35 | |
36 #if str( $platform ): | |
37 PLATFORM="${platform}" | |
38 #end if | |
39 | |
40 #if str( $sequencing_center ): | |
41 SEQUENCING_CENTER="${sequencing_center}" | |
42 #end if | |
43 | |
44 #if str( $predicted_insert_size ): | |
45 PREDICTED_INSERT_SIZE="${predicted_insert_size}" | |
0 | 46 #end if |
5 | 47 |
48 #if str( $comment ): | |
49 COMMENT="${comment}" | |
50 #end if | |
51 | |
52 #if str( $description ): | |
53 DESCRIPTION="${description}" | |
54 #end if | |
55 | |
56 #if str( $run_date ): | |
57 RUN_DATE="${run_date}" | |
58 #end if | |
59 | |
60 MIN_Q="${min_q}" | |
61 MAX_Q="${max_q}" | |
62 STRIP_UNPAIRED_MATE_NUMBER="${strip_unpairied_mate_number}" | |
63 ALLOW_AND_IGNORE_EMPTY_LINES="${allow_and_ignore_empty_lines}" | |
64 | |
65 SORT_ORDER=coordinate | |
66 VALIDATION_STRINGENCY="${validation_stringency}" | |
67 QUIET=true | |
68 VERBOSITY=ERROR | |
69 | |
12
05087b27692a
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents:
9
diff
changeset
|
70 ]]></command> |
0 | 71 <inputs> |
5 | 72 <conditional name="input_type"> |
73 <param name="input_type_selector" type="select" label="What is your input data" help="Select between single end, paired end, and collections. See help below for full explanation of dataset types"> | |
74 <option value="se">Single end (single dataset)</option> | |
75 <option value="pe">Paired end (two datasets)</option> | |
76 <option value="pc">Paired collection</option> | |
0 | 77 </param> |
5 | 78 <when value="se"> |
79 <param name="fastq" type="data" format="fastq" label="Input fastq file for single end data" help="FASTQ"/> | |
0 | 80 </when> |
5 | 81 <when value="pe"> |
82 <param name="fastq" type="data" format="fastq" label="Input fastq file for the first read in paired end data" help="FASTQ"/> | |
83 <param name="fastq2" type="data" format="fastq" label="Input fastq file for the second read of paired end data" help="FASTQ2"/> | |
84 </when> | |
85 <when value="pc"> | |
9
5eaa8a968300
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 1869970193a1878acbc0f8a79b81dd02b37f1dc1
devteam
parents:
8
diff
changeset
|
86 <param name="fastq" type="data_collection" collection_type="paired" format="fastq" label="FASTQ paired dataset collection" help="FASTQ and FASTQ2; A collection of two datasets with forward and reverse reads. See help below on explanation of dataset collections"/> |
0 | 87 </when> |
88 </conditional> | |
5 | 89 |
90 <param name="quality_format" type="select" label="Select quality encoding scheme" help="QUALITY_FORMAT"> | |
91 <option value="Standard" selected="True">Sanger (+33)</option> | |
92 <option value="Illumina">Illumina (+64)</option> | |
93 <option value="Solexa">Solexa (+66)</option> | |
94 </param> | |
95 | |
9
5eaa8a968300
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 1869970193a1878acbc0f8a79b81dd02b37f1dc1
devteam
parents:
8
diff
changeset
|
96 <param name="read_group_name" type="text" value="A" label="Read group name" help="READ_GROUP_NAME"/> |
5eaa8a968300
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 1869970193a1878acbc0f8a79b81dd02b37f1dc1
devteam
parents:
8
diff
changeset
|
97 <param name="sample_name" type="text" value="sample-a" label="Sample name" help="SAMPLE_NAME"/> |
5eaa8a968300
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 1869970193a1878acbc0f8a79b81dd02b37f1dc1
devteam
parents:
8
diff
changeset
|
98 <param name="library_name" type="text" optional="True" label="The library name" help="LIBRARY_NAME; Optional"/> |
5eaa8a968300
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 1869970193a1878acbc0f8a79b81dd02b37f1dc1
devteam
parents:
8
diff
changeset
|
99 <param name="platform_unit" type="text" optional="True" label="The platform unit (often run_barcode.lane)" help="PLATFORM_UNIT; Optional"/> |
5eaa8a968300
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 1869970193a1878acbc0f8a79b81dd02b37f1dc1
devteam
parents:
8
diff
changeset
|
100 <param name="platform" type="text" optional="True" label="The platform type (e.g. illumina, 454)" help="PLATFORM; Optional"/> |
5eaa8a968300
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 1869970193a1878acbc0f8a79b81dd02b37f1dc1
devteam
parents:
8
diff
changeset
|
101 <param name="sequencing_center" type="text" optional="True" label="The sequencing center from which the data originated" help="SEQUENCING_CENTER; Optional"/> |
5 | 102 |
103 <param name="predicted_insert_size" type="integer" min="0" max="100000" optional="True" label="Predicted median insert size, to insert into the read group header" help="PREDICTED_INSERT_SIZE; Optional"/> | |
9
5eaa8a968300
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 1869970193a1878acbc0f8a79b81dd02b37f1dc1
devteam
parents:
8
diff
changeset
|
104 <param name="comment" type="text" optional="True" label="Comment to include in the output dataset's header" help="COMMENT; Optional"/> |
5eaa8a968300
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 1869970193a1878acbc0f8a79b81dd02b37f1dc1
devteam
parents:
8
diff
changeset
|
105 <param name="description" type="text" optional="True" label="Optional description information" help="DESCRIPTION; Optional"/> |
5 | 106 <param name="run_date" optional="True" type="text" label="Run date" help="RGDT; Optional; Format=YYYY-MM-DD (eg 1997-07-16)"/> |
107 <param name="min_q" type="integer" value="0" min="0" max="100" label="Minimum quality allowed in the input fastq" help="MIN_Q; An exception will be thrown if a quality is less than this value; default=0"/> | |
108 <param name="max_q" type="integer" value="93" min="0" max="100" label="Minimum quality allowed in the input fastq" help="MAX_Q; An exception will be thrown if a quality is greater than this value; default=93"/> | |
109 <param name="strip_unpairied_mate_number" type="boolean" truevalue="true" falsevalue="false" label="If true and this is an unpaired fastq any occurance of '/1' will be removed from the end of a read name" help="STRIP_UNPAIRED_MATE_NUMBER; default=false"/> | |
110 <param name="allow_and_ignore_empty_lines" type="boolean" truevalue="true" falsevalue="false" label="Allow (and ignore) empty lines" help="ALLOW_AND_IGNORE_EMPTY_LINES; default=false"/> | |
111 | |
112 <expand macro="VS" /> | |
113 | |
114 </inputs> | |
115 | |
0 | 116 <outputs> |
5 | 117 <data format="bam" name="outFile" label="${tool.name} on ${on_string}: reads as unaligned BAM"/> |
0 | 118 </outputs> |
5 | 119 |
0 | 120 <tests> |
5 | 121 <test> |
122 <param name="input_type_selector" value="pe" /> | |
123 <param name="quality_format" value="Standard" /> | |
124 <param name="read_group_name" value="A" /> | |
125 <param name="sample_name" value="sample-a" /> | |
126 <param name="library_name" value="A"/> | |
127 <param name="platform_unit" value="A"/> | |
128 <param name="platform" value="Illumina"/> | |
129 <param name="sequencing_center" value="A"/> | |
130 <param name="predicted_insert_size" value="300"/> | |
131 <param name="comment" value="A"/> | |
132 <param name="description" value="A"/> | |
133 <param name="run_date" value="2014-10-10"/> | |
134 <param name="min_q" value="0" /> | |
135 <param name="max_q" value="93" /> | |
136 <param name="strip_unpairied_mate_number" value="False" /> | |
137 <param name="allow_and_ignore_empty_lines" value="False" /> | |
138 <param name="validation_stringency" value="LENIENT"/> | |
139 <param name="fastq" value="picard_FastqToSam_read1.fq" ftype="fastq" /> | |
140 <param name="fastq2" value="picard_FastqToSam_read2.fq" ftype="fastq" /> | |
141 <output name="outFile" file="picard_FastqToSam_test1.bam" ftype="bam" lines_diff="4"/> | |
142 </test> | |
0 | 143 </tests> |
5 | 144 |
0 | 145 <help> |
5 | 146 |
147 .. class:: infomark | |
148 | |
149 **Purpose** | |
150 | |
151 Computes a number of metrics that are useful for evaluating coverage and performance of whole genome sequencing experiments. | |
152 | |
153 @dataset_collections@ | |
154 | |
155 @RG@ | |
156 | |
157 @description@ | |
0 | 158 |
5 | 159 FASTQ=File |
160 F1=File Input fastq file for single end data, or first read in paired end | |
161 data. Required. | |
162 | |
163 FASTQ2=File | |
164 F2=File Input fastq file for the second read of paired end data (if used). | |
165 | |
166 QUALITY_FORMAT=FastqQualityFormat | |
167 V=FastqQualityFormat A value describing how the quality values are encoded in the fastq. Either Solexa for | |
168 pre-pipeline 1.3 style scores (solexa scaling + 66), Illumina for pipeline 1.3 and above | |
169 (phred scaling + 64) or Standard for phred scaled scores with a character shift of 33. | |
170 If this value is not specified, the quality format will be detected automatically. | |
171 Default value: null. Possible values: {Solexa, Illumina, Standard} | |
0 | 172 |
5 | 173 READ_GROUP_NAME=String |
174 RG=String Read group name Default value: A. | |
175 | |
176 SAMPLE_NAME=String | |
177 SM=String Sample name to insert into the read group header Required. | |
178 | |
179 LIBRARY_NAME=String | |
180 LB=String The library name to place into the LB attribute in the read group header. | |
181 | |
182 PLATFORM_UNIT=String | |
183 PU=String The platform unit (often run_barcode.lane) to insert into the read group header. | |
184 | |
185 PLATFORM=String | |
186 PL=String The platform type (e.g. illumina, solid) to insert into the read group header. | |
187 | |
188 SEQUENCING_CENTER=String | |
189 CN=String The sequencing center from which the data originated. | |
190 | |
191 PREDICTED_INSERT_SIZE=Integer | |
192 PI=Integer Predicted median insert size, to insert into the read group header. | |
193 | |
194 COMMENT=String | |
195 CO=String Comment to include in the merged output file's header. | |
196 | |
197 DESCRIPTION=String | |
198 DS=String Inserted into the read group header. | |
199 | |
200 RUN_DATE=Iso8601Date | |
201 DT=Iso8601Date Date the run was produced, to insert into the read group header. | |
202 | |
203 MIN_Q=Integer Minimum quality allowed in the input fastq. An exception will be thrown if a quality is | |
204 less than this value. Default value: 0. | |
205 | |
206 MAX_Q=Integer Maximum quality allowed in the input fastq. An exception will be thrown if a quality is | |
207 greater than this value. Default value: 93. | |
208 | |
209 STRIP_UNPAIRED_MATE_NUMBER=Boolean | |
210 If true and this is an unpaired fastq any occurance of '/1' will be removed from the end | |
211 of a read name. Default value: false. Possible values: {true, false} | |
212 | |
213 ALLOW_AND_IGNORE_EMPTY_LINES=Boolean | |
214 Allow (and ignore) empty lines Default value: false. Possible values: {true, false} | |
215 | |
0 | 216 |
5 | 217 @more_info@ |
0 | 218 |
5 | 219 </help> |
9
5eaa8a968300
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 1869970193a1878acbc0f8a79b81dd02b37f1dc1
devteam
parents:
8
diff
changeset
|
220 <citations> |
5eaa8a968300
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 1869970193a1878acbc0f8a79b81dd02b37f1dc1
devteam
parents:
8
diff
changeset
|
221 </citations> |
5 | 222 </tool> |