Mercurial > repos > badger > trinityrnaseq
annotate trinityrnaseq.xml @ 14:961b5bf3fcc8 draft default tip
remove other tools
| author | Eric Badger <badger@msi.umn.edu> |
|---|---|
| date | Tue, 08 Apr 2014 13:16:06 -0500 |
| parents | 6425d1da3746 |
| children |
| rev | line source |
|---|---|
| 14 | 1 <tool id="trinityrnaseq-itasca" name="Trinity - Itasca BETA" version="0.0.3"> |
| 0 | 2 <!-- Written by Jeremy Goecks, now maintained here by bhaas --> |
| 3 <description>De novo assembly of RNA-Seq data Using Trinity</description> | |
| 4 <requirements> | |
| 10 | 5 <requirement type="package">java</requirement> |
|
1
a34ce2b18877
Update tool_dependencies to trinityrnaseq_2013_08_14 and add samtools and bowtie
Jim Johnson <jj@umn.edu>
parents:
0
diff
changeset
|
6 <requirement type="package" version="2013_08_14">trinityrnaseq</requirement> |
|
9
09c1e388c20c
Change samtools tool_dependency to iuc package_samtools_0_1_19
Jim Johnson <jj@umn.edu>
parents:
4
diff
changeset
|
7 <requirement type="package" version="0.1.19">samtools</requirement> |
|
1
a34ce2b18877
Update tool_dependencies to trinityrnaseq_2013_08_14 and add samtools and bowtie
Jim Johnson <jj@umn.edu>
parents:
0
diff
changeset
|
8 <requirement type="package" version="1.0.0">bowtie</requirement> |
| 0 | 9 </requirements> |
| 10 <command> | |
|
11
2bc2f0d5e4e1
change compute node selection params
Eric Badger <badger@msi.umn.edu>
parents:
10
diff
changeset
|
11 Trinity.pl --JM $computenode --CPU \$GALAXY_SLOTS |
| 0 | 12 |
| 13 ## Inputs. | |
| 14 #if str($inputs.paired_or_single) == "paired": | |
| 15 --left $inputs.left_input --right $inputs.right_input | |
| 16 #if $inputs.left_input.ext == 'fa': | |
| 17 --seqType fa | |
| 18 #else: | |
| 19 --seqType fq | |
| 20 #end if | |
| 21 #if str($inputs.library_type) != "None": | |
| 22 --SS_lib_type $inputs.library_type | |
| 23 #end if | |
| 24 --group_pairs_distance $inputs.group_pairs_distance | |
| 25 #else: | |
| 26 --single $inputs.input | |
| 27 #if str($inputs.input.ext) == 'fa': | |
| 28 --seqType fa | |
| 29 #else: | |
| 30 --seqType fq | |
| 31 #end if | |
| 32 #if str($inputs.library_type) != "None": | |
| 33 --SS_lib_type $inputs.library_type | |
| 34 #end if | |
| 35 #end if | |
| 36 | |
| 37 ## Additional parameters. | |
| 38 #if str($additional_params.use_additional) == "yes": | |
|
11
2bc2f0d5e4e1
change compute node selection params
Eric Badger <badger@msi.umn.edu>
parents:
10
diff
changeset
|
39 --min_kmer_cov $additional_params.min_kmer_cov --max_reads_per_graph $additional_params.max_reads_per_graph --bflyHeapSpaceMax $computenode |
| 0 | 40 #if $additional_params.bfly_opts != 'None': |
| 41 --bfly_opts " $additional_params.bfly_opts " | |
| 42 #end if | |
| 43 #end if | |
|
4
d5580071d910
Update commandline to detect successful completion
Jim Johnson <jj@umn.edu>
parents:
3
diff
changeset
|
44 |
|
d5580071d910
Update commandline to detect successful completion
Jim Johnson <jj@umn.edu>
parents:
3
diff
changeset
|
45 ## direct output to the log file |
|
d5580071d910
Update commandline to detect successful completion
Jim Johnson <jj@umn.edu>
parents:
3
diff
changeset
|
46 | tee $trinity_log |
|
d5580071d910
Update commandline to detect successful completion
Jim Johnson <jj@umn.edu>
parents:
3
diff
changeset
|
47 ## Check output for success message (direct grep output to dev null, -q option quits early leaving tee error messages) |
|
d5580071d910
Update commandline to detect successful completion
Jim Johnson <jj@umn.edu>
parents:
3
diff
changeset
|
48 | grep 'All commands completed successfully.' > /dev/null |
|
d5580071d910
Update commandline to detect successful completion
Jim Johnson <jj@umn.edu>
parents:
3
diff
changeset
|
49 ## Print the stats to output to provide info on galaxy history item |
|
d5580071d910
Update commandline to detect successful completion
Jim Johnson <jj@umn.edu>
parents:
3
diff
changeset
|
50 && \$TRINITY_HOME/util/TrinityStats.pl trinity_out_dir/Trinity.fasta |
| 0 | 51 </command> |
| 52 <inputs> | |
|
11
2bc2f0d5e4e1
change compute node selection params
Eric Badger <badger@msi.umn.edu>
parents:
10
diff
changeset
|
53 <param name="computenode" type="select" label="Compute node" help="Select the size of node needed"> |
| 14 | 54 <option value="21G">21GB - 8 cores</option> |
| 55 <option value="58G">58GB - 16 cores</option> | |
| 56 <option value="125G">125GB - 16 cores</option> | |
| 57 <option value="253G">253GB - 16 cores</option> | |
|
11
2bc2f0d5e4e1
change compute node selection params
Eric Badger <badger@msi.umn.edu>
parents:
10
diff
changeset
|
58 </param> |
| 0 | 59 |
| 60 <conditional name="inputs"> | |
| 61 <param name="paired_or_single" type="select" label="Paired or Single-end data?"> | |
| 62 <option value="paired">Paired</option> | |
| 63 <option value="single">Single</option> | |
| 64 </param> | |
| 65 <when value="paired"> | |
| 66 <param format="fasta,fastq" name="left_input" type="data" label="Left/Forward strand reads" help=""/> | |
| 67 <param format="fasta,fastq" name="right_input" type="data" label="Right/Reverse strand reads" help=""/> | |
| 68 <param name="library_type" type="select" label="Strand-specific Library Type"> | |
| 69 <option value="None">None</option> | |
| 70 <option value="FR">FR</option> | |
| 71 <option value="RF">RF</option> | |
| 72 </param> | |
| 73 <param name="group_pairs_distance" type="integer" value="500" min="1" label="Group pairs distance" help="Maximum length expected between fragment pairs"/> | |
| 74 <param name="path_reinforcement_distance" type="integer" value="75" min="1" label="Path reinforcement distance" help="Minimum read overlap required for path extension in the graph" /> | |
| 75 | |
| 76 </when> | |
| 77 <when value="single"> | |
| 78 <param format="fasta,fastq" name="input" type="data" label="Single-end reads" help=""/> | |
| 79 <param name="library_type" type="select" label="Strand-specific Library Type"> | |
| 80 <option value="None">None</option> | |
| 81 <option value="F">F</option> | |
| 82 <option value="R">R</option> | |
| 83 </param> | |
| 84 <param name="path_reinforcement_distance" type="integer" value="40" min="1" label="Path reinforcement distance" help="Minimum read overlap required for path extension in the graph" /> | |
| 85 </when> | |
| 86 </conditional> | |
| 87 | |
| 88 <conditional name="additional_params"> | |
| 89 <param name="use_additional" type="select" label="Use Additional Params?"> | |
| 90 <option value="no">No</option> | |
| 91 <option value="yes">Yes</option> | |
| 92 </param> | |
| 93 <when value="no"> | |
| 94 </when> | |
| 95 <when value="yes"> | |
| 96 <param name="min_kmer_cov" type="integer" value="1" min="1" label="inchworm_min_kmer_cov" help="Minimum kmer coverage required by Inchworm for initial contig construction" /> | |
| 97 <param name="max_reads_per_graph" type="integer" value="20000000" min="10000" label="chrysalis_max_reads_per_graph" help="Maximum number of reads to be anchored within each transcript graph by Chrysalis" /> | |
| 98 <param name="bfly_opts" type="text" value="None" label="bfly_opts" help="Options to pass on to Butterfly" /> | |
| 99 <param name="min_contig_length" type="integer" value="200" min="1" label="Minimum Contig Length" help=""/> | |
| 100 </when> | |
| 101 </conditional> | |
| 102 </inputs> | |
| 103 <stdio> | |
|
2
5eb99d21ef0d
Add trinityrnaseq_norm and transcriptsToOrfs tools
Jim Johnson <jj@umn.edu>
parents:
1
diff
changeset
|
104 <exit_code range="1:" level="fatal" description="Failed" /> |
|
1
a34ce2b18877
Update tool_dependencies to trinityrnaseq_2013_08_14 and add samtools and bowtie
Jim Johnson <jj@umn.edu>
parents:
0
diff
changeset
|
105 <regex match="command not found" |
|
a34ce2b18877
Update tool_dependencies to trinityrnaseq_2013_08_14 and add samtools and bowtie
Jim Johnson <jj@umn.edu>
parents:
0
diff
changeset
|
106 source="both" |
|
a34ce2b18877
Update tool_dependencies to trinityrnaseq_2013_08_14 and add samtools and bowtie
Jim Johnson <jj@umn.edu>
parents:
0
diff
changeset
|
107 level="fatal" |
|
a34ce2b18877
Update tool_dependencies to trinityrnaseq_2013_08_14 and add samtools and bowtie
Jim Johnson <jj@umn.edu>
parents:
0
diff
changeset
|
108 description="Trinity.pl not found" /> |
| 0 | 109 </stdio> |
| 110 <outputs> | |
| 111 <data format="txt" name="trinity_log" label="${tool.name} on ${on_string}: log" /> | |
| 112 <data format="fasta" name="assembled_transcripts" label="${tool.name} on ${on_string}: Assembled Transcripts" from_work_dir="trinity_out_dir/Trinity.fasta"/> | |
| 113 </outputs> | |
| 114 <tests> | |
| 115 | |
| 116 <test> | |
| 117 <param name="paired_or_single" value="single"/> | |
| 118 <param name="input" ftype="fastq" value="reads.left.fq"/> | |
| 119 <param name="library_type" value="None"/> | |
| 120 <param name="path_reinforcement_distance" value="40"/> | |
| 121 <param name="use_additional" value="no"/> | |
| 122 <output name="trinity_log"> | |
| 123 <assert_contents> | |
| 124 <!-- sequence merged from multiple reads --> | |
| 125 <has_text text="Butterfly assemblies are written to" /> | |
| 126 </assert_contents> | |
| 127 </output> | |
| 128 <output name="assembled_transcripts"> | |
| 129 <assert_contents> | |
| 130 <!-- sequence merged from multiple reads --> | |
| 131 <has_text text="CCATGAGGGGGGGGGGCAATGG" /> | |
| 132 </assert_contents> | |
| 133 </output> | |
| 134 </test> | |
| 135 | |
| 136 <test> | |
| 137 <param name="paired_or_single" value="paired"/> | |
| 138 <param name="left_input" ftype="fastq" value="reads.left.fq"/> | |
| 139 <param name="right_input" ftype="fastq" value="reads.right.fq"/> | |
| 140 <param name="library_type" value="None"/> | |
| 141 <param name="group_pairs_distance" value="500"/> | |
| 142 <param name="path_reinforcement_distance" value="75"/> | |
| 143 <param name="use_additional" value="no"/> | |
| 144 <output name="trinity_log"> | |
| 145 <assert_contents> | |
| 146 <!-- sequence merged from multiple reads --> | |
| 147 <has_text text="Butterfly assemblies are written to" /> | |
| 148 </assert_contents> | |
| 149 </output> | |
| 150 <output name="assembled_transcripts"> | |
| 151 <assert_contents> | |
| 152 <!-- sequence merged from multiple reads --> | |
| 153 <has_text text="AAGCTGGCCTCAAATTCCTGATCC" /> | |
| 154 </assert_contents> | |
| 155 </output> | |
| 156 </test> | |
| 157 </tests> | |
| 158 <help> | |
| 159 Trinity is a de novo transcript assembler that uses RNA-seq data as input. This tool runs all Trinity_ commands--Inchworm, Chrysalis, and Butterfly--in a single pass. | |
| 160 | |
| 161 .. _Trinity: http://trinityrnaseq.sourceforge.net | |
| 162 </help> | |
| 163 </tool> |
