annotate isoem_wrapper.xml @ 6:bfae83dedd4c draft

Uploaded
author saharlcc
date Mon, 19 Sep 2016 22:07:53 -0400
parents 7044191a603b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
7044191a603b Uploaded
saharlcc
parents:
diff changeset
1 <tool id="isoem" name="IsoEM2" version="1.0.0">
7044191a603b Uploaded
saharlcc
parents:
diff changeset
2 <description> Infers isoform and gene expression levels from high-throughput transcriptome sequencing (RNA-Seq) data</description>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
3 <requirements>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
4
7044191a603b Uploaded
saharlcc
parents:
diff changeset
5 </requirements>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
6 <command interpreter="bash">
7044191a603b Uploaded
saharlcc
parents:
diff changeset
7 isoem_wrapper.sh
7044191a603b Uploaded
saharlcc
parents:
diff changeset
8
7044191a603b Uploaded
saharlcc
parents:
diff changeset
9 ## Provide outputs.
7044191a603b Uploaded
saharlcc
parents:
diff changeset
10 --out_gene_fpkm $out_gene_fpkm
7044191a603b Uploaded
saharlcc
parents:
diff changeset
11 --out_gene_tpm $out_gene_tpm
7044191a603b Uploaded
saharlcc
parents:
diff changeset
12 --out_iso_fpkm $out_iso_fpkm
7044191a603b Uploaded
saharlcc
parents:
diff changeset
13 --out_iso_tpm $out_iso_tpm
7044191a603b Uploaded
saharlcc
parents:
diff changeset
14 --out_bootstrap $out_bootstrap
7044191a603b Uploaded
saharlcc
parents:
diff changeset
15
7044191a603b Uploaded
saharlcc
parents:
diff changeset
16 ## Handle reference file .
7044191a603b Uploaded
saharlcc
parents:
diff changeset
17 #if $referenceSource.CCDSsource == "history":
7044191a603b Uploaded
saharlcc
parents:
diff changeset
18 --fastaFile $referenceSource.fastaFile
7044191a603b Uploaded
saharlcc
parents:
diff changeset
19 #else:
7044191a603b Uploaded
saharlcc
parents:
diff changeset
20 --GTF $referenceSource.index.fields.GTF --TMAP_INDEX $referenceSource.index.fields.TMAP_INDEX --HISAT2_INDEX $referenceSource.index.fields.HISAT2_INDEX --Cluster $referenceSource.index.fields.Cluster
7044191a603b Uploaded
saharlcc
parents:
diff changeset
21 #end if
7044191a603b Uploaded
saharlcc
parents:
diff changeset
22
7044191a603b Uploaded
saharlcc
parents:
diff changeset
23 ## First input file always required fastq1.
7044191a603b Uploaded
saharlcc
parents:
diff changeset
24 --input1 $Data.input1
7044191a603b Uploaded
saharlcc
parents:
diff changeset
25
7044191a603b Uploaded
saharlcc
parents:
diff changeset
26 ## Set params based on whether reads are single-end or paired.
7044191a603b Uploaded
saharlcc
parents:
diff changeset
27 #if $Data.RNAseqType == "Illumina-paired-end":
7044191a603b Uploaded
saharlcc
parents:
diff changeset
28 --input2 $Data.input2
7044191a603b Uploaded
saharlcc
parents:
diff changeset
29 #else:
7044191a603b Uploaded
saharlcc
parents:
diff changeset
30 -m $Data.lengthMean
7044191a603b Uploaded
saharlcc
parents:
diff changeset
31 -d $Data.lengthSd
7044191a603b Uploaded
saharlcc
parents:
diff changeset
32 #end if
7044191a603b Uploaded
saharlcc
parents:
diff changeset
33
7044191a603b Uploaded
saharlcc
parents:
diff changeset
34 ## RNA-Seq type based on sequencing platform.
7044191a603b Uploaded
saharlcc
parents:
diff changeset
35 --RNA_type $Data.RNAseqType &gt; $Run 2&gt;&amp;1
7044191a603b Uploaded
saharlcc
parents:
diff changeset
36
7044191a603b Uploaded
saharlcc
parents:
diff changeset
37
7044191a603b Uploaded
saharlcc
parents:
diff changeset
38
7044191a603b Uploaded
saharlcc
parents:
diff changeset
39 </command>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
40 <inputs>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
41 <conditional name="referenceSource">
7044191a603b Uploaded
saharlcc
parents:
diff changeset
42 <param name="CCDSsource" type="select" label="Will you upload a reference transcriptome fasta file from your history or use a built-in reference?" help="Built-ins were indexed using default options">
7044191a603b Uploaded
saharlcc
parents:
diff changeset
43 <option value="indexed">Use a built-in reference</option>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
44 <option value="history">Use reference from the history</option>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
45 </param>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
46 <when value="indexed">
7044191a603b Uploaded
saharlcc
parents:
diff changeset
47 <param name="index" type="select" label="Select a reference dataset" help="If your reference of interest is not listed, contact the Galaxy team">
7044191a603b Uploaded
saharlcc
parents:
diff changeset
48 <options from_data_table="IsoEM" />
7044191a603b Uploaded
saharlcc
parents:
diff changeset
49 </param>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
50 </when>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
51 <when value="history">
7044191a603b Uploaded
saharlcc
parents:
diff changeset
52 <param name="fastaFile" type="data" format="fasta" metadata_name="dbkey" label="Select CCDS fasta file from your history" />
7044191a603b Uploaded
saharlcc
parents:
diff changeset
53 </when> <!-- history -->
7044191a603b Uploaded
saharlcc
parents:
diff changeset
54 </conditional> <!-- referenceSource -->
7044191a603b Uploaded
saharlcc
parents:
diff changeset
55 <conditional name="Data">
7044191a603b Uploaded
saharlcc
parents:
diff changeset
56 <!--
7044191a603b Uploaded
saharlcc
parents:
diff changeset
57 <param name="sPaired" type="select" label="Is this library Single-end or Paired-end?">
7044191a603b Uploaded
saharlcc
parents:
diff changeset
58 <option value="single">Single-end</option>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
59 <option value="paired">Paired-end</option>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
60 </param>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
61 -->
7044191a603b Uploaded
saharlcc
parents:
diff changeset
62 <param name="RNAseqType" type="select" label="Select RNA-seq type">
7044191a603b Uploaded
saharlcc
parents:
diff changeset
63 <option value="Ion-Torrent-Proton">Ion Torrent single-end</option>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
64 <option value="Illumina-paired-end">Illumina paired-end</option>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
65 <option value="Illumina-single-end">Illumina single-end</option>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
66 </param> <!-- RNAseqType -->
7044191a603b Uploaded
saharlcc
parents:
diff changeset
67 <when value="Illumina-paired-end">
7044191a603b Uploaded
saharlcc
parents:
diff changeset
68 <param name="input1" type="data" label="RNA-Seq file1, fastq or bam format" />
7044191a603b Uploaded
saharlcc
parents:
diff changeset
69 <param name="input2" type="data" label="RNA-Seq file2, fastq or bam format" />
7044191a603b Uploaded
saharlcc
parents:
diff changeset
70 </when>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
71 <when value="Ion-Torrent-Proton">
7044191a603b Uploaded
saharlcc
parents:
diff changeset
72 <param name="input1" type="data" label="RNA-Seq file, fastq or bam format" />
7044191a603b Uploaded
saharlcc
parents:
diff changeset
73 <param name="lengthMean" type="text" label="m (RNA-Seq fragment length mean)" />
7044191a603b Uploaded
saharlcc
parents:
diff changeset
74 <param name="lengthSd" type="text" label="d (RNA-Seq fragment length standard deviation)" />
7044191a603b Uploaded
saharlcc
parents:
diff changeset
75 </when>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
76 <when value="Illumina-single-end">
7044191a603b Uploaded
saharlcc
parents:
diff changeset
77 <param name="input1" type="data" label="RNA-Seq file, fastq or bam format" />
7044191a603b Uploaded
saharlcc
parents:
diff changeset
78 <param name="lengthMean" type="text" label="m (RNA-Seq fragment length mean)" />
7044191a603b Uploaded
saharlcc
parents:
diff changeset
79 <param name="lengthSd" type="text" label="d (RNA-Seq fragment length standard deviation)" />
7044191a603b Uploaded
saharlcc
parents:
diff changeset
80 </when>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
81 </conditional> <!-- Data -->
7044191a603b Uploaded
saharlcc
parents:
diff changeset
82 <!--
7044191a603b Uploaded
saharlcc
parents:
diff changeset
83 <param name="RNAseqType" type="select" label="Select RNA-seq type">
7044191a603b Uploaded
saharlcc
parents:
diff changeset
84 <option value="Ion-Torrent-Proton">Ion Torrent Proton</option>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
85 <option value="Illumina-paired-end">Illumina paired-end</option>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
86 <option value="Illumina-single-end">Illumina single-end</option>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
87 </param>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
88 -->
7044191a603b Uploaded
saharlcc
parents:
diff changeset
89 </inputs>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
90 <outputs>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
91 <data name="out_gene_fpkm" format="tabular" label="Gene_fpkm"/>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
92 <data name="out_gene_tpm" format="tabular" label="Gene_tpm"/>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
93 <data name="out_iso_fpkm" format="tabular" label="Iso_fpkm"/>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
94 <data name="out_iso_tpm" format="tabular" label="Iso_tpm"/>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
95 <data name="out_bootstrap" format="toolshed.gz" label="Bootstrap.tar.gz"/>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
96 <data name="Run" format="log" label="isoem_wrapper: The log file" />
7044191a603b Uploaded
saharlcc
parents:
diff changeset
97 </outputs>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
98 <help>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
99 **What it does**
7044191a603b Uploaded
saharlcc
parents:
diff changeset
100
7044191a603b Uploaded
saharlcc
parents:
diff changeset
101 * The IsoEM can be used to infer isoform and gene expression levels from high-throughput transcriptome sequencing (RNA-Seq) data.
7044191a603b Uploaded
saharlcc
parents:
diff changeset
102
7044191a603b Uploaded
saharlcc
parents:
diff changeset
103 **Input Format**
7044191a603b Uploaded
saharlcc
parents:
diff changeset
104
7044191a603b Uploaded
saharlcc
parents:
diff changeset
105 * The tool accept the fastq, fastq.gz, bam formats. Extension must be specified at the end of the file names.
7044191a603b Uploaded
saharlcc
parents:
diff changeset
106 * RNA-seq data must be Ion Torrent Proton or Illumina sequncing data.
7044191a603b Uploaded
saharlcc
parents:
diff changeset
107
7044191a603b Uploaded
saharlcc
parents:
diff changeset
108 -----
7044191a603b Uploaded
saharlcc
parents:
diff changeset
109
7044191a603b Uploaded
saharlcc
parents:
diff changeset
110
7044191a603b Uploaded
saharlcc
parents:
diff changeset
111 **BUILT-IN REFERENCE documentation**
7044191a603b Uploaded
saharlcc
parents:
diff changeset
112
7044191a603b Uploaded
saharlcc
parents:
diff changeset
113 **mm10_C57BL/6:**
7044191a603b Uploaded
saharlcc
parents:
diff changeset
114
7044191a603b Uploaded
saharlcc
parents:
diff changeset
115 * GTF file: /import1/CCDS/Mm38.1/CCDS_nucleotide.20140407.fna.GTF
7044191a603b Uploaded
saharlcc
parents:
diff changeset
116 * TMAP_index:/import1/tmap-index/tmap3.4.1/mm10/CCDS_nucleotide.20140407.fna
7044191a603b Uploaded
saharlcc
parents:
diff changeset
117 * HISAT2_index: /import1/hisat2-index/mm10_CCDS/mm10_CCDS_nucleotide.20140407
7044191a603b Uploaded
saharlcc
parents:
diff changeset
118 * Cluster file: /import1/CCDS/Mm38.1/CCDS_nucleotide.20140407.fna_transcriptID_geneName.txt
7044191a603b Uploaded
saharlcc
parents:
diff changeset
119
7044191a603b Uploaded
saharlcc
parents:
diff changeset
120 **mm10_BALB/c:**
7044191a603b Uploaded
saharlcc
parents:
diff changeset
121
7044191a603b Uploaded
saharlcc
parents:
diff changeset
122 * GTF file: /import1/CCDS/Mm38.1/CCDS_nucleotide.20140407.fna.GTF
7044191a603b Uploaded
saharlcc
parents:
diff changeset
123 * TMAP_index: /import1/tmap-index/tmap3.4.1/mm10/mm10_CCDS_nucleotide.20140407_BALBc.fna
7044191a603b Uploaded
saharlcc
parents:
diff changeset
124 * HISAT2_index: /import1/hisat2-index/mm10_CCDS/mm10_CCDS_nucleotide.20140407_BALBc
7044191a603b Uploaded
saharlcc
parents:
diff changeset
125 * Cluster file: /import1/CCDS/Mm38.1/CCDS_nucleotide.20140407.fna_transcriptID_geneName.txt
7044191a603b Uploaded
saharlcc
parents:
diff changeset
126
7044191a603b Uploaded
saharlcc
parents:
diff changeset
127 **hg19**
7044191a603b Uploaded
saharlcc
parents:
diff changeset
128
7044191a603b Uploaded
saharlcc
parents:
diff changeset
129 * GTF file: /import1/CCDS/HsGRCh37.1/HsGRCh37.1_CCDS_nucleotide.20131129.fa.GTF
7044191a603b Uploaded
saharlcc
parents:
diff changeset
130 * TMAP_index: /import1/tmap-index/tmap3.4.1/hg19/hg19_CCDS_nucleotide.20131129.fa
7044191a603b Uploaded
saharlcc
parents:
diff changeset
131 * HISAT2_index: /import1/hisat2-index/hg19/hg19_CCDS_nucleotide.20131129.fna
7044191a603b Uploaded
saharlcc
parents:
diff changeset
132 * Cluster file: /import1/CCDS/HsGRCh37.1/HsGRCh37.1_CCDS.20131129_transcriptID_geneName.txt
7044191a603b Uploaded
saharlcc
parents:
diff changeset
133
7044191a603b Uploaded
saharlcc
parents:
diff changeset
134 **hg38**
7044191a603b Uploaded
saharlcc
parents:
diff changeset
135
7044191a603b Uploaded
saharlcc
parents:
diff changeset
136 * GTF file: /import1/CCDS/GRCh38.p2/GRCh38.p2_CCDS_nucleotide.20150512.fna.GTF
7044191a603b Uploaded
saharlcc
parents:
diff changeset
137 * TMAP_index: /import1/tmap-index/tmap3.4.1/hg38/hg38_CCDS_nucleotide.20150512.fna
7044191a603b Uploaded
saharlcc
parents:
diff changeset
138 * HISAT2_index: /import1/hisat2-index/hg38_CCDS_downloadedRef/h19_CCDS_nucleotide.20150512.fna
7044191a603b Uploaded
saharlcc
parents:
diff changeset
139 * Cluster file: /import1/CCDS/GRCh38.p2/GRCh38.p2_CCDS.20150512_transcriptID_geneName.txt
7044191a603b Uploaded
saharlcc
parents:
diff changeset
140
7044191a603b Uploaded
saharlcc
parents:
diff changeset
141 -----
7044191a603b Uploaded
saharlcc
parents:
diff changeset
142
7044191a603b Uploaded
saharlcc
parents:
diff changeset
143 **Output Format**
7044191a603b Uploaded
saharlcc
parents:
diff changeset
144
7044191a603b Uploaded
saharlcc
parents:
diff changeset
145 * Four output files containinag results for **Gene FPKM**, **Gene TPM**, **Isoform FPKM**, and **Isoform TPM**. The four files have identical format with the following fields.
7044191a603b Uploaded
saharlcc
parents:
diff changeset
146
7044191a603b Uploaded
saharlcc
parents:
diff changeset
147
7044191a603b Uploaded
saharlcc
parents:
diff changeset
148 * 1 Gene/Isoform ID
7044191a603b Uploaded
saharlcc
parents:
diff changeset
149 * 2 Gene/Isoform FPKM (Fragments Per Kilobase per Million reads) or TPM (Transcripts per Million reads)
7044191a603b Uploaded
saharlcc
parents:
diff changeset
150 * 3 Min FPKM/TPM
7044191a603b Uploaded
saharlcc
parents:
diff changeset
151 * 4 Max FPKM/TPM
7044191a603b Uploaded
saharlcc
parents:
diff changeset
152
7044191a603b Uploaded
saharlcc
parents:
diff changeset
153 * And one compressed **Bootstrap.tar** file will be used in IsoDE2 to compute gene differential expression.
7044191a603b Uploaded
saharlcc
parents:
diff changeset
154 </help>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
155
7044191a603b Uploaded
saharlcc
parents:
diff changeset
156
7044191a603b Uploaded
saharlcc
parents:
diff changeset
157 </tool>
7044191a603b Uploaded
saharlcc
parents:
diff changeset
158
7044191a603b Uploaded
saharlcc
parents:
diff changeset
159
7044191a603b Uploaded
saharlcc
parents:
diff changeset
160
7044191a603b Uploaded
saharlcc
parents:
diff changeset
161