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