comparison star_fusion.xml @ 1:0b44456754e2 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/star_fusion commit d6a7537117d814677113ba9a8e4783a80dd228a2
author iuc
date Thu, 20 Apr 2017 08:12:14 -0400
parents 93704f98f56e
children 137942fac417
comparison
equal deleted inserted replaced
0:93704f98f56e 1:0b44456754e2
1 <tool id="star_fusion" name="STAR-Fusion" version="0.5.4-2" profile="16.07"> 1 <tool id="star_fusion" name="STAR-Fusion" version="0.5.4-3" profile="17.01">
2 <description>detect fusion genes in RNA-Seq data</description> 2 <description>detect fusion genes in RNA-Seq data</description>
3 <requirements> 3 <requirements>
4 <!-- Bio-conda --> 4 <!-- Bio-conda -->
5 <requirement type="package" version="0.5.4">star-fusion</requirement> 5 <requirement type="package" version="0.5.4">star-fusion</requirement>
6 </requirements> 6 </requirements>
44 --gtf '${geneModel}' 44 --gtf '${geneModel}'
45 --blast_pairs "${blast_pairs}\$gzip_suffix" 45 --blast_pairs "${blast_pairs}\$gzip_suffix"
46 --CPU \${GALAXY_SLOTS:-1} 46 --CPU \${GALAXY_SLOTS:-1}
47 --output_dir "\$(pwd)/tmp_star_fusion_genome_dir" 47 --output_dir "\$(pwd)/tmp_star_fusion_genome_dir"
48 && 48 &&
49
50 ## Link in fastq files so they have appropriate extensions
51 #if str($input_params.input_source) != "use_chimeric":
52 #if $input_params.left_fq.is_of_type("fastq.gz"):
53 #set read1 = 'input_1.fastq.gz'
54 #else:
55 #set read1 = 'input_1.fastq'
56 #end if
57 ln -f -s '${input_params.left_fq}' ${read1} &&
58
59 #if $input_params.right_fq:
60 #if $input_params.right_fq.is_of_type("fastq.gz"):
61 #set read2 = 'input_2.fastq.gz'
62 #else:
63 #set read2 = 'input_2.fastq'
64 #end if
65 ln -f -s '${input_params.right_fq}' ${read2} &&
66 #end if
67 #end if
49 68
50 ## 3. Run STAR-Fusion 69 ## 3. Run STAR-Fusion
51 STAR-Fusion 70 STAR-Fusion
52 #if str($input_params.input_source) == "use_chimeric": 71 #if str($input_params.input_source) == "use_chimeric":
53 --chimeric_junction '${input_params.chimeric_junction}' 72 --chimeric_junction '${input_params.chimeric_junction}'
54 #else: 73 #else:
55 --left_fq '${input_params.left_fq}' 74 --left_fq ${read1}
56 #if $input_params.right_fq: 75 #if $input_params.right_fq:
57 --right_fq '${input_params.right_fq}' 76 --right_fq ${read2}
58 #end if 77 #end if
59 #end if 78 #end if
60 79
61 --genome_lib_dir "\$(pwd)/tmp_star_fusion_genome_dir" 80 --genome_lib_dir "\$(pwd)/tmp_star_fusion_genome_dir"
62 81
87 label="Chimeric junction file from STAR (with STAR-Fusion settings)"/> 106 label="Chimeric junction file from STAR (with STAR-Fusion settings)"/>
88 </when> 107 </when>
89 <when value="use_fastq"> 108 <when value="use_fastq">
90 <param name="left_fq" 109 <param name="left_fq"
91 type="data" 110 type="data"
92 format="fastqsanger" 111 format="fastqsanger,fastqsanger.gz"
93 argument="--left_fq" 112 argument="--left_fq"
94 label="left.fq file"/> 113 label="left.fq file"/>
95 <param name="right_fq" 114 <param name="right_fq"
96 type="data" 115 type="data"
97 format="fastqsanger" 116 format="fastqsanger,fastqsanger.gz"
98 optional="true" 117 optional="true"
99 argument="--right_fq" 118 argument="--right_fq"
100 label="right.fq file (actually optional, but highly recommended)"/> 119 label="right.fq file (actually optional, but highly recommended)"/>
101 </when> 120 </when>
102 </conditional> 121 </conditional>
119 </when> 138 </when>
120 <when value="history"> 139 <when value="history">
121 <param name="ownFile" 140 <param name="ownFile"
122 type="data" 141 type="data"
123 format="fasta" 142 format="fasta"
124 metadata_name="dbkey"
125 label="Select the reference genome (FASTA file)"/> 143 label="Select the reference genome (FASTA file)"/>
126 </when> 144 </when>
127 </conditional> 145 </conditional>
128 146
129 <param name="geneModel" 147 <param name="geneModel"
218 <has_line line="#fusion_name&#009;JunctionReads&#009;SpanningFrags&#009;Splice_type&#009;LeftGene&#009;LeftBreakpoint&#009;RightGene&#009;RightBreakpoint&#009;JunctionReads&#009;SpanningFrags" /> 236 <has_line line="#fusion_name&#009;JunctionReads&#009;SpanningFrags&#009;Splice_type&#009;LeftGene&#009;LeftBreakpoint&#009;RightGene&#009;RightBreakpoint&#009;JunctionReads&#009;SpanningFrags" />
219 <has_text text="GENE1--GENE2&#009;24&#009;0&#009;INCL_NON_REF_SPLICE&#009;GENE1^GENE1&#009;chr1:240:+&#009;GENE2^GENE2&#009;chr2:241:+" /> 237 <has_text text="GENE1--GENE2&#009;24&#009;0&#009;INCL_NON_REF_SPLICE&#009;GENE1^GENE1&#009;chr1:240:+&#009;GENE2^GENE2&#009;chr2:241:+" />
220 </assert_contents> 238 </assert_contents>
221 </output> 239 </output>
222 </test> 240 </test>
241 <test>
242 <param name="input_source" value="use_fastq" />
243 <param name="left_fq" ftype="fastqsanger.gz" value="test1.fastqsanger.gz"/>
244 <param name="fasta_type_selector" value="history" />
245 <param name="ownFile" ftype="fasta" value="test1.fa" />
246 <param name="geneModel" ftype="gtf" value="test1.gtf" />
247 <param name="blast_pairs" ftype="tabular" value="test1-test1.blastn.tabular" />
248 <param name="settingsType" value="default" />
249
250 <!-- Last column of the results contains data in a random order so exact matching is not feasible -->
251 <output name="output_final">
252 <assert_contents>
253 <has_line line="#fusion_name&#009;JunctionReads&#009;SpanningFrags&#009;Splice_type&#009;LeftGene&#009;LeftBreakpoint&#009;RightGene&#009;RightBreakpoint&#009;JunctionReads&#009;SpanningFrags" />
254 <has_text text="GENE1--GENE2&#009;24&#009;0&#009;INCL_NON_REF_SPLICE&#009;GENE1^GENE1&#009;chr1:240:+&#009;GENE2^GENE2&#009;chr2:241:+" />
255 </assert_contents>
256 </output>
257 </test>
223 </tests> 258 </tests>
224 <help> 259 <help>
225 **What it does** 260 **What it does**
226 261
227 STAR-Fusion is a component of the Trinity Cancer Transcriptome Analysis Toolkit (CTAT). STAR-Fusion uses the STAR aligner to identify candidate fusion transcripts supported by Illumina reads. STAR-Fusion further processes the output generated by the STAR aligner to map junction reads and spanning reads to a reference annotation set. 262 STAR-Fusion is a component of the Trinity Cancer Transcriptome Analysis Toolkit (CTAT). STAR-Fusion uses the STAR aligner to identify candidate fusion transcripts supported by Illumina reads. STAR-Fusion further processes the output generated by the STAR aligner to map junction reads and spanning reads to a reference annotation set.