comparison stringtie.xml @ 23:8eb8750070d4 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stringtie commit 252f4cccd66513c985b3df9480d73c8b9f994520
author iuc
date Tue, 30 Apr 2024 11:53:08 +0000
parents ae618321f34a
children cbf488da3b2c
comparison
equal deleted inserted replaced
22:ae618321f34a 23:8eb8750070d4
1 <tool id="stringtie" name="StringTie" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05"> 1 <tool id="stringtie" name="StringTie" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="22.05">
2 <description>transcript assembly and quantification</description> 2 <description>transcript assembly and quantification</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
3 <xrefs> 6 <xrefs>
4 <xref type="bio.tools">stringtie</xref> 7 <xref type="bio.tools">stringtie</xref>
5 </xrefs> 8 </xrefs>
6 <macros>
7 <import>macros.xml</import>
8 </macros>
9 <expand macro="requirements" /> 9 <expand macro="requirements" />
10 <expand macro="stdio" /> 10 <expand macro="stdio" />
11 <expand macro="version_command" /> 11 <expand macro="version_command" />
12 <command><![CDATA[ 12 <command><![CDATA[
13 #import re 13 #import re
146 <when value="short_reads"> 146 <when value="short_reads">
147 <param name="input_bam" type="data" format="sam,bam,cram" label="Input short mapped reads" help="Input BAM/SAM/CRAM file containing the short reads you want to assemble into transcripts"/> 147 <param name="input_bam" type="data" format="sam,bam,cram" label="Input short mapped reads" help="Input BAM/SAM/CRAM file containing the short reads you want to assemble into transcripts"/>
148 </when> 148 </when>
149 <when value="long_reads"> 149 <when value="long_reads">
150 <param name="input_bam" type="data" format="sam,bam,cram" label="Input long mapped reads" help="Input BAM/SAM/CRAM file containing the long reads you want to assemble into transcripts"/> 150 <param name="input_bam" type="data" format="sam,bam,cram" label="Input long mapped reads" help="Input BAM/SAM/CRAM file containing the long reads you want to assemble into transcripts"/>
151 <param name="error_splice" argument="-E" type="integer" min="0" max="50" value="25" label="Window around possibly erroneous splice sites" help="This option allows to define window around possibly erroneous splice sites from long reads to look out for correct splice sites. Default: 25" /> 151 <param name="error_splice" argument="-E" type="integer" min="0" max="50" value="25" label="Window around possibly erroneous splice sites" help="This option allows to define window around possibly erroneous splice sites from long reads to look out for correct splice sites. Default: 25"/>
152 </when> 152 </when>
153 <when value="mixed_reads"> 153 <when value="mixed_reads">
154 <param name="input_bam_short" type="data" format="sam,bam,cram" label="Input short mapped reads" help="Input BAM/SAM/CRAM file containing the short reads you want to assemble into transcripts"/> 154 <param name="input_bam_short" type="data" format="sam,bam,cram" label="Input short mapped reads" help="Input BAM/SAM/CRAM file containing the short reads you want to assemble into transcripts"/>
155 <param name="input_bam_long" type="data" format="sam,bam,cram" label="Input long mapped reads" help="Input BAM/SAM/CRAM file containing the long reads you want to assemble into transcripts"/> 155 <param name="input_bam_long" type="data" format="sam,bam,cram" label="Input long mapped reads" help="Input BAM/SAM/CRAM file containing the long reads you want to assemble into transcripts"/>
156 <param name="error_splice" argument="-E" type="integer" min="0" max="50" value="25" label="Window around possibly erroneous splice sites" help="This option allows to define window around possibly erroneous splice sites from long reads to look out for correct splice sites. Default: 25" /> 156 <param name="error_splice" argument="-E" type="integer" min="0" max="50" value="25" label="Window around possibly erroneous splice sites" help="This option allows to define window around possibly erroneous splice sites from long reads to look out for correct splice sites. Default: 25"/>
157 </when> 157 </when>
158 </conditional> 158 </conditional>
159 <param name="rna_strandness" type="select" label="Specify strand information" 159 <param name="rna_strandness" type="select" label="Specify strand information"
160 help="Select 'Forward (FR)' if your reads are from a forward-stranded library, 'Reverse (RF)' if your reads are from a reverse-stranded library, or 'Unstranded' if your reads are not from a stranded library. See Help section below for more information. Default: Unstranded"> 160 help="Select 'Forward (FR)' if your reads are from a forward-stranded library, 'Reverse (RF)' if your reads are from a reverse-stranded library, or 'Unstranded' if your reads are not from a stranded library. See Help section below for more information. Default: Unstranded">
161 <option value="" selected="true">Unstranded</option> 161 <option value="" selected="true">Unstranded</option>
175 <option value="history">Use a file from history</option> 175 <option value="history">Use a file from history</option>
176 </param> 176 </param>
177 <when value="cached"> 177 <when value="cached">
178 <param name="ref_builtin" type="select" label="Use a built-in GTF" help="If the GTF file for your transcriptome of interest is not listed, contact your Galaxy administrator"> 178 <param name="ref_builtin" type="select" label="Use a built-in GTF" help="If the GTF file for your transcriptome of interest is not listed, contact your Galaxy administrator">
179 <options from_data_table="gene_sets"> 179 <options from_data_table="gene_sets">
180 <filter type="sort_by" column="2" /> 180 <filter type="sort_by" column="2"/>
181 <validator type="no_options" message="No GTF file is available." /> 181 <validator type="no_options" message="No GTF file is available."/>
182 </options> 182 </options>
183 </param> 183 </param>
184 </when> 184 </when>
185 <when value="history"> 185 <when value="history">
186 <param name="ref_hist" type="data" format="gtf,gff3" label="GTF/GFF3 dataset to guide assembly" /> 186 <param name="ref_hist" type="data" format="gtf,gff3" label="GTF/GFF3 dataset to guide assembly"/>
187 </when> 187 </when>
188 </conditional> 188 </conditional>
189 <param name="input_estimation" argument="-e" type="boolean" truevalue="-e" falsevalue="" checked="false" label="Use Reference transcripts only?" help="Limit the processing of read alignments to only estimate and output the assembled transcripts matching the reference transcripts given with the -G option. With this option, read bundles with no reference transcripts (novel transcripts) will be entirely skipped, which may provide a considerable speed boost when the given set of reference transcripts is limited to a set of target genes, for example. Default: No"/> 189 <param name="input_estimation" argument="-e" type="boolean" truevalue="-e" falsevalue="" checked="false" label="Use Reference transcripts only?" help="Limit the processing of read alignments to only estimate and output the assembled transcripts matching the reference transcripts given with the -G option. With this option, read bundles with no reference transcripts (novel transcripts) will be entirely skipped, which may provide a considerable speed boost when the given set of reference transcripts is limited to a set of target genes, for example. Default: No"/>
190 <conditional name="special_outputs"> 190 <conditional name="special_outputs">
191 <param name="special_outputs_select" type="select" label="Output files for differential expression?" help="Select to output additional files that can be used with Ballgown or DESeq2/edgeR. See Help section below for more information"> 191 <param name="special_outputs_select" type="select" label="Output files for differential expression?" help="Select to output additional files that can be used with Ballgown or DESeq2/edgeR. See Help section below for more information">
193 <option value="deseq2">DESeq2/edgeR/limma-voom</option> 193 <option value="deseq2">DESeq2/edgeR/limma-voom</option>
194 <option value="no" selected="true">No additional output</option> 194 <option value="no" selected="true">No additional output</option>
195 </param> 195 </param>
196 <when value="ballgown" /> 196 <when value="ballgown" />
197 <when value="deseq2"> 197 <when value="deseq2">
198 <param name="read_length" argument="--length" type="integer" min="0" value="75" label="Specify the average read length" help="Default: 75" /> 198 <param name="read_length" argument="--length" type="integer" min="0" value="75" label="Specify the average read length" help="Default: 75"/>
199 <param name="clustering" argument="--cluster" type="boolean" truevalue="--cluster" falsevalue="" checked="false" label="Cluster overlapping genes" help="Choose whether to cluster genes with different gene IDs that overlap. Transcripts containing the geneID prefix will be ignored. Default: No" /> 199 <param name="clustering" argument="--cluster" type="boolean" truevalue="--cluster" falsevalue="" checked="false" label="Cluster overlapping genes" help="Choose whether to cluster genes with different gene IDs that overlap. Transcripts containing the geneID prefix will be ignored. Default: No"/>
200 <param argument="--string" type="text" label="Prefix used for transcripts" help="If a different prefix was used for geneIDs assigned by StringTie than the default, specify it here. Only letters and numbers will be retained in this field. Default: MSTRG" > 200 <param argument="--string" type="text" label="Prefix used for transcripts" help="If a different prefix was used for geneIDs assigned by StringTie than the default, specify it here. Only letters and numbers will be retained in this field. Default: MSTRG">
201 <sanitizer> 201 <sanitizer>
202 <valid initial="string.letters,string.digits"></valid> 202 <valid initial="string.letters,string.digits"></valid>
203 </sanitizer> 203 </sanitizer>
204 </param> 204 </param>
205 <param argument="--key" type="text" label="Prefix for clustering" help="If clustering, what prefix to use for geneIDs assigned by this script. Only letters and numbers will be retained in this field. Default: prepG"> 205 <param argument="--key" type="text" label="Prefix for clustering" help="If clustering, what prefix to use for geneIDs assigned by this script. Only letters and numbers will be retained in this field. Default: prepG">
213 <param name="coverage_file" argument="-C" type="boolean" truevalue="-C" falsevalue="" checked="false" label="Output coverage file?" help="If StringTie is run with this option (requires -G), it returns a file with all the transcripts in the reference annotation that are fully covered, end to end, by reads. The output format is a GTF file as described below. Each line of the GTF corresponds to a gene or transcript in the reference annotation."/> 213 <param name="coverage_file" argument="-C" type="boolean" truevalue="-C" falsevalue="" checked="false" label="Output coverage file?" help="If StringTie is run with this option (requires -G), it returns a file with all the transcripts in the reference annotation that are fully covered, end to end, by reads. The output format is a GTF file as described below. Each line of the GTF corresponds to a gene or transcript in the reference annotation."/>
214 </when> 214 </when>
215 </conditional> 215 </conditional>
216 <section name="adv" title="Advanced Options"> 216 <section name="adv" title="Advanced Options">
217 <param name="abundance_estimation" argument="-A" type="boolean" truevalue="-A" falsevalue="" checked="false" label="Output gene abundance estimation file?" help="If selected, gene abundances will be reported in a tab-delimited file, see below for more information"/> 217 <param name="abundance_estimation" argument="-A" type="boolean" truevalue="-A" falsevalue="" checked="false" label="Output gene abundance estimation file?" help="If selected, gene abundances will be reported in a tab-delimited file, see below for more information"/>
218 <param name="omit_sequences" argument="-x" type="text" value="" label="Do not assemble any transcripts on these reference sequence(s)" help="Ignore all read alignments (and thus do not attempt to perform transcript assembly) on the specified reference sequences. This parameter can be a single reference sequence name (e.g. chrM) or a comma-delimited list of sequence names (e.g. chrM,chrX,chrY). This can speed up StringTie especially in the case of excluding the mitochondrial genome, whose genes may have very high coverage in some cases, even though they may be of no interest for a particular RNA-Seq analysis. The reference sequence names are case sensitive, they must match identically the names of chromosomes/contigs of the target genome against which the RNA-Seq reads were aligned in the first place." /> 218 <param name="omit_sequences" argument="-x" type="text" value="" label="Do not assemble any transcripts on these reference sequence(s)" help="Ignore all read alignments (and thus do not attempt to perform transcript assembly) on the specified reference sequences. This parameter can be a single reference sequence name (e.g. chrM) or a comma-delimited list of sequence names (e.g. chrM,chrX,chrY). This can speed up StringTie especially in the case of excluding the mitochondrial genome, whose genes may have very high coverage in some cases, even though they may be of no interest for a particular RNA-Seq analysis. The reference sequence names are case sensitive, they must match identically the names of chromosomes/contigs of the target genome against which the RNA-Seq reads were aligned in the first place."/>
219 <param name="name_prefix" argument="-l" type="text" label="Name prefix for output transcripts" help="This prefix will be added to the name of the transcripts that are output. Only letters and numbers will be retained in this field. Default: STRG"> 219 <param name="name_prefix" argument="-l" type="text" label="Name prefix for output transcripts" help="This prefix will be added to the name of the transcripts that are output. Only letters and numbers will be retained in this field. Default: STRG">
220 <sanitizer> 220 <sanitizer>
221 <valid initial="string.letters,string.digits"></valid> 221 <valid initial="string.letters,string.digits"></valid>
222 </sanitizer> 222 </sanitizer>
223 </param> 223 </param>
224 <param name="fraction" argument="-f" type="float" min="0.0" max="1.0" value="0.01" label="Minimum isoform fraction" help="Sets the minimum isoform abundance of the predicted transcripts as a fraction of the most abundant transcript assembled at a given locus. Lower abundance transcripts are often artifacts of incompletely spliced precursors of processed transcripts. Default: 0.05"/> 224 <param name="fraction" argument="-f" type="float" min="0.0" max="1.0" value="0.01" label="Minimum isoform fraction" help="Sets the minimum isoform abundance of the predicted transcripts as a fraction of the most abundant transcript assembled at a given locus. Lower abundance transcripts are often artifacts of incompletely spliced precursors of processed transcripts. Default: 0.05"/>
225 <param name="min_tlen" argument="-m" type="integer" min="0" value="200" label="Minimum assembled transcript length" help="Sets the minimum length allowed for the predicted transcripts. Default: 200"/> 225 <param name="min_tlen" argument="-m" type="integer" min="0" value="200" label="Minimum assembled transcript length" help="Sets the minimum length allowed for the predicted transcripts. Default: 200"/>
226 <param name="min_anchor_len" argument="-a" type="integer" min="0" value="10" label="Minimum anchor length for junctions" help="Junctions that don't have spliced reads that align across them with at least this amount of bases on both sides are filtered out. Default: 10" /> 226 <param name="min_anchor_len" argument="-a" type="integer" min="0" value="10" label="Minimum anchor length for junctions" help="Junctions that don't have spliced reads that align across them with at least this amount of bases on both sides are filtered out. Default: 10"/>
227 <param name="min_anchor_cov" argument="-j" type="integer" min="0" value="1" label="Minimum junction coverage" help="There should be at least this many spliced reads that align across a junction (i.e. junction coverage). This number can be fractional, since some reads align in more than one place. A read that aligns in n places will contribute 1/n to the junction coverage. Default: 1" /> 227 <param name="min_anchor_cov" argument="-j" type="integer" min="0" value="1" label="Minimum junction coverage" help="There should be at least this many spliced reads that align across a junction (i.e. junction coverage). This number can be fractional, since some reads align in more than one place. A read that aligns in n places will contribute 1/n to the junction coverage. Default: 1"/>
228 <param name="min_bundle_cov" argument="-c" type="integer" min="0" value="1" label="Minimum bundle reads per bp coverage to consider for assembly" help="Sets the minimum read coverage allowed for the predicted transcripts. A transcript with a lower coverage than this value is not shown in the output. Default: 2"/> 228 <param name="min_bundle_cov" argument="-c" type="integer" min="0" value="1" label="Minimum bundle reads per bp coverage to consider for assembly" help="Sets the minimum read coverage allowed for the predicted transcripts. A transcript with a lower coverage than this value is not shown in the output. Default: 2"/>
229 <param name="bdist" argument="-g" type="integer" min="0" value="50" label="Gap between read mappings triggering a new bundle" help="Minimum locus gap separation value. Reads that are mapped closer than this distance are merged together in the same processing bundle. Default: 50 (bp)"/> 229 <param name="bdist" argument="-g" type="integer" min="0" value="50" label="Gap between read mappings triggering a new bundle" help="Minimum locus gap separation value. Reads that are mapped closer than this distance are merged together in the same processing bundle. Default: 50 (bp)"/>
230 <param name="bundle_fraction" argument="-M" type="float" min="0.0" max="1.0" value="1" label="Fraction of bundle allowed to be covered by multi-hit reads" help="Sets the maximum fraction of muliple-location-mapped reads that are allowed to be present at a given locus. Default: 0.95"/> 230 <param name="bundle_fraction" argument="-M" type="float" min="0.0" max="1.0" value="1" label="Fraction of bundle allowed to be covered by multi-hit reads" help="Sets the maximum fraction of muliple-location-mapped reads that are allowed to be present at a given locus. Default: 0.95"/>
231 <param name="disable_trimming" argument="-t" type="boolean" truevalue="-t" falsevalue="" checked="false" label="Disable trimming of predicted transcripts based on coverage" help="This parameter disables trimming at the ends of the assembled transcripts. By default StringTie adjusts the predicted transcript's start and/or stop coordinates based on sudden drops in coverage of the assembled transcript. Default: No" /> 231 <param name="disable_trimming" argument="-t" type="boolean" truevalue="-t" falsevalue="" checked="false" label="Disable trimming of predicted transcripts based on coverage" help="This parameter disables trimming at the ends of the assembled transcripts. By default StringTie adjusts the predicted transcript's start and/or stop coordinates based on sudden drops in coverage of the assembled transcript. Default: No"/>
232 <param name="multi_mapping" argument="-u" type="boolean" truevalue="-u" falsevalue="" checked="false" label="Disable multi-mapping correction" help="Default: No"/> 232 <param name="multi_mapping" argument="-u" type="boolean" truevalue="-u" falsevalue="" checked="false" label="Disable multi-mapping correction" help="Default: No"/>
233 <param name="point_features" type="data" format="tabular" optional="true" label="Input point-features dataset" help="Loads a list of point-features from a text feature file to guide the transcriptome assembly. Accepted point features are transcription start sites (TSS) and polyadenylation sites (CPAS). There are four tab-delimited columns in the feature file. The first three define the location of the point feature on the cromosome (sequence name, coordinate and strand), and the last is the type of the feature (TSS or CPAS)."/> 233 <param name="point_features" type="data" format="tabular" optional="true" label="Input point-features dataset" help="Loads a list of point-features from a text feature file to guide the transcriptome assembly. Accepted point features are transcription start sites (TSS) and polyadenylation sites (CPAS). There are four tab-delimited columns in the feature file. The first three define the location of the point feature on the cromosome (sequence name, coordinate and strand), and the last is the type of the feature (TSS or CPAS)."/>
234 </section> 234 </section>
235 </inputs> 235 </inputs>
236 <outputs> 236 <outputs>
237 <data name="output_gtf" format="gtf" label="${tool.name} on ${on_string}: Assembled transcripts" /> 237 <data name="output_gtf" format="gtf" label="${tool.name} on ${on_string}: Assembled transcripts"/>
238 <data name="gene_abundance_estimation" format="tabular" label="${tool.name} on ${on_string}: Gene abundance estimates"> 238 <data name="gene_abundance_estimation" format="tabular" label="${tool.name} on ${on_string}: Gene abundance estimates">
239 <filter>adv['abundance_estimation']</filter> 239 <filter>adv['abundance_estimation']</filter>
240 </data> 240 </data>
241 <data name="coverage" format="gtf" label="${tool.name} on ${on_string}: Coverage"> 241 <data name="coverage" format="gtf" label="${tool.name} on ${on_string}: Coverage">
242 <filter>guide['use_guide'] == 'yes' and guide['coverage_file'] is True </filter> 242 <filter>guide['use_guide'] == 'yes' and guide['coverage_file'] is True </filter>
274 <tests> 274 <tests>
275 <!--Ensure default GTF output works --> 275 <!--Ensure default GTF output works -->
276 <test expect_num_outputs="1"> 276 <test expect_num_outputs="1">
277 <conditional name="input_options"> 277 <conditional name="input_options">
278 <param name="input_mode" value="short_reads"/> 278 <param name="input_mode" value="short_reads"/>
279 <param name="input_bam" ftype="bam" value="stringtie_in1.bam" /> 279 <param name="input_bam" ftype="bam" value="stringtie_in1.bam"/>
280 </conditional> 280 </conditional>
281 <output name="output_gtf" file="stringtie_out1_re.gtf" ftype="gtf" compare="re_match" sort="true"/> 281 <output name="output_gtf" file="stringtie_out1_re.gtf" ftype="gtf" lines_diff="2"/>
282 </test> 282 </test>
283 <!--Ensure fraction option works --> 283 <!--Ensure fraction option works -->
284 <test expect_num_outputs="1"> 284 <test expect_num_outputs="1">
285 <conditional name="input_options"> 285 <conditional name="input_options">
286 <param name="input_mode" value="short_reads"/> 286 <param name="input_mode" value="short_reads"/>
287 <param name="input_bam" ftype="bam" value="stringtie_in1.bam" /> 287 <param name="input_bam" ftype="bam" value="stringtie_in1.bam"/>
288 </conditional> 288 </conditional>
289 <param name="fraction" value="0.17" /> 289 <param name="fraction" value="0.17"/>
290 <output name="output_gtf" file="stringtie_out2_re.gtf" ftype="gtf" compare="re_match" sort="true"/> 290 <output name="output_gtf" file="stringtie_out2_re.gtf" ftype="gtf" lines_diff="2"/>
291 </test> 291 </test>
292 <!--Ensure guide option works --> 292 <!--Ensure guide option works -->
293 <test expect_num_outputs="1"> 293 <test expect_num_outputs="1">
294 <conditional name="input_options"> 294 <conditional name="input_options">
295 <param name="input_mode" value="short_reads"/> 295 <param name="input_mode" value="short_reads"/>
296 <param name="input_bam" ftype="bam" value="stringtie_in1.bam" /> 296 <param name="input_bam" ftype="bam" value="stringtie_in1.bam"/>
297 </conditional> 297 </conditional>
298 <param name="use_guide" value="yes" /> 298 <param name="use_guide" value="yes"/>
299 <param name="guide_gff_select" value="history" /> 299 <param name="guide_gff_select" value="history"/>
300 <param name="ref_hist" ftype="gtf" value="stringtie_in.gtf" /> 300 <param name="ref_hist" ftype="gtf" value="stringtie_in.gtf" />
301 <output name="output_gtf" file="stringtie_out3_re.gtf" ftype="gtf" compare="re_match" sort="true"/> 301 <output name="output_gtf" file="stringtie_out3_re.gtf" ftype="gtf" lines_diff="2"/>
302 </test> 302 </test>
303 <!--Ensure guide with fraction works --> 303 <!--Ensure guide with fraction works -->
304 <test expect_num_outputs="1"> 304 <test expect_num_outputs="1">
305 <conditional name="input_options"> 305 <conditional name="input_options">
306 <param name="input_mode" value="short_reads"/> 306 <param name="input_mode" value="short_reads"/>
307 <param name="input_bam" ftype="bam" value="stringtie_in1.bam" /> 307 <param name="input_bam" ftype="bam" value="stringtie_in1.bam"/>
308 </conditional> 308 </conditional>
309 <param name="use_guide" value="yes" /> 309 <param name="use_guide" value="yes"/>
310 <param name="guide_gff_select" value="history" /> 310 <param name="guide_gff_select" value="history"/>
311 <param name="ref_hist" ftype="gtf" value="stringtie_in.gtf" /> 311 <param name="ref_hist" ftype="gtf" value="stringtie_in.gtf"/>
312 <param name="fraction" value="0.17" /> 312 <param name="fraction" value="0.17"/>
313 <output name="output_gtf" file="stringtie_out4_re.gtf" ftype="gtf" compare="re_match" sort="true"/> 313 <output name="output_gtf" file="stringtie_out4_re.gtf" ftype="gtf" lines_diff="2"/>
314 </test> 314 </test>
315 <!--Ensure coverage and output for Ballgown works --> 315 <!--Ensure coverage and output for Ballgown works -->
316 <test expect_num_outputs="7"> 316 <test expect_num_outputs="7">
317 <conditional name="input_options"> 317 <conditional name="input_options">
318 <param name="input_mode" value="short_reads"/> 318 <param name="input_mode" value="short_reads"/>
319 <param name="input_bam" ftype="bam" value="stringtie_in1.bam" /> 319 <param name="input_bam" ftype="bam" value="stringtie_in1.bam"/>
320 </conditional> 320 </conditional>
321 <param name="use_guide" value="yes" /> 321 <param name="use_guide" value="yes"/>
322 <param name="guide_gff_select" value="history" /> 322 <param name="guide_gff_select" value="history"/>
323 <param name="ref_hist" ftype="gtf" value="stringtie_in.gtf" /> 323 <param name="ref_hist" ftype="gtf" value="stringtie_in.gtf"/>
324 <param name="special_outputs_select" value="ballgown" /> 324 <param name="special_outputs_select" value="ballgown"/>
325 <param name="coverage_file" value="true" /> 325 <param name="coverage_file" value="true"/>
326 <output name="exon_expression" file="./ballgown/e_data.ctab" ftype="tabular" /> 326 <output name="exon_expression" file="./ballgown/e_data.ctab" ftype="tabular"/>
327 <output name="intron_expression" file="./ballgown/i_data.ctab" ftype="tabular" /> 327 <output name="intron_expression" file="./ballgown/i_data.ctab" ftype="tabular"/>
328 <output name="transcript_expression" file="./ballgown/t_data.ctab" ftype="tabular" /> 328 <output name="transcript_expression" file="./ballgown/t_data.ctab" ftype="tabular"/>
329 <output name="exon_transcript_mapping" file="./ballgown/e2t.ctab" ftype="tabular" /> 329 <output name="exon_transcript_mapping" file="./ballgown/e2t.ctab" ftype="tabular"/>
330 <output name="intron_transcript_mapping" file="./ballgown/i2t.ctab" ftype="tabular" /> 330 <output name="intron_transcript_mapping" file="./ballgown/i2t.ctab" ftype="tabular"/>
331 <output name="output_gtf" file="stringtie_out5.gtf" ftype="gtf" compare="re_match" sort="true"/> 331 <output name="output_gtf" file="stringtie_out5.gtf" ftype="gtf" lines_diff="2"/>
332 <output name="coverage" file="stringtie_out_coverage.gtf" ftype="gtf" compare="re_match" sort="true"/> 332 <output name="coverage" file="stringtie_out_coverage.gtf" ftype="gtf" lines_diff="2"/>
333 </test> 333 </test>
334 <!--Ensure output for edgeR works --> 334 <!--Ensure output for edgeR works -->
335 <test expect_num_outputs="5"> 335 <test expect_num_outputs="5">
336 <conditional name="input_options"> 336 <conditional name="input_options">
337 <param name="input_mode" value="short_reads"/> 337 <param name="input_mode" value="short_reads"/>
338 <param name="input_bam" ftype="bam" value="stringtie_in1.bam" /> 338 <param name="input_bam" ftype="bam" value="stringtie_in1.bam"/>
339 </conditional> 339 </conditional>
340 <param name="use_guide" value="yes" /> 340 <param name="use_guide" value="yes"/>
341 <param name="special_outputs_select" value="deseq2" /> 341 <param name="special_outputs_select" value="deseq2"/>
342 <param name="input_estimation" value="true" /> 342 <param name="input_estimation" value="true"/>
343 <param name="guide_gff_select" value="history" /> 343 <param name="guide_gff_select" value="history" />
344 <param name="ref_hist" ftype="gtf" value="stringtie_in.gtf" /> 344 <param name="ref_hist" ftype="gtf" value="stringtie_in.gtf"/>
345 <param name="coverage_file" value="true" /> 345 <param name="coverage_file" value="true"/>
346 <param name="clustering" value="true" /> 346 <param name="clustering" value="true"/>
347 <output name="gene_counts" file="gene_counts_edger.tsv" ftype="tabular" /> 347 <output name="gene_counts" file="gene_counts_edger.tsv" ftype="tabular"/>
348 <output name="transcript_counts" file="transcript_counts_edger.tsv" ftype="tabular" /> 348 <output name="transcript_counts" file="transcript_counts_edger.tsv" ftype="tabular"/>
349 <output name="legend" file="legend.tsv" ftype="tabular" /> 349 <output name="legend" file="legend.tsv" ftype="tabular"/>
350 <output name="output_gtf" file="stringtie_out6.gtf" ftype="gtf" compare="re_match" sort="true"/> 350 <output name="output_gtf" file="stringtie_out6.gtf" ftype="gtf" lines_diff="2"/>
351 <output name="coverage" file="stringtie_out_coverage.gtf" ftype="gtf" compare="re_match" sort="true"/> 351 <output name="coverage" file="stringtie_out_coverage.gtf" ftype="gtf" lines_diff="2"/>
352 </test> 352 </test>
353 <!--Ensure gene abundances output works --> 353 <!--Ensure gene abundances output works -->
354 <test expect_num_outputs="2"> 354 <test expect_num_outputs="2">
355 <conditional name="input_options"> 355 <conditional name="input_options">
356 <param name="input_mode" value="short_reads"/> 356 <param name="input_mode" value="short_reads"/>
357 <param name="input_bam" ftype="bam" value="stringtie_in1.bam" /> 357 <param name="input_bam" ftype="bam" value="stringtie_in1.bam"/>
358 </conditional> 358 </conditional>
359 <param name="use_guide" value="yes" /> 359 <param name="use_guide" value="yes"/>
360 <param name="guide_gff_select" value="history" /> 360 <param name="guide_gff_select" value="history"/>
361 <param name="ref_hist" ftype="gtf" value="stringtie_in.gtf" /> 361 <param name="ref_hist" ftype="gtf" value="stringtie_in.gtf"/>
362 <param name="fraction" value="0.17" /> 362 <param name="fraction" value="0.17"/>
363 <param name="abundance_estimation" value="true" /> 363 <param name="abundance_estimation" value="true"/>
364 <output name="output_gtf" file="stringtie_out4_re.gtf" ftype="gtf" compare="re_match" sort="true"/> 364 <output name="output_gtf" file="stringtie_out4_re.gtf" ftype="gtf" lines_diff="2"/>
365 <output name="gene_abundance_estimation" file="stringtie_out7.tsv" ftype="tabular" lines_diff="2" /> 365 <output name="gene_abundance_estimation" file="stringtie_out7.tsv" ftype="tabular" lines_diff="2" />
366 </test> 366 </test>
367 <!--Ensure another fraction value works --> 367 <!--Ensure another fraction value works -->
368 <test expect_num_outputs="1"> 368 <test expect_num_outputs="1">
369 <conditional name="input_options"> 369 <conditional name="input_options">
370 <param name="input_mode" value="short_reads"/> 370 <param name="input_mode" value="short_reads"/>
371 <param name="input_bam" ftype="bam" value="stringtie_in1.bam" /> 371 <param name="input_bam" ftype="bam" value="stringtie_in1.bam"/>
372 </conditional> 372 </conditional>
373 <param name="use_guide" value="yes" /> 373 <param name="use_guide" value="yes"/>
374 <param name="guide_gff_select" value="history" /> 374 <param name="guide_gff_select" value="history"/>
375 <param name="ref_hist" ftype="gtf" value="stringtie_in.gtf" /> 375 <param name="ref_hist" ftype="gtf" value="stringtie_in.gtf"/>
376 <param name="fraction" value="0.15" /> 376 <param name="fraction" value="0.15"/>
377 <output name="output_gtf" file="stringtie_out8.gtf" ftype="gtf" compare="re_match" sort="true"/> 377 <output name="output_gtf" file="stringtie_out8.gtf" ftype="gtf" lines_diff="2"/>
378 </test> 378 </test>
379 <!--Ensure built-in GTFs work --> 379 <!--Ensure built-in GTFs work -->
380 <test expect_num_outputs="1"> 380 <test expect_num_outputs="1">
381 <conditional name="input_options"> 381 <conditional name="input_options">
382 <param name="input_mode" value="short_reads"/> 382 <param name="input_mode" value="short_reads"/>
383 <param name="input_bam" ftype="bam" value="stringtie_in1.bam" /> 383 <param name="input_bam" ftype="bam" value="stringtie_in1.bam"/>
384 </conditional> 384 </conditional>
385 <param name="use_guide" value="yes" /> 385 <param name="use_guide" value="yes"/>
386 <param name="guide_gff_select" value="cached" /> 386 <param name="guide_gff_select" value="cached"/>
387 <param name="fraction" value="0.15" /> 387 <param name="fraction" value="0.15"/>
388 <output name="output_gtf" file="stringtie_out9.gtf" ftype="gtf" compare="re_match" sort="true"/> 388 <output name="output_gtf" file="stringtie_out9.gtf" ftype="gtf" lines_diff="2"/>
389 </test> 389 </test>
390 <!-- Test long reads input --> 390 <!-- Test long reads input -->
391 <test expect_num_outputs="1"> 391 <test expect_num_outputs="1">
392 <conditional name="input_options"> 392 <conditional name="input_options">
393 <param name="input_mode" value="long_reads"/> 393 <param name="input_mode" value="long_reads"/>
394 <param name="input_bam" ftype="bam" value="stringtie_in1.bam" /> 394 <param name="input_bam" ftype="bam" value="stringtie_in1.bam"/>
395 </conditional> 395 </conditional>
396 <param name="use_guide" value="yes" /> 396 <param name="use_guide" value="yes"/>
397 <param name="guide_gff_select" value="cached" /> 397 <param name="guide_gff_select" value="cached"/>
398 <param name="fraction" value="0.15" /> 398 <param name="fraction" value="0.15"/>
399 <output name="output_gtf" file="stringtie_out10.gtf" ftype="gtf" compare="re_match" sort="true"/> 399 <output name="output_gtf" file="stringtie_out10.gtf" ftype="gtf" lines_diff="2"/>
400 </test> 400 </test>
401 <!-- Test error splice option --> 401 <!-- Test error splice option -->
402 <test expect_num_outputs="1"> 402 <test expect_num_outputs="1">
403 <conditional name="input_options"> 403 <conditional name="input_options">
404 <param name="input_mode" value="long_reads"/> 404 <param name="input_mode" value="long_reads"/>
405 <param name="input_bam" ftype="bam" value="long_reads.bam" /> 405 <param name="input_bam" ftype="bam" value="long_reads.bam"/>
406 <param name="error_splice" value="30" /> 406 <param name="error_splice" value="30"/>
407 </conditional> 407 </conditional>
408 <param name="use_guide" value="yes" /> 408 <param name="use_guide" value="yes"/>
409 <param name="guide_gff_select" value="cached" /> 409 <param name="guide_gff_select" value="cached"/>
410 <param name="fraction" value="0.15" /> 410 <param name="fraction" value="0.15"/>
411 <output name="output_gtf" file="stringtie_out11.gtf" ftype="gtf" compare="re_match" sort="true"/> 411 <output name="output_gtf" file="stringtie_out11.gtf" ftype="gtf" lines_diff="2"/>
412 </test> 412 </test>
413 <!-- Test mixed reads input --> 413 <!-- Test mixed reads input -->
414 <test expect_num_outputs="1"> 414 <test expect_num_outputs="1">
415 <conditional name="input_options"> 415 <conditional name="input_options">
416 <param name="input_mode" value="mixed_reads"/> 416 <param name="input_mode" value="mixed_reads"/>
417 <param name="input_bam_short" ftype="bam" value="short_reads.bam" /> 417 <param name="input_bam_short" ftype="bam" value="short_reads.bam"/>
418 <param name="input_bam_long" ftype="bam" value="long_reads.bam" /> 418 <param name="input_bam_long" ftype="bam" value="long_reads.bam"/>
419 </conditional> 419 </conditional>
420 <output name="output_gtf" ftype="gtf"> 420 <output name="output_gtf" ftype="gtf">
421 <assert_contents> 421 <assert_contents>
422 <has_text text="5.043160"/> 422 <has_text text="5.043160"/>
423 <has_text text="StringTie version @TOOL_VERSION@"/> 423 <has_text text="StringTie version @TOOL_VERSION@"/>
427 </test> 427 </test>
428 <!-- Test cram input --> 428 <!-- Test cram input -->
429 <test expect_num_outputs="1"> 429 <test expect_num_outputs="1">
430 <conditional name="input_options"> 430 <conditional name="input_options">
431 <param name="input_mode" value="mixed_reads"/> 431 <param name="input_mode" value="mixed_reads"/>
432 <param name="input_bam_short" ftype="cram" value="stringtie_in.cram" /> 432 <param name="input_bam_short" ftype="cram" value="stringtie_in.cram"/>
433 <param name="input_bam_long" ftype="cram" value="stringtie_in.cram" /> 433 <param name="input_bam_long" ftype="cram" value="stringtie_in.cram"/>
434 </conditional> 434 </conditional>
435 <output name="output_gtf" ftype="gtf"> 435 <output name="output_gtf" ftype="gtf">
436 <assert_contents> 436 <assert_contents>
437 <has_text text="gi|251831106|ref|NC_012920.1|"/> 437 <has_text text="gi|251831106|ref|NC_012920.1|"/>
438 <has_text text="StringTie version @TOOL_VERSION@"/> 438 <has_text text="StringTie version @TOOL_VERSION@"/>