Mercurial > repos > fubar > rgrnastar_203e
comparison rg_rnaStar.xml @ 35:e2dd4a5fad65 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar_240d commit 344140b8df53b8b7024618bb04594607a045c03a
author | iuc |
---|---|
date | Mon, 04 May 2015 22:46:43 -0400 |
parents | 936a6ca8d60f |
children |
comparison
equal
deleted
inserted
replaced
34:99ea1fc51f4b | 35:e2dd4a5fad65 |
---|---|
2 <description>Gapped-read mapper for RNA-seq data</description> | 2 <description>Gapped-read mapper for RNA-seq data</description> |
3 <requirements> | 3 <requirements> |
4 <requirement type="package" version="2.4.0d">rnastar</requirement> | 4 <requirement type="package" version="2.4.0d">rnastar</requirement> |
5 <requirement type="package" version="0.1.19">samtools</requirement> | 5 <requirement type="package" version="0.1.19">samtools</requirement> |
6 </requirements> | 6 </requirements> |
7 <stdio> | |
8 <regex match=".*" source="both" level="warning" description="Some stderr/stdout text"/> | |
9 </stdio> | |
10 | |
7 <command> | 11 <command> |
8 ## | 12 ## |
9 ## Run STAR. | 13 ## Run STAR. |
10 ## | 14 ## |
11 #if str($refGenomeSource.genomeSource) == 'history': | 15 #if str($refGenomeSource.genomeSource) == 'history': |
22 ## Can adjust this as appropriate for the system. | 26 ## Can adjust this as appropriate for the system. |
23 --genomeLoad NoSharedMemory | 27 --genomeLoad NoSharedMemory |
24 #if str($refGenomeSource.genomeSource) == 'history': | 28 #if str($refGenomeSource.genomeSource) == 'history': |
25 --genomeDir "tempstargenomedir" | 29 --genomeDir "tempstargenomedir" |
26 #else | 30 #else |
27 --genomeDir "$refGenomeSource.index.fields.path" | 31 --genomeDir "$refGenomeSource.index.fields.path" |
28 #end if | 32 #end if |
29 --readFilesIn $singlePaired.input1 | 33 --readFilesIn $singlePaired.input1 |
30 #if str($singlePaired.sPaired) == "paired" | 34 #if str($singlePaired.sPaired) == "paired" |
31 $singlePaired.input2 | 35 $singlePaired.input2 |
32 #end if | 36 #end if |
33 --runThreadN 4 | 37 --runThreadN 4 |
34 #if str($params.settingsType) == "full": | 38 #if str($params.settingsType) == "full": |
43 ## | 47 ## |
44 ## BAM conversion. | 48 ## BAM conversion. |
45 ## | 49 ## |
46 | 50 |
47 ## Convert aligned reads. | 51 ## Convert aligned reads. |
48 samtools view -Shb Aligned.out.sam | samtools sort - AlignedSorted 2>/dev/null | 52 samtools view -Shb Aligned.out.sam | samtools sort - AlignedSorted 2>/dev/null |
49 | 53 |
50 ## Convert chimeric reads. | 54 ## Convert chimeric reads. |
51 #if str($params.settingsType) == "full" and $params.chim_segment_min > 0: | 55 #if str($params.settingsType) == "full" and $params.chim_segment_min > 0: |
52 ; samtools view -Shb Chimeric.out.sam | samtools sort - ChimericSorted 2>/dev/null | 56 ; samtools view -Shb Chimeric.out.sam | samtools sort - ChimericSorted 2>/dev/null |
53 #end if | 57 #end if |
54 </command> | 58 </command> |
55 | 59 |
56 <stdio> | |
57 <regex match=".*" source="both" level="warning" description="Some stderr/stdout text"/> | |
58 </stdio> | |
59 | |
60 <inputs> | 60 <inputs> |
61 <param name="jobName" type="text" size="120" value="rna-star run" label="Job narrative (added to output names)" | 61 <param name="jobName" type="text" size="120" value="rna-star run" label="Job narrative (added to output names)" |
62 help="Only letters, numbers and underscores (_) will be retained in this field"> | 62 help="Only letters, numbers and underscores (_) will be retained in this field"> |
63 <sanitizer invalid_char=""> | 63 <sanitizer invalid_char=""> |
64 <valid initial="string.letters,string.digits"><add value="_" /> </valid> | 64 <valid initial="string.letters,string.digits"><add value="_" /> </valid> |
65 </sanitizer> | 65 </sanitizer> |
66 </param> | 66 </param> |
72 </param> | 72 </param> |
73 <when value="single"> | 73 <when value="single"> |
74 <param format="fastqsanger,fastq,fasta" name="input1" type="data" label="RNA-Seq FASTQ file" help="Nucleotide-space: Must have Sanger-scaled quality values with ASCII offset 33"/> | 74 <param format="fastqsanger,fastq,fasta" name="input1" type="data" label="RNA-Seq FASTQ file" help="Nucleotide-space: Must have Sanger-scaled quality values with ASCII offset 33"/> |
75 </when> | 75 </when> |
76 <when value="paired"> | 76 <when value="paired"> |
77 <param format="fastqsanger,fastq,fasta" name="input1" type="data" label="RNA-Seq FASTQ file, forward reads" | 77 <param format="fastqsanger,fastq,fasta" name="input1" type="data" label="RNA-Seq FASTQ file, forward reads" |
78 help="Nucleotide-space: Must have Sanger-scaled quality values with ASCII offset 33" /> | 78 help="Nucleotide-space: Must have Sanger-scaled quality values with ASCII offset 33" /> |
79 <param format="fastqsanger,fastq,fasta" name="input2" type="data" label="RNA-Seq FASTQ file, reverse reads" | 79 <param format="fastqsanger,fastq,fasta" name="input2" type="data" label="RNA-Seq FASTQ file, reverse reads" |
80 help="Nucleotide-space: Must have Sanger-scaled quality values with ASCII offset 33" /> | 80 help="Nucleotide-space: Must have Sanger-scaled quality values with ASCII offset 33" /> |
81 </when> | 81 </when> |
82 </conditional> | 82 </conditional> |
150 </action> | 150 </action> |
151 </when> | 151 </when> |
152 </conditional> | 152 </conditional> |
153 </actions> | 153 </actions> |
154 </data> | 154 </data> |
155 <data format="bam" name="chimeric_reads" label="${jobName}_starmappedchim.bam" | 155 <data format="bam" name="chimeric_reads" label="${jobName}_starmappedchim.bam" |
156 from_work_dir="ChimericSorted.bam"> | 156 from_work_dir="ChimericSorted.bam"> |
157 <filter>(params['settingsType'] == 'full' and params['chim_segment_min'] > 0)</filter> | 157 <filter>(params['settingsType'] == 'full' and params['chim_segment_min'] > 0)</filter> |
158 <actions> | 158 <actions> |
159 <conditional name="refGenomeSource.genomeSource"> | 159 <conditional name="refGenomeSource.genomeSource"> |
160 <when value="indexed"> | 160 <when value="indexed"> |
171 </action> | 171 </action> |
172 </when> | 172 </when> |
173 </conditional> | 173 </conditional> |
174 </actions> | 174 </actions> |
175 </data> | 175 </data> |
176 <data format="interval" name="splice_junctions" label="${jobName}_starsplicejunct.bed" | 176 <data format="interval" name="splice_junctions" label="${jobName}_starsplicejunct.bed" |
177 from_work_dir="SJ.out.tab"> | 177 from_work_dir="SJ.out.tab"> |
178 <actions> | 178 <actions> |
179 <conditional name="refGenomeSource.genomeSource"> | 179 <conditional name="refGenomeSource.genomeSource"> |
180 <when value="indexed"> | 180 <when value="indexed"> |
181 <action type="metadata" name="dbkey"> | 181 <action type="metadata" name="dbkey"> |
191 </action> | 191 </action> |
192 </when> | 192 </when> |
193 </conditional> | 193 </conditional> |
194 </actions> | 194 </actions> |
195 </data> | 195 </data> |
196 <data format="bam" name="mapped_reads" label="${jobName}_starmapped.bam" | 196 <data format="bam" name="mapped_reads" label="${jobName}_starmapped.bam" |
197 from_work_dir="AlignedSorted.bam"> | 197 from_work_dir="AlignedSorted.bam"> |
198 <actions> | 198 <actions> |
199 <conditional name="refGenomeSource.genomeSource"> | 199 <conditional name="refGenomeSource.genomeSource"> |
200 <when value="indexed"> | 200 <when value="indexed"> |
201 <action type="metadata" name="dbkey"> | 201 <action type="metadata" name="dbkey"> |
285 | 285 |
286 --outFilterIntronMotifs RemoveNoncanonicalUnannotated | 286 --outFilterIntronMotifs RemoveNoncanonicalUnannotated |
287 filter out alignments that contain non-canonical unannotated junctions | 287 filter out alignments that contain non-canonical unannotated junctions |
288 when using annotated splice junctions database. The annotated non- | 288 when using annotated splice junctions database. The annotated non- |
289 canonical junctions will be kept. | 289 canonical junctions will be kept. |
290 | 290 |
291 | 291 |
292 **Attributions** | 292 **Attributions** |
293 | 293 |
294 Note that each component has its own license. Good luck with figuring out your obligations. | 294 Note that each component has its own license. Good luck with figuring out your obligations. |
295 | 295 |
296 rna_star - see the web site at rna_star_ | 296 rna_star - see the web site at rna_star_ |
297 | 297 |
298 For details, please see the rna_starMS_ | 298 For details, please see the rna_starMS_ |
299 "STAR: ultrafast universal RNA-seq aligner" | 299 "STAR: ultrafast universal RNA-seq aligner" |
300 A. Dobin et al, Bioinformatics 2012; doi: 10.1093/bioinformatics/bts635 | 300 A. Dobin et al, Bioinformatics 2012; doi: 10.1093/bioinformatics/bts635 |
301 | 301 |
302 Galaxy_ (that's what you are using right now!) for gluing everything together | 302 Galaxy_ (that's what you are using right now!) for gluing everything together |
303 | 303 |
304 Most of the work for this wrapper XML is Jeremy Goecks' original STAR_ wrapper | 304 Most of the work for this wrapper XML is Jeremy Goecks' original STAR_ wrapper |
305 | 305 |
306 Minor tweaks to output names to suit our downstream purposes, toolshed automated dependencies | 306 Minor tweaks to output names to suit our downstream purposes, toolshed automated dependencies |
307 and odds and ends of other code and documentation comprising this tool was | 307 and odds and ends of other code and documentation comprising this tool was |
308 written by Ross Lazarus and that part is licensed_ the same way as other rgenetics artefacts | 308 written by Ross Lazarus and that part is licensed_ the same way as other rgenetics artefacts |
309 | 309 |
310 .. _STAR: https://bitbucket.org/jgoecks/jeremys-code/raw/fa1930a689b8e2f6b59cc1706e5ba0ed8ad357be/galaxy/tool-wrappers/star.xml | 310 .. _STAR: https://bitbucket.org/jgoecks/jeremys-code/raw/fa1930a689b8e2f6b59cc1706e5ba0ed8ad357be/galaxy/tool-wrappers/star.xml |
311 .. _licensed: http://creativecommons.org/licenses/by-nc-nd/3.0/ | 311 .. _licensed: http://creativecommons.org/licenses/by-nc-nd/3.0/ |
312 .. _rna_star: http://code.google.com/p/rna-star/ | 312 .. _rna_star: http://code.google.com/p/rna-star/ |