annotate express_wrapper.xml @ 0:7b0708761d05 draft default tip

Imported from capsule None
author devteam
date Mon, 27 Jan 2014 09:27:10 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
1 <tool id="express" name="eXpress" version="1.1.1">
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
2 <description>Quantify the abundances of a set of target sequences from sampled subsequences</description>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
3 <requirements>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
4 <requirement type="package" version="1.1.1">eXpress</requirement>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
5 </requirements>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
6 <command>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
7 express --no-update-check
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
8 ## Additional parameters.
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
9 #if $additional_params.use_additional == "yes":
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
10 -B $additional_params.additional_batch
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
11 -O $additional_params.additional_online
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
12
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
13 #if str( $additional_params.calc_covar ) == 'yes':
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
14 --calc-covar
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
15 #end if
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
16
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
17 -m $additional_params.mean_fragment_length
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
18
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
19 -s $additional_params.fragment_length_deviation
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
20 #end if
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
21
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
22 ## Input files
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
23 $multiFasta
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
24 $bamOrSamFile
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
25 </command>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
26 <inputs>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
27 <param format="fasta" name="multiFasta" type="data" label="A set of target references (annotation) in multi-FASTA format" help="The multi-FASTA file can also be a fasta file." />
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
28 <param format="sam,bam" name="bamOrSamFile" type="data" label="Alignments in the BAM or SAM format" help="The set of aligned reads." />
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
29 <conditional name="additional_params">
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
30 <param name="use_additional" type="select" label="Use Additional Parameters?">
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
31 <option value="no">No</option>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
32 <option value="yes">Yes</option>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
33 </param>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
34 <when value="no">
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
35 </when>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
36 <when value="yes">
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
37 <param name="additional_batch" type="integer" label="Additional batch EM rounds" value="0" help="0 is default. Can improve accuracy at the cost of time."/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
38 <param name="additional_online" type="integer" label="Additional online EM rounds" value="0" help="0 is default. Can improve accuracy at the cost of time."/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
39 <param name="calc_covar" type="select" label="Calculate the covariance between targets and outputs?" help="This calculation requires slightly more time and memory.">
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
40 <option value="no">No</option>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
41 <option value="yes">Yes</option>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
42 </param>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
43 <param name="mean_fragment_length" type="integer" label="Specifies the mean fragment length" value="200" help="200 is default. While the empirical distribution is estimated from paired-end reads on-the-fly, this value paramaterizes the prior distribution."/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
44 <param name="fragment_length_deviation" type="integer" label="Specified the fragment length standard deviation" value="60" help="60 is default. While the empirical distribution is estimated from paired-end reads on-the-fly, this value paramaterizes the prior distribution."/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
45 </when>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
46 </conditional>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
47 </inputs>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
48 <outputs>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
49 <data format="txt" name="params" from_work_dir="params.xprs"/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
50 <data format="txt" name="results" from_work_dir="results.xprs"/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
51 <data format="txt" name="varcov" from_work_dir="varcov.xprs">
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
52 <filter>additional_params[ 'use_additional' ] == "yes" and additional_params[ 'calc_covar' ] == "yes"</filter>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
53 </data>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
54 </outputs>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
55
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
56 <tests>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
57 <!-- Test for the most simple case : Running eXpress with a .bam file and a .fasta file -->
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
58 <test>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
59 <!-- TopHat commands:
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
60 eXpress Trinity.fasta hits.bam
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
61 -->
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
62 <param name="bamOrSamFile" ftype="bam" value="eXpress_hits.bam"/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
63 <param name="multiFasta" ftype="fasta" value="eXpress_Trinity.fasta"/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
64 <param name="use_additional" value="no"/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
65
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
66 <output name="params" file="eXpress_params.xprs" lines_diff="300"/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
67 <output name="results" file="eXpress_results.xprs" lines_diff="10"/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
68 </test>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
69 <!-- Test for an other simple case : Running eXpress with a .sam file and a .fasta file -->
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
70 <test>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
71 <!-- TopHat commands:
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
72 eXpress Trinity.fasta hits.sam
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
73 -->
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
74 <param name="bamOrSamFile" ftype="sam" value="eXpress_hits.sam"/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
75 <param name="multiFasta" ftype="fasta" value="eXpress_Trinity.fasta"/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
76 <param name="use_additional" value="no"/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
77
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
78 <output name="params" file="eXpress_params_sam.xprs" lines_diff="300"/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
79 <output name="results" file="eXpress_results_sam.xprs" lines_diff="10"/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
80 </test>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
81 <!-- Test for a complex case : All the parameters has been activated and modified -->
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
82 <test>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
83 <!-- TopHat commands: eXpress -B 1 -O 1 ++calc-covar -m 300 -s 85 Trinity.fasta hits.sam -->
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
84 <param name="bamOrSamFile" ftype="sam" value="eXpress_hits_all_params.bam"/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
85 <param name="multiFasta" ftype="fasta" value="eXpress_Trinity_all_params.fasta"/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
86
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
87 <param name="use_additional" value="yes"/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
88 <param name="additional_batch" value="1"/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
89 <param name="additional_online" value="1" />
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
90 <param name="calc_covar" value="yes"/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
91 <param name="mean_fragment_length" value="300"/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
92 <param name="fragment_length_deviation" value="85"/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
93
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
94 <output name="params" file="eXpress_params_all_params.xprs" lines_diff="300"/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
95 <output name="results" file="eXpress_results_all_params.xprs" lines_diff="10"/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
96 <output name="varcov" file="eXpress_varcov_all_params.xprs"/>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
97 </test>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
98 </tests>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
99 <help>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
100 **eXpress Overview**
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
101
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
102 eXpress is a streaming tool for quantifying the abundances of a set of target sequences from sampled subsequences. Example applications include transcript-level RNA-Seq quantification, allele-specific/haplotype expression analysis (from RNA-Seq), transcription factor binding quantification in ChIP-Seq, and analysis of metagenomic data.
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
103
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
104 .. _Ensembl: http://bio.math.berkeley.edu/eXpress/
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
105
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
106 -----
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
107
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
108 **Input format**
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
109
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
110 eXpress requires two input files:
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
111
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
112 - A multi-FASTA file containing the transcript sequences.
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
113 - Read alignments to the multi-FASTA file in BAM or SAM format.
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
114
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
115 ------
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
116
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
117 **Outputs**
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
118
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
119 - The output for eXpress is saved in a file called results.xprs in an easy-to-parse tab-delimited format.
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
120
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
121 - Also, params.xprs contains the values of the other parameters (besides abundances and counts) estimated by eXpress.
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
122
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
123 - If you choose to use to calculate the covariance between targets and outputs, an other output would be : varcov.xprs.
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
124 </help>
7b0708761d05 Imported from capsule None
devteam
parents:
diff changeset
125 </tool>