annotate transDecoder.xml @ 0:cc71440b759f draft default tip

Uploaded
author mytest
date Tue, 22 Sep 2015 01:58:00 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
cc71440b759f Uploaded
mytest
parents:
diff changeset
1 <tool id='id_transDecoder' name='transDecoder' version='1.0'>
cc71440b759f Uploaded
mytest
parents:
diff changeset
2 <description> coding region </description>
cc71440b759f Uploaded
mytest
parents:
diff changeset
3 <!--requirement></requirement-->
cc71440b759f Uploaded
mytest
parents:
diff changeset
4 <requirements>
cc71440b759f Uploaded
mytest
parents:
diff changeset
5 <requirement type="package" version="2013_08_14">trinityrnaseq</requirement>
cc71440b759f Uploaded
mytest
parents:
diff changeset
6 <requirement type="set_environment">TRINITY_HOME</requirement>
cc71440b759f Uploaded
mytest
parents:
diff changeset
7
cc71440b759f Uploaded
mytest
parents:
diff changeset
8 </requirements>
cc71440b759f Uploaded
mytest
parents:
diff changeset
9 <command>perl \$TRINITY_HOME/trinity-plugins/transdecoder/TransDecoder
cc71440b759f Uploaded
mytest
parents:
diff changeset
10
cc71440b759f Uploaded
mytest
parents:
diff changeset
11 -t $transcript
cc71440b759f Uploaded
mytest
parents:
diff changeset
12
cc71440b759f Uploaded
mytest
parents:
diff changeset
13 #if str($optional.parameters) == 'yes':
cc71440b759f Uploaded
mytest
parents:
diff changeset
14 #if ($train):
cc71440b759f Uploaded
mytest
parents:
diff changeset
15 --train $train
cc71440b759f Uploaded
mytest
parents:
diff changeset
16 #end if
cc71440b759f Uploaded
mytest
parents:
diff changeset
17
cc71440b759f Uploaded
mytest
parents:
diff changeset
18 #if ($min_protein_length):
cc71440b759f Uploaded
mytest
parents:
diff changeset
19 -m $min_protein_length
cc71440b759f Uploaded
mytest
parents:
diff changeset
20 #end if
cc71440b759f Uploaded
mytest
parents:
diff changeset
21
cc71440b759f Uploaded
mytest
parents:
diff changeset
22 #if ($genetic_code):
cc71440b759f Uploaded
mytest
parents:
diff changeset
23 -G $genetic_code
cc71440b759f Uploaded
mytest
parents:
diff changeset
24 #end if
cc71440b759f Uploaded
mytest
parents:
diff changeset
25
cc71440b759f Uploaded
mytest
parents:
diff changeset
26 #if ($strand-specific):
cc71440b759f Uploaded
mytest
parents:
diff changeset
27 $strand-specific
cc71440b759f Uploaded
mytest
parents:
diff changeset
28 #end if
cc71440b759f Uploaded
mytest
parents:
diff changeset
29
cc71440b759f Uploaded
mytest
parents:
diff changeset
30 #if ($lottmn):
cc71440b759f Uploaded
mytest
parents:
diff changeset
31 -T $lottmm
cc71440b759f Uploaded
mytest
parents:
diff changeset
32 #end if
cc71440b759f Uploaded
mytest
parents:
diff changeset
33
cc71440b759f Uploaded
mytest
parents:
diff changeset
34 #if ($retain_long_orfs):
cc71440b759f Uploaded
mytest
parents:
diff changeset
35 --retain_long_orfs $retain_long_orfs
cc71440b759f Uploaded
mytest
parents:
diff changeset
36 #end if
cc71440b759f Uploaded
mytest
parents:
diff changeset
37 #end if
cc71440b759f Uploaded
mytest
parents:
diff changeset
38
cc71440b759f Uploaded
mytest
parents:
diff changeset
39 #if str($pfam.options) == 'yes':
cc71440b759f Uploaded
mytest
parents:
diff changeset
40 #if ($pfam_db):
cc71440b759f Uploaded
mytest
parents:
diff changeset
41 --search_pfam $pfam_db
cc71440b759f Uploaded
mytest
parents:
diff changeset
42 #end if
cc71440b759f Uploaded
mytest
parents:
diff changeset
43
cc71440b759f Uploaded
mytest
parents:
diff changeset
44 #if ($CPU):
cc71440b759f Uploaded
mytest
parents:
diff changeset
45 --CPU $CPU
cc71440b759f Uploaded
mytest
parents:
diff changeset
46 #end if
cc71440b759f Uploaded
mytest
parents:
diff changeset
47 #end if
cc71440b759f Uploaded
mytest
parents:
diff changeset
48
cc71440b759f Uploaded
mytest
parents:
diff changeset
49 ##log file
cc71440b759f Uploaded
mytest
parents:
diff changeset
50 &gt; $transdecoder_log 2&gt;&amp;1;
cc71440b759f Uploaded
mytest
parents:
diff changeset
51
cc71440b759f Uploaded
mytest
parents:
diff changeset
52
cc71440b759f Uploaded
mytest
parents:
diff changeset
53 ## output renaming
cc71440b759f Uploaded
mytest
parents:
diff changeset
54
cc71440b759f Uploaded
mytest
parents:
diff changeset
55 cp -s dataset_*.dat.transdecoder.pep transcript.transdecoder.pep;
cc71440b759f Uploaded
mytest
parents:
diff changeset
56 cp -s dataset_*.dat.transdecoder.cds transcript.transdecoder.cds;
cc71440b759f Uploaded
mytest
parents:
diff changeset
57 cp -s dataset_*.dat.transdecoder.bed transcript.transdecoder.bed;
cc71440b759f Uploaded
mytest
parents:
diff changeset
58 cp -s dataset_*.dat.transdecoder.gff3 transcript.transdecoder.gff3;
cc71440b759f Uploaded
mytest
parents:
diff changeset
59 cp -s dataset_*.dat.transdecoder.mRNA transcript.transdecoder.mRNA;
cc71440b759f Uploaded
mytest
parents:
diff changeset
60 </command>
cc71440b759f Uploaded
mytest
parents:
diff changeset
61
cc71440b759f Uploaded
mytest
parents:
diff changeset
62 <inputs>
cc71440b759f Uploaded
mytest
parents:
diff changeset
63 <!-- Required -->
cc71440b759f Uploaded
mytest
parents:
diff changeset
64
cc71440b759f Uploaded
mytest
parents:
diff changeset
65 <param name='transcript' type='data' label='Transcripts [ in fasta format ]' help=' -t &lt; string &gt; ; Assembled reads in fasta file format'/>
cc71440b759f Uploaded
mytest
parents:
diff changeset
66
cc71440b759f Uploaded
mytest
parents:
diff changeset
67 <!-- Optional -->
cc71440b759f Uploaded
mytest
parents:
diff changeset
68
cc71440b759f Uploaded
mytest
parents:
diff changeset
69 <conditional name='optional'>
cc71440b759f Uploaded
mytest
parents:
diff changeset
70 <param name='parameters' type='select' label='Use Optional Parameters'>
cc71440b759f Uploaded
mytest
parents:
diff changeset
71 <option value='no'>NO</option>
cc71440b759f Uploaded
mytest
parents:
diff changeset
72 <option value='yes'>YES</option>
cc71440b759f Uploaded
mytest
parents:
diff changeset
73 </param>
cc71440b759f Uploaded
mytest
parents:
diff changeset
74 <when value='no'/>
cc71440b759f Uploaded
mytest
parents:
diff changeset
75 <when value='yes'>
cc71440b759f Uploaded
mytest
parents:
diff changeset
76 <param name='train' type='data' optional='true' label='FASTA file with ORFs to train Markov Mod for protein identification' help='--train &lt; string &gt; ; FASTA file with ORFs to train Markov Mod for protein identification; otherwise longest non-redundant ORFs used' />
cc71440b759f Uploaded
mytest
parents:
diff changeset
77 <param name='min_protein_length' type='integer' optional='true' value='100' label='Minimum Protein Length' help='-m &lt; int &gt; ;minimum protein length (default: 100)'/>
cc71440b759f Uploaded
mytest
parents:
diff changeset
78 <param name='genetic_code' type='select' optional='true' label='Select Genetic Code' help=' -G &lt; string &gt; ; genetic code (default is "universal")'>
cc71440b759f Uploaded
mytest
parents:
diff changeset
79 <option value='universal' selected='true'>Universal</option>
cc71440b759f Uploaded
mytest
parents:
diff changeset
80 <option value='Euplotes'>Euplotes</option>
cc71440b759f Uploaded
mytest
parents:
diff changeset
81 <option value='Tetrahymena'>Tetrahymena</option>
cc71440b759f Uploaded
mytest
parents:
diff changeset
82 <option value='Candida'>Candida</option>
cc71440b759f Uploaded
mytest
parents:
diff changeset
83 <option value='Acetabularia'>Acetabularia</option>
cc71440b759f Uploaded
mytest
parents:
diff changeset
84 </param>
cc71440b759f Uploaded
mytest
parents:
diff changeset
85 <param name='strand-specific' type='boolean' truevalue='-S' falsevalue='' optional='true' label='Strand-Specific [ -S ]' help='strand-specific (only analyzes top strand)'/>
cc71440b759f Uploaded
mytest
parents:
diff changeset
86 <param name='lottmm' type='integer' optional='true' value='500' label=' -T ; Needs a label ??? ' help='-T &lt; int &gt; ; If no --train, top longest ORFs to train Markov Model (hexamer stats) (default: 500)'/>
cc71440b759f Uploaded
mytest
parents:
diff changeset
87 <param name='retain_long_orfs' type="integer" optional='true' value="900" label=' --retain_long_orfs ; Needs a label ??? ' help='--retain_long_orfs &lt; int &gt; ; Retain all ORFs found that are equal or longer than these many nucleotides even if no other evidence marks it as coding (default: 900 bp => 300aa)' />
cc71440b759f Uploaded
mytest
parents:
diff changeset
88 </when>
cc71440b759f Uploaded
mytest
parents:
diff changeset
89 </conditional>
cc71440b759f Uploaded
mytest
parents:
diff changeset
90
cc71440b759f Uploaded
mytest
parents:
diff changeset
91
cc71440b759f Uploaded
mytest
parents:
diff changeset
92 <!-- Pfam Options -->
cc71440b759f Uploaded
mytest
parents:
diff changeset
93
cc71440b759f Uploaded
mytest
parents:
diff changeset
94 <conditional name='pfam'>
cc71440b759f Uploaded
mytest
parents:
diff changeset
95 <param name='options' type='select' label='Use Pfam Options [ Optional ]'>
cc71440b759f Uploaded
mytest
parents:
diff changeset
96 <option value='no'>NO</option>
cc71440b759f Uploaded
mytest
parents:
diff changeset
97 <option value='yes'>YES</option>
cc71440b759f Uploaded
mytest
parents:
diff changeset
98 </param>
cc71440b759f Uploaded
mytest
parents:
diff changeset
99 <when value='no'/>
cc71440b759f Uploaded
mytest
parents:
diff changeset
100 <when value='yes'>
cc71440b759f Uploaded
mytest
parents:
diff changeset
101 <param name='pfam_db' type='select' label='Search pfam database' help=' --search_pfam &lt; pfam_db.hmm &gt; ; /path/to/pfam_db.hmm to search using hmmscan'>
cc71440b759f Uploaded
mytest
parents:
diff changeset
102 <options from_file="pfam_db.loc">
cc71440b759f Uploaded
mytest
parents:
diff changeset
103 <column name="name" index="0"/>
cc71440b759f Uploaded
mytest
parents:
diff changeset
104 <column name="value" index="2"/>
cc71440b759f Uploaded
mytest
parents:
diff changeset
105 </options>
cc71440b759f Uploaded
mytest
parents:
diff changeset
106 </param>
cc71440b759f Uploaded
mytest
parents:
diff changeset
107 <param name='CPU' type='integer' value='2' label='CPU' help='--CPU &lt; int &gt; Number of CPU for the job'/>
cc71440b759f Uploaded
mytest
parents:
diff changeset
108 </when>
cc71440b759f Uploaded
mytest
parents:
diff changeset
109 </conditional>
cc71440b759f Uploaded
mytest
parents:
diff changeset
110
cc71440b759f Uploaded
mytest
parents:
diff changeset
111 </inputs>
cc71440b759f Uploaded
mytest
parents:
diff changeset
112 <outputs>
cc71440b759f Uploaded
mytest
parents:
diff changeset
113 <data name='transdecoder_pep' format='fasta' label="${tool.name} on ${on_string}: pep" from_work_dir="transcript.transdecoder.pep"/>
cc71440b759f Uploaded
mytest
parents:
diff changeset
114 <data name='transdecoder_cds' format='fasta' label="${tool.name} on ${on_string}: cds" from_work_dir="transcript.transdecoder.cds"/>
cc71440b759f Uploaded
mytest
parents:
diff changeset
115 <data name='transdecoder_bed' format='bed' label="${tool.name} on ${on_string}: bed" from_work_dir="transcript.transdecoder.bed"/>
cc71440b759f Uploaded
mytest
parents:
diff changeset
116 <data name='transdecoder_gff3' format='tabular' label="${tool.name} on ${on_string}: gff3" from_work_dir="transcript.transdecoder.gff3"/>
cc71440b759f Uploaded
mytest
parents:
diff changeset
117 <data name='transdecoder_mRNA' format='fasta' label="${tool.name} on ${on_string}: mRNA" from_work_dir="transcript.transdecoder.mRNA"/>
cc71440b759f Uploaded
mytest
parents:
diff changeset
118 <data name='transdecoder_log' format='txt' label="${tool.name} on ${on_string}: log" />
cc71440b759f Uploaded
mytest
parents:
diff changeset
119 </outputs>
cc71440b759f Uploaded
mytest
parents:
diff changeset
120 </tool>