annotate ballgown/ballgown.xml @ 3:896cdffe06ff draft

first upload
author theo.collard
date Wed, 26 Apr 2017 08:42:01 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
896cdffe06ff first upload
theo.collard
parents:
diff changeset
1 <tool id="ballgown" name="Ballgown" version="0.5.0" workflow_compatible="true">
896cdffe06ff first upload
theo.collard
parents:
diff changeset
2 <description>Flexible, isoform-level differential expression analysis</description>
896cdffe06ff first upload
theo.collard
parents:
diff changeset
3 <requirements>
896cdffe06ff first upload
theo.collard
parents:
diff changeset
4 <requirement type="package" version="2.2.0">bioconductor-ballgown</requirement>
896cdffe06ff first upload
theo.collard
parents:
diff changeset
5 <requirement type="package" version="0.5.0">r-dplyr</requirement>
896cdffe06ff first upload
theo.collard
parents:
diff changeset
6 <requirement type="package" version="1.3.2">r-optparse</requirement>
896cdffe06ff first upload
theo.collard
parents:
diff changeset
7
896cdffe06ff first upload
theo.collard
parents:
diff changeset
8 </requirements>
896cdffe06ff first upload
theo.collard
parents:
diff changeset
9 <command interpreter="Rscript" detect_errors="aggressive">
896cdffe06ff first upload
theo.collard
parents:
diff changeset
10 ##------------------------------------------------------------------------------------
896cdffe06ff first upload
theo.collard
parents:
diff changeset
11 ## This function reads the input file with the mapping between samples and files
896cdffe06ff first upload
theo.collard
parents:
diff changeset
12 ## E.g. of result:
896cdffe06ff first upload
theo.collard
parents:
diff changeset
13 ## mapping = {
896cdffe06ff first upload
theo.collard
parents:
diff changeset
14 ## "e2t.ctab" : "sample1",
896cdffe06ff first upload
theo.collard
parents:
diff changeset
15 ## "other.ctab" : "sample2",
896cdffe06ff first upload
theo.collard
parents:
diff changeset
16 ## "i2t.ctab" : "sample1",
896cdffe06ff first upload
theo.collard
parents:
diff changeset
17 ## "t_data.ctab": "sample1"
896cdffe06ff first upload
theo.collard
parents:
diff changeset
18 ## ...
896cdffe06ff first upload
theo.collard
parents:
diff changeset
19 ## }
896cdffe06ff first upload
theo.collard
parents:
diff changeset
20 ##------------------------------------------------------------------------------------
896cdffe06ff first upload
theo.collard
parents:
diff changeset
21 #def read_sample_mapping_file(sample_mapping_file):
896cdffe06ff first upload
theo.collard
parents:
diff changeset
22 #try
896cdffe06ff first upload
theo.collard
parents:
diff changeset
23 #set mapping = {}
896cdffe06ff first upload
theo.collard
parents:
diff changeset
24 #set file = open($sample_mapping_file.dataset.dataset.get_file_name(),'r')
896cdffe06ff first upload
theo.collard
parents:
diff changeset
25 #for $line in $file:
896cdffe06ff first upload
theo.collard
parents:
diff changeset
26 #set content= $line.strip().split('\t')
896cdffe06ff first upload
theo.collard
parents:
diff changeset
27 #for $map in $content:
896cdffe06ff first upload
theo.collard
parents:
diff changeset
28 #set mapping[$map]= $content[0]
896cdffe06ff first upload
theo.collard
parents:
diff changeset
29 #end for
896cdffe06ff first upload
theo.collard
parents:
diff changeset
30 #end for
896cdffe06ff first upload
theo.collard
parents:
diff changeset
31 #return $mapping
896cdffe06ff first upload
theo.collard
parents:
diff changeset
32 #except
896cdffe06ff first upload
theo.collard
parents:
diff changeset
33 #return None
896cdffe06ff first upload
theo.collard
parents:
diff changeset
34 #end try
896cdffe06ff first upload
theo.collard
parents:
diff changeset
35 #end def
896cdffe06ff first upload
theo.collard
parents:
diff changeset
36
896cdffe06ff first upload
theo.collard
parents:
diff changeset
37 ##------------------------------------------------------------------------------------
896cdffe06ff first upload
theo.collard
parents:
diff changeset
38 ## This function returns the name of the sample associated to a given file
896cdffe06ff first upload
theo.collard
parents:
diff changeset
39 ##------------------------------------------------------------------------------------
896cdffe06ff first upload
theo.collard
parents:
diff changeset
40 #def get_sample_name($dataset, $sample_mapping):
896cdffe06ff first upload
theo.collard
parents:
diff changeset
41 ##If the file with samples mapping was provided
896cdffe06ff first upload
theo.collard
parents:
diff changeset
42 #if $sample_mapping != None:
896cdffe06ff first upload
theo.collard
parents:
diff changeset
43 #return $sample_mapping.get($dataset.name, None)
896cdffe06ff first upload
theo.collard
parents:
diff changeset
44 ##Otherwise with extract the sample name from the filename
896cdffe06ff first upload
theo.collard
parents:
diff changeset
45 #else:
896cdffe06ff first upload
theo.collard
parents:
diff changeset
46 #return str($dataset.element_identifier)
896cdffe06ff first upload
theo.collard
parents:
diff changeset
47 #end if
896cdffe06ff first upload
theo.collard
parents:
diff changeset
48 #end def
896cdffe06ff first upload
theo.collard
parents:
diff changeset
49
896cdffe06ff first upload
theo.collard
parents:
diff changeset
50 ##------------------------------------------------------------------------------------
896cdffe06ff first upload
theo.collard
parents:
diff changeset
51 ## This function reads a dataset or list of datasets and sets the corresponding value
896cdffe06ff first upload
theo.collard
parents:
diff changeset
52 ## in the $result variable
896cdffe06ff first upload
theo.collard
parents:
diff changeset
53 ## e.g. of result
896cdffe06ff first upload
theo.collard
parents:
diff changeset
54 ##'sample1' : {
896cdffe06ff first upload
theo.collard
parents:
diff changeset
55 ## 'e_data': '/export/galaxy-central/database/files/000/dataset_13.dat'
896cdffe06ff first upload
theo.collard
parents:
diff changeset
56 ## 'i_data': '/export/galaxy-central/database/files/000/dataset_10.dat',
896cdffe06ff first upload
theo.collard
parents:
diff changeset
57 ## 't_data': '/export/galaxy-central/database/files/000/dataset_12.dat',
896cdffe06ff first upload
theo.collard
parents:
diff changeset
58 ## 'e2t': '/export/galaxy-central/database/files/000/dataset_9.dat',
896cdffe06ff first upload
theo.collard
parents:
diff changeset
59 ## 'i2t': '/export/galaxy-central/database/files/000/dataset_11.dat'
896cdffe06ff first upload
theo.collard
parents:
diff changeset
60 ## },
896cdffe06ff first upload
theo.collard
parents:
diff changeset
61 ##------------------------------------------------------------------------------------
896cdffe06ff first upload
theo.collard
parents:
diff changeset
62 #def read_input_files($param_name, $param_value, $result, $sample_mapping, $create_if_empty):
896cdffe06ff first upload
theo.collard
parents:
diff changeset
63 ## If input is a data collection
896cdffe06ff first upload
theo.collard
parents:
diff changeset
64 #if isinstance($param_value, list):
896cdffe06ff first upload
theo.collard
parents:
diff changeset
65 ## For each dataset
896cdffe06ff first upload
theo.collard
parents:
diff changeset
66 #for $dataset in $param_value:
896cdffe06ff first upload
theo.collard
parents:
diff changeset
67 ## Get the sample name
896cdffe06ff first upload
theo.collard
parents:
diff changeset
68 #set sample_name = $get_sample_name($dataset, $sample_mapping)
896cdffe06ff first upload
theo.collard
parents:
diff changeset
69 ## Check if sample is already registered
896cdffe06ff first upload
theo.collard
parents:
diff changeset
70 #if not($result.has_key($sample_name)):
896cdffe06ff first upload
theo.collard
parents:
diff changeset
71 #if ($create_if_empty == True):
896cdffe06ff first upload
theo.collard
parents:
diff changeset
72 #set result[$sample_name] = {}
896cdffe06ff first upload
theo.collard
parents:
diff changeset
73 #else:
896cdffe06ff first upload
theo.collard
parents:
diff changeset
74 #raise ValueError("Error in input. Please check that input contains all the required files for sample " + $sample_name)
896cdffe06ff first upload
theo.collard
parents:
diff changeset
75 #end if
896cdffe06ff first upload
theo.collard
parents:
diff changeset
76 #end if
896cdffe06ff first upload
theo.collard
parents:
diff changeset
77 ## Register the file to the sample
896cdffe06ff first upload
theo.collard
parents:
diff changeset
78 #set result[$sample_name][$param_name] = str($dataset.dataset.dataset.get_file_name())
896cdffe06ff first upload
theo.collard
parents:
diff changeset
79 #end for
896cdffe06ff first upload
theo.collard
parents:
diff changeset
80 #else:
896cdffe06ff first upload
theo.collard
parents:
diff changeset
81 #if not($result.has_key("sample_1")):
896cdffe06ff first upload
theo.collard
parents:
diff changeset
82 #set result["sample_1"] = {}
896cdffe06ff first upload
theo.collard
parents:
diff changeset
83 #end if
896cdffe06ff first upload
theo.collard
parents:
diff changeset
84 #set result["sample_1"][$param_name] = str($param_name.dataset.dataset.get_file_name())
896cdffe06ff first upload
theo.collard
parents:
diff changeset
85 #end if
896cdffe06ff first upload
theo.collard
parents:
diff changeset
86 #return $result
896cdffe06ff first upload
theo.collard
parents:
diff changeset
87 #end def
896cdffe06ff first upload
theo.collard
parents:
diff changeset
88
896cdffe06ff first upload
theo.collard
parents:
diff changeset
89 ##------------------------------------------------------------------------------------
896cdffe06ff first upload
theo.collard
parents:
diff changeset
90 ## Main body of the tool
896cdffe06ff first upload
theo.collard
parents:
diff changeset
91 ##------------------------------------------------------------------------------------
896cdffe06ff first upload
theo.collard
parents:
diff changeset
92 ## Set the params for the next R script
896cdffe06ff first upload
theo.collard
parents:
diff changeset
93 #set result={}
896cdffe06ff first upload
theo.collard
parents:
diff changeset
94 #set sample_mapping=None
896cdffe06ff first upload
theo.collard
parents:
diff changeset
95
896cdffe06ff first upload
theo.collard
parents:
diff changeset
96 ## If the samples mapping file was provided, parse the content
896cdffe06ff first upload
theo.collard
parents:
diff changeset
97 #if $samples_names != None and not(isinstance($samples_names, list) and (None in $samples_names)):
896cdffe06ff first upload
theo.collard
parents:
diff changeset
98 #set sample_mapping = $read_sample_mapping_file($samples_names)
896cdffe06ff first upload
theo.collard
parents:
diff changeset
99 #end if
896cdffe06ff first upload
theo.collard
parents:
diff changeset
100
896cdffe06ff first upload
theo.collard
parents:
diff changeset
101 ## READ THE CONTENT FOR e_data AND STORE THE FILES
896cdffe06ff first upload
theo.collard
parents:
diff changeset
102 ## INDEXED BY THEIR SAMPLE NAME
896cdffe06ff first upload
theo.collard
parents:
diff changeset
103 ## e.g. 'HBR_Rep1' : {
896cdffe06ff first upload
theo.collard
parents:
diff changeset
104 ## 'e_data': '/export/galaxy-central/database/files/000/dataset_13.dat'
896cdffe06ff first upload
theo.collard
parents:
diff changeset
105 ## 'i_data': '/export/galaxy-central/database/files/000/dataset_10.dat',
896cdffe06ff first upload
theo.collard
parents:
diff changeset
106 ## 't_data': '/export/galaxy-central/database/files/000/dataset_12.dat',
896cdffe06ff first upload
theo.collard
parents:
diff changeset
107 ## 'e2t': '/export/galaxy-central/database/files/000/dataset_9.dat',
896cdffe06ff first upload
theo.collard
parents:
diff changeset
108 ## 'i2t': '/export/galaxy-central/database/files/000/dataset_11.dat'
896cdffe06ff first upload
theo.collard
parents:
diff changeset
109 ## },
896cdffe06ff first upload
theo.collard
parents:
diff changeset
110 ## 'HBR_Rep2' : {...}
896cdffe06ff first upload
theo.collard
parents:
diff changeset
111 #set $result = $read_input_files("e_data.ctab", $e_data, $result, $sample_mapping, True)
896cdffe06ff first upload
theo.collard
parents:
diff changeset
112 #set $result = $read_input_files("i_data.ctab", $i_data, $result, $sample_mapping, False)
896cdffe06ff first upload
theo.collard
parents:
diff changeset
113 #set $result = $read_input_files("t_data.ctab", $t_data, $result, $sample_mapping, False)
896cdffe06ff first upload
theo.collard
parents:
diff changeset
114 #set $result = $read_input_files("e2t.ctab", $e2t, $result, $sample_mapping, False)
896cdffe06ff first upload
theo.collard
parents:
diff changeset
115 #set $result = $read_input_files("i2t.ctab", $i2t, $result, $sample_mapping, False)
896cdffe06ff first upload
theo.collard
parents:
diff changeset
116
896cdffe06ff first upload
theo.collard
parents:
diff changeset
117 ## For each input sample, create a directory and link the input files for ballgown
896cdffe06ff first upload
theo.collard
parents:
diff changeset
118 #import os
896cdffe06ff first upload
theo.collard
parents:
diff changeset
119 #set n_sample = 1
896cdffe06ff first upload
theo.collard
parents:
diff changeset
120 #for $key, $value in $result.iteritems():
896cdffe06ff first upload
theo.collard
parents:
diff changeset
121 #set dir_name = str($output.files_path) + "/" + $key + "/"
896cdffe06ff first upload
theo.collard
parents:
diff changeset
122 $os.makedirs($dir_name)
896cdffe06ff first upload
theo.collard
parents:
diff changeset
123 #for $file_name, $file_path in $value.iteritems():
896cdffe06ff first upload
theo.collard
parents:
diff changeset
124 $os.symlink($file_path, $dir_name + $file_name)
896cdffe06ff first upload
theo.collard
parents:
diff changeset
125 #end for
896cdffe06ff first upload
theo.collard
parents:
diff changeset
126 #set n_sample = $n_sample + 1
896cdffe06ff first upload
theo.collard
parents:
diff changeset
127 #end for
896cdffe06ff first upload
theo.collard
parents:
diff changeset
128
896cdffe06ff first upload
theo.collard
parents:
diff changeset
129 ## Run the R script with the location of the linked files and the name for outpot file
896cdffe06ff first upload
theo.collard
parents:
diff changeset
130 ballgown.R --directory $output.files_path --outputtranscript $output --outputgenes $outputgn --texpression $trexpression --phendat $phendata --bgout $bgo
896cdffe06ff first upload
theo.collard
parents:
diff changeset
131 </command>
896cdffe06ff first upload
theo.collard
parents:
diff changeset
132 <inputs>
896cdffe06ff first upload
theo.collard
parents:
diff changeset
133 <param name="e_data" type="data" multiple="true" format="tabular" label="Exon-level expression measurements" help="One row per exon. See below for more details."/>
896cdffe06ff first upload
theo.collard
parents:
diff changeset
134 <param name="i_data" type="data" multiple="true" format="tabular" label="Intron- (i.e., junction-) level expression measurements" help="One row per intron. See below for more details."/>
896cdffe06ff first upload
theo.collard
parents:
diff changeset
135 <param name="t_data" type="data" multiple="true" format="tabular" label="Transcript-level expression measurements" help="One row per transcript. See below for more details."/>
896cdffe06ff first upload
theo.collard
parents:
diff changeset
136 <param name="e2t" type="data" multiple="true" format="tabular" label="Exons-transcripts mapping" help="Table with two columns, e_id and t_id, denoting which exons belong to which transcripts. See below for more details."/>
896cdffe06ff first upload
theo.collard
parents:
diff changeset
137 <param name="i2t" type="data" multiple="true" format="tabular" label="Introns-transcripts mapping" help="Table with two columns, i_id and t_id, denoting which introns belong to which transcripts. See below for more details."/>
896cdffe06ff first upload
theo.collard
parents:
diff changeset
138 <param name="samples_names" type="data" optional="true" multiple="false" format="tabular" label="File names for samples" help="Optional. Use in case that the names for the analysed samples cannot be extracted from the filenames."/>
896cdffe06ff first upload
theo.collard
parents:
diff changeset
139 <param argument="--phendat" name="phendata" type="data" format="csv" label="phenotype data" />
896cdffe06ff first upload
theo.collard
parents:
diff changeset
140 <param argument="--texpression" name="trexpression" type="float" value="0.5" label="minimal transcript expression to appear in the results"/>
896cdffe06ff first upload
theo.collard
parents:
diff changeset
141 </inputs>
896cdffe06ff first upload
theo.collard
parents:
diff changeset
142 <outputs>
896cdffe06ff first upload
theo.collard
parents:
diff changeset
143 <data name="bgo" format="rda" file="ballgown_object.rda" label="${tool.name} on ${on_string}: ballgown object (R data file)"/>
896cdffe06ff first upload
theo.collard
parents:
diff changeset
144 <data name="output" format="csv" file="output_transcript.csv" label="${tool.name} on ${on_string}: transcripts expression (tabular)"/>
896cdffe06ff first upload
theo.collard
parents:
diff changeset
145 <data name="outputgn" format="csv" file="output_genes.csv" label="${tool.name} on ${on_string}: genes expression (tabular)"/>
896cdffe06ff first upload
theo.collard
parents:
diff changeset
146 </outputs>
896cdffe06ff first upload
theo.collard
parents:
diff changeset
147 <tests>
896cdffe06ff first upload
theo.collard
parents:
diff changeset
148 </tests>
896cdffe06ff first upload
theo.collard
parents:
diff changeset
149 <help>
896cdffe06ff first upload
theo.collard
parents:
diff changeset
150
896cdffe06ff first upload
theo.collard
parents:
diff changeset
151 =======================
896cdffe06ff first upload
theo.collard
parents:
diff changeset
152 Ballgown
896cdffe06ff first upload
theo.collard
parents:
diff changeset
153 =======================
896cdffe06ff first upload
theo.collard
parents:
diff changeset
154 -----------------------
896cdffe06ff first upload
theo.collard
parents:
diff changeset
155 **What it does**
896cdffe06ff first upload
theo.collard
parents:
diff changeset
156 -----------------------
896cdffe06ff first upload
theo.collard
parents:
diff changeset
157
896cdffe06ff first upload
theo.collard
parents:
diff changeset
158 Ballgown is a software package designed to facilitate flexible differential expression analysis of RNA-seq data.
896cdffe06ff first upload
theo.collard
parents:
diff changeset
159 The Ballgown package provides functions to organize, visualize, and analyze the expression measurements for your transcriptome assembly.
896cdffe06ff first upload
theo.collard
parents:
diff changeset
160
896cdffe06ff first upload
theo.collard
parents:
diff changeset
161 ----
896cdffe06ff first upload
theo.collard
parents:
diff changeset
162
896cdffe06ff first upload
theo.collard
parents:
diff changeset
163 -----------------------
896cdffe06ff first upload
theo.collard
parents:
diff changeset
164 **How to use**
896cdffe06ff first upload
theo.collard
parents:
diff changeset
165 -----------------------
896cdffe06ff first upload
theo.collard
parents:
diff changeset
166 The input for this tools consists on 5 files for each sample in your experiment:
896cdffe06ff first upload
theo.collard
parents:
diff changeset
167
896cdffe06ff first upload
theo.collard
parents:
diff changeset
168 - **e_data**: exon-level expression measurements. Tab file or collection of tab files. One row per exon. Columns are e_id (numeric exon id), chr, strand, start, end (genomic location of the exon), and the following expression measurements for each sample:
896cdffe06ff first upload
theo.collard
parents:
diff changeset
169 * rcount: reads overlapping the exon
896cdffe06ff first upload
theo.collard
parents:
diff changeset
170 * ucount: uniquely mapped reads overlapping the exon
896cdffe06ff first upload
theo.collard
parents:
diff changeset
171 * mrcount: multi-map-corrected number of reads overlapping the exon
896cdffe06ff first upload
theo.collard
parents:
diff changeset
172 * cov average per-base read coverage
896cdffe06ff first upload
theo.collard
parents:
diff changeset
173 * cov_sd: standard deviation of per-base read coverage
896cdffe06ff first upload
theo.collard
parents:
diff changeset
174 * mcov: multi-map-corrected average per-base read coverage
896cdffe06ff first upload
theo.collard
parents:
diff changeset
175 * mcov_sd: standard deviation of multi-map-corrected per-base coverage
896cdffe06ff first upload
theo.collard
parents:
diff changeset
176 - **i_data**: intron- (i.e., junction-) level expression measurements. Tab file or collection of tab files. One row per intron. Columns are i_id (numeric intron id), chr, strand, start, end (genomic location of the intron), and the following expression measurements for each sample:
896cdffe06ff first upload
theo.collard
parents:
diff changeset
177 * rcount: number of reads supporting the intron
896cdffe06ff first upload
theo.collard
parents:
diff changeset
178 * ucount: number of uniquely mapped reads supporting the intron
896cdffe06ff first upload
theo.collard
parents:
diff changeset
179 * mrcount: multi-map-corrected number of reads supporting the intron
896cdffe06ff first upload
theo.collard
parents:
diff changeset
180 - **t_data**: transcript-level expression measurements. Tab file or collection of tab files. One row per transcript. Columns are:
896cdffe06ff first upload
theo.collard
parents:
diff changeset
181 * t_id: numeric transcript id
896cdffe06ff first upload
theo.collard
parents:
diff changeset
182 * chr, strand, start, end: genomic location of the transcript
896cdffe06ff first upload
theo.collard
parents:
diff changeset
183 * t_name: Cufflinks-generated transcript id
896cdffe06ff first upload
theo.collard
parents:
diff changeset
184 * num_exons: number of exons comprising the transcript
896cdffe06ff first upload
theo.collard
parents:
diff changeset
185 * length: transcript length, including both exons and introns
896cdffe06ff first upload
theo.collard
parents:
diff changeset
186 * gene_id: gene the transcript belongs to
896cdffe06ff first upload
theo.collard
parents:
diff changeset
187 * gene_name: HUGO gene name for the transcript, if known
896cdffe06ff first upload
theo.collard
parents:
diff changeset
188 * cov: per-base coverage for the transcript (available for each sample)
896cdffe06ff first upload
theo.collard
parents:
diff changeset
189 * FPKM: Cufflinks-estimated FPKM for the transcript (available for each sample)
896cdffe06ff first upload
theo.collard
parents:
diff changeset
190 - **e2t**: Tab file or collection of tab files. Table with two columns, e_id and t_id, denoting which exons belong to which transcripts. These ids match the ids in the e_data and t_data tables.
896cdffe06ff first upload
theo.collard
parents:
diff changeset
191 - **i2t**: Tab file or collection of tab files. Table with two columns, i_id and t_id, denoting which introns belong to which transcripts. These ids match the ids in the i_data and t_data tables.
896cdffe06ff first upload
theo.collard
parents:
diff changeset
192 - samples_names: (optional) Tab file. Table with five columns, one row per sample. Defines which files from the input belong to each sample in the experiment.
896cdffe06ff first upload
theo.collard
parents:
diff changeset
193
896cdffe06ff first upload
theo.collard
parents:
diff changeset
194 .. class:: infomark
896cdffe06ff first upload
theo.collard
parents:
diff changeset
195
896cdffe06ff first upload
theo.collard
parents:
diff changeset
196 '''TIP''' *Note* Here's an example of a good phenotype data file for your expirement.
896cdffe06ff first upload
theo.collard
parents:
diff changeset
197
896cdffe06ff first upload
theo.collard
parents:
diff changeset
198 +--------------+-------------------------+-------------------------+---+
896cdffe06ff first upload
theo.collard
parents:
diff changeset
199 |ids |experimental variable 1 |experimental variable 2 |...|
896cdffe06ff first upload
theo.collard
parents:
diff changeset
200 +==============+=========================+=========================+===+
896cdffe06ff first upload
theo.collard
parents:
diff changeset
201 |sample 1 |value 1 |value 2 |...|
896cdffe06ff first upload
theo.collard
parents:
diff changeset
202 +--------------+-------------------------+-------------------------+---+
896cdffe06ff first upload
theo.collard
parents:
diff changeset
203 |sample 2 |value 2 |value 1 |...|
896cdffe06ff first upload
theo.collard
parents:
diff changeset
204 +--------------+-------------------------+-------------------------+---+
896cdffe06ff first upload
theo.collard
parents:
diff changeset
205 |sample 3 |value 1 |value 2 |...|
896cdffe06ff first upload
theo.collard
parents:
diff changeset
206 +--------------+-------------------------+-------------------------+---+
896cdffe06ff first upload
theo.collard
parents:
diff changeset
207 |sample 4 |value 2 |value 1 |...|
896cdffe06ff first upload
theo.collard
parents:
diff changeset
208 +--------------+-------------------------+-------------------------+---+
896cdffe06ff first upload
theo.collard
parents:
diff changeset
209 |... |value 1 |value 2 |...|
896cdffe06ff first upload
theo.collard
parents:
diff changeset
210 +--------------+-------------------------+-------------------------+---+
896cdffe06ff first upload
theo.collard
parents:
diff changeset
211
896cdffe06ff first upload
theo.collard
parents:
diff changeset
212
896cdffe06ff first upload
theo.collard
parents:
diff changeset
213 .. class:: infomark
896cdffe06ff first upload
theo.collard
parents:
diff changeset
214
896cdffe06ff first upload
theo.collard
parents:
diff changeset
215 *Note* The minimal transcript expression is a number used to filter the transcripts that
896cdffe06ff first upload
theo.collard
parents:
diff changeset
216 are less or not expressed in our samples when compared to the genome
896cdffe06ff first upload
theo.collard
parents:
diff changeset
217
896cdffe06ff first upload
theo.collard
parents:
diff changeset
218 -----------------------
896cdffe06ff first upload
theo.collard
parents:
diff changeset
219 **Outputs**
896cdffe06ff first upload
theo.collard
parents:
diff changeset
220 -----------------------
896cdffe06ff first upload
theo.collard
parents:
diff changeset
221
896cdffe06ff first upload
theo.collard
parents:
diff changeset
222 This tool has 3 outputs:
896cdffe06ff first upload
theo.collard
parents:
diff changeset
223
896cdffe06ff first upload
theo.collard
parents:
diff changeset
224 - **transcripts expression** : this is a csv file containing all the transcripts that are expressed above the transcripts expression value
896cdffe06ff first upload
theo.collard
parents:
diff changeset
225 - **genes expression** : this is a csv file containing all the genes that are expressed above the transcripts expression value
896cdffe06ff first upload
theo.collard
parents:
diff changeset
226 - **Ballgown object** : this is the ballgown object created during the process. This file can be re-used later for further analysis in a R console.
896cdffe06ff first upload
theo.collard
parents:
diff changeset
227
896cdffe06ff first upload
theo.collard
parents:
diff changeset
228 ----
896cdffe06ff first upload
theo.collard
parents:
diff changeset
229
896cdffe06ff first upload
theo.collard
parents:
diff changeset
230 **Authors**: Théo Collard [SLU Global Bioinformatics Centre], Rafael Hernández de Diego [SLU Global Bioinformatics Centre], and Tomas Klingström [SLU Global Bioinformatics Centre]
896cdffe06ff first upload
theo.collard
parents:
diff changeset
231
896cdffe06ff first upload
theo.collard
parents:
diff changeset
232 Sources are available at https://github.com/CollardT/Ballgown-Wrapper
896cdffe06ff first upload
theo.collard
parents:
diff changeset
233
896cdffe06ff first upload
theo.collard
parents:
diff changeset
234 </help>
896cdffe06ff first upload
theo.collard
parents:
diff changeset
235 </tool>