comparison dexseq_count.xml @ 2:6e8b61c54ff3 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dexseq commit 0a56599c36b4968095ec5a3cb589f94fb139466c
author iuc
date Sun, 28 Jan 2018 04:04:39 -0500
parents f1c406f9554c
children f89c9b25feb4
comparison
equal deleted inserted replaced
1:f1c406f9554c 2:6e8b61c54ff3
1 <tool id="dexseq_count" name="DEXSeq-Count" version="1.20.1"> 1 <tool id="dexseq_count" name="DEXSeq-Count" version="@VERSION@.0">
2 <description>Prepare and count exon abundancies from RNA-seq data</description> 2 <description>Prepare and count exon abundancies from RNA-seq data</description>
3 <requirements> 3 <macros>
4 <requirement type="package" version="1.20.1">bioconductor-dexseq</requirement> 4 <import>macros.xml</import>
5 <requirement type="package" version="0.6.1.post1">htseq</requirement> 5 </macros>
6 </requirements> 6 <expand macro="requirements">
7 <requirement type="package" version="0.9.1">htseq</requirement>
8 </expand>
7 <stdio> 9 <stdio>
8 <!-- Anything other than zero is an error --> 10 <!-- Anything other than zero is an error -->
9 <exit_code range="1:" /> 11 <exit_code range="1:" />
10 <exit_code range=":-1" /> 12 <exit_code range=":-1" />
11 <!-- In case the return code has not been set propery check stderr too --> 13 <!-- In case the return code has not been set propery check stderr too -->
12 <regex match="Error:" /> 14 <regex match="Error:" />
13 <regex match="Exception:" /> 15 <regex match="Exception:" />
14 </stdio> 16 </stdio>
15 <command> 17 <command><![CDATA[
16 <![CDATA[ 18 #if $mode.mode_select == "prepare":
17 #if $mode.mode_select == "prepare": 19 dexseq_prepare_annotation.py
18 dexseq_prepare_annotation.py 20 -r $mode.aggregate
19 -r $mode.aggregate 21 '$mode.gtffile'
20 '$mode.gtffile' 22 '$flattened_gtf_out'
21 '$flattened_gtf_out' 23 #elif $mode.mode_select == "count":
22 #elif $mode.mode_select == "count": 24 dexseq_count.py
23 dexseq_count.py 25 -f bam
24 -f bam 26 -p $mode.paired
25 -p $mode.paired 27 -s $mode.stranded
26 -s $mode.stranded 28 -a $mode.qual
27 -a $mode.qual 29 -r $mode.order
28 -r $mode.order 30 $mode.flattened_gtf_in
29 $mode.flattened_gtf_in 31 '$mode.bamfile'
30 '$mode.bamfile' 32 '$counts_file'
31 '$counts_file' 33 #end if
32 #end if 34 ]]></command>
33 ]]>
34 </command>
35 <inputs> 35 <inputs>
36 <conditional name="mode"> 36 <conditional name="mode">
37 <param name="mode_select" type="select" label="Mode of operation"> 37 <param name="mode_select" type="select" label="Mode of operation">
38 <option value="prepare">Prepare annotation</option> 38 <option value="prepare">Prepare annotation</option>
39 <option value="count">Count reads</option> 39 <option value="count">Count reads</option>
74 <tests> 74 <tests>
75 <test> 75 <test>
76 <param name="mode_select" value="prepare" /> 76 <param name="mode_select" value="prepare" />
77 <param name="gtffile" ftype="gff" value="original.gtf"/> 77 <param name="gtffile" ftype="gff" value="original.gtf"/>
78 <param name="aggregate" value="True"/> 78 <param name="aggregate" value="True"/>
79 <output name="flattened_gtf_out" file="flattened.gtf" ftype="gtf"/> 79 <output name="flattened_gtf_out" ftype="gtf" compare="sim_size" file="flattened.gtf"/>
80 </test> 80 </test>
81 </tests> 81 </tests>
82 82
83 <help> 83 <help><![CDATA[
84 <![CDATA[
85 .. class:: infomark 84 .. class:: infomark
86 85
87 **What it does** 86 **What it does**
88 87
89 The main goal of this tol is to count the number of reads/fragments per exon of each gene in RNA-seq sample. In addition it also prepares your annotation gtf file compatible for counting. 88 The main goal of this tool is to count the number of reads/fragments per exon of each gene in RNA-seq samples. In addition, it also prepares your annotation GTF file, making it compatible for counting.
90 89
91 90
92 **Inputs** 91 **Inputs**
93 92
94 Mode-preprare: Takes a normal gtf file as input. For example from ensembl database. 93 Mode-preprare: Takes a normal gtf file as input. For example from Ensembl database.
95 Mode-count: Inputs are flattened gtf file and BAM file. The flattened gtf file can be generated from 'prepare' mode of this tool. 94 Mode-count: Inputs are flattened GTF file and BAM file. The flattened GTF file can be generated from 'prepare' mode of this tool.
96 95
97 **Output** 96 **Output**
98 97
99 Mode-preprare: Flattened gtf file that contains only exons with corresponding gene ids from given gtf file. Sometimes two or more genes sharing an exon will be merged into an 'aggregate gene' if the aggregate option was used. 98 Mode-prepare: Flattened GTF file that contains only exons with corresponding gene ids from given GTF file. Sometimes two or more genes sharing an exon will be merged into an 'aggregate gene' if the aggregate option was used.
100 Mode-count: Two column tab-delimeted file with exon ids and their read counts. 99 Mode-count: Two column tab-delimited file with exon ids and their read counts.
101 100
102 .. _DEXSeq: http://master.bioconductor.org/packages/release/bioc/html/DEXSeq.html 101 .. _DEXSeq: http://master.bioconductor.org/packages/release/bioc/html/DEXSeq.html
103 102
104 ]]> 103 ]]></help>
105 </help>
106 <citations> 104 <citations>
107 <citation type="doi">10.1101/gr.133744.111</citation> 105 <citation type="doi">10.1101/gr.133744.111</citation>
108 </citations> 106 </citations>
109 </tool> 107 </tool>