Mercurial > repos > jjohnson > trinityrnaseq
comparison RSEM_abundance_estimation.xml @ 6:8d546ef8cfea
Add RSEM_abundance_estimation
author | Jim Johnson <jj@umn.edu> |
---|---|
date | Fri, 22 Nov 2013 14:48:39 -0600 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
5:a67c0a0d24ac | 6:8d546ef8cfea |
---|---|
1 <tool id="RSEM_abundance_estimation" name="RSEM abundance estimation" version="0.0.2"> | |
2 <description>run RSEM to estimate transcript abundances</description> | |
3 <requirements> | |
4 <requirement type="package" version="2013_08_14">trinityrnaseq</requirement> | |
5 <requirement type="package" version="1.1.17">rsem</requirement> | |
6 </requirements> | |
7 <command> | |
8 \$TRINITY_HOME/util/RSEM_util/run_RSEM_align_n_estimate.pl --transcripts $transcripts | |
9 ## Inputs. | |
10 #if str($read_type.paired_or_single) == "single": | |
11 #if $read_type.single_reads.extension.startswith( "fastq"): | |
12 --seqType fq | |
13 #else | |
14 --seqType fa | |
15 #end if | |
16 --single $read_type.single_reads | |
17 #else | |
18 #if $read_type.left_reads.extension.startswith( "fastq"): | |
19 --seqType fq | |
20 #else | |
21 --seqType fa | |
22 #end if | |
23 --left $read_type.left_reads | |
24 --right $read_type.right_reads | |
25 #end if | |
26 #if $transcript.source == "other": | |
27 --no_group_by_component | |
28 --gene_trans_map $transcript.gene_trans_map | |
29 #end if | |
30 </command> | |
31 <inputs> | |
32 <param name="transcripts" type="data" format="fasta" label="transcripts_fasta" help="Fasta sequences for which reads are aligned." /> | |
33 <conditional name="read_type"> | |
34 <param name="paired_or_single" type="select" label="Paired or Single-end data?"> | |
35 <option value="paired">Paired</option> | |
36 <option value="single">Single</option> | |
37 </param> | |
38 <when value="paired"> | |
39 <param name="left_reads" type="data" format="fasta,fastq" label="left reads" help="" /> | |
40 <param name="right_reads" type="data" format="fasta,fastq" label="right reads" help="" /> | |
41 <param name="ss_lib_type" type="select" label="strand-specific library type"> | |
42 <option value="RF">RF</option> | |
43 <option value="FR">FR</option> | |
44 </param> | |
45 </when> | |
46 <when value="single"> | |
47 <param name="single_reads" type="data" format="fasta,fastq" label="single reads" help="" /> | |
48 <param name="ss_lib_type" type="select" label="strand-specific library type"> | |
49 <option value="F">F</option> | |
50 <option value="R">R</option> | |
51 </param> | |
52 </when> | |
53 </conditional> | |
54 <conditional name="transcript"> | |
55 <param name="source" type="select" label="Transcripts Source"> | |
56 <option value="trinity">Trinity</option> | |
57 <option value="other">NOT trinity</option> | |
58 </param> | |
59 <when value="trinity"/> | |
60 <when value="other"> | |
61 <param name="gene_trans_map" type="data" format="tabular" optional="true" label="Map of gene ids to transcript (isoform) ids" > | |
62 <help> | |
63 Each line of should be of the form: gene_id transcript_id ( with the two fields separated by a tab character ) | |
64 </help> | |
65 </param> | |
66 </when> | |
67 </conditional> | |
68 </inputs> | |
69 <stdio> | |
70 <exit_code range="1:" level="fatal" description="Error Running RSEM" /> | |
71 </stdio> | |
72 <outputs> | |
73 <data format="text" name="transcript_counts" label="${tool.name} on ${on_string}: Isoform Counts" from_work_dir="RSEM.isoforms.results"/> | |
74 <data format="text" name="gene_counts" label="${tool.name} on ${on_string}: Gene counts" from_work_dir="RSEM.genes.results"/> | |
75 </outputs> | |
76 <tests> | |
77 <test> | |
78 <param name="target" value="trinity/Trinity.fasta" /> | |
79 <param name="aligner" value="bowtie" /> | |
80 <param name="paired_or_single" value="single" /> | |
81 <param name="library_type" value="None" /> | |
82 <param name="input" value="trinity/reads.left.fq" /> | |
83 </test> | |
84 </tests> | |
85 <help> | |
86 .. _Trinity: http://trinityrnaseq.sourceforge.net | |
87 | |
88 $TRINITY_HOME/util/RSEM_util/run_RSEM_align_n_estimate.pl --transcripts Trinity.fasta \ | |
89 --seqType fq --left left.reads.fq --right right.reads.fq | |
90 </help> | |
91 </tool> |