comparison RNA_fragment_size.xml @ 51:09846d5169fa draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
author iuc
date Tue, 14 Mar 2017 10:23:21 -0400
parents
children 5873cd7afb67
comparison
equal deleted inserted replaced
50:f242ee103277 51:09846d5169fa
1 <tool id="rseqc_RNA_fragment_size" name="RNA fragment size" version="@WRAPPER_VERSION@">
2 <description>
3 calculates the fragment size for each gene/transcript
4 </description>
5
6 <macros>
7 <import>rseqc_macros.xml</import>
8 </macros>
9
10 <expand macro="requirements" />
11
12 <expand macro="stdio" />
13
14 <version_command><![CDATA[RNA_fragment_size.py --version]]></version_command>
15
16 <command><![CDATA[
17 ln -sf '${input}' 'input.bam' &&
18 ln -sf '$input.metadata.bam_index' 'input.bam.bai' &&
19 RNA_fragment_size.py -i 'input.bam' --refgene='${refgene}' --mapq=${mapq} --frag-num=${fragnum} > '${output}'
20 ]]>
21 </command>
22
23 <inputs>
24 <expand macro="bam_param" />
25 <expand macro="refgene_param" />
26 <expand macro="mapq_param" />
27 <param name="fragnum" type="integer" value="3" label="Minimum number of fragments (default: 3)" help="(--frag-num)" />
28 </inputs>
29
30 <outputs>
31 <data format="tabular" name="output" />
32 </outputs>
33
34 <tests>
35 <test>
36 <param name="input" value="pairend_strandspecific_51mer_hg19_chr1_1-100000.bam" />
37 <param name="refgene" value="hg19_RefSeq_chr1_1-100000.bed" />
38 <output name="output" file="output.RNA_fragment_size.txt" />
39 </test>
40 </tests>
41
42 <help><![CDATA[
43 RNA_fragment_size.py
44 ++++++++++++++++++++
45
46 Calculate fragment size for each gene/transcript. For each transcript, it will
47 report : 1) Number of fragment that was used to estimate mean, median, std (see
48 below). 2) mean of fragment size 3) median of fragment size 4) stdev of fragment
49 size.
50
51 Inputs
52 ++++++
53
54 Input BAM/SAM file
55 Alignment file in BAM/SAM format.
56
57 Reference gene model
58 Reference gene model in BED format. Must be strandard 12-column BED file.
59 [required]
60
61 Minimum mapping quality
62 Minimum mapping quality for an alignment to be considered as "uniquely
63 mapped". default=30
64
65 Minimum number of fragments
66 Minimum number of fragments. default=3
67
68 @ABOUT@
69
70 ]]>
71
72 </help>
73
74 <expand macro="citations" />
75
76 </tool>