Mercurial > repos > jjohnson > arriba
comparison arriba.xml @ 5:005b200c8841 draft
"planemo upload for repository https://github.com/jj-umn/tools-iuc/tree/arriba/tools/arriba commit bdefea23247f7d999b96e232ce810e2887338680"
author | jjohnson |
---|---|
date | Sun, 10 Oct 2021 13:00:45 +0000 |
parents | 77021ad5037d |
children | 7253b367c082 |
comparison
equal
deleted
inserted
replaced
4:77021ad5037d | 5:005b200c8841 |
---|---|
69 #end if | 69 #end if |
70 #if $tags | 70 #if $tags |
71 -t '$tags' | 71 -t '$tags' |
72 #end if | 72 #end if |
73 -o fusions.tsv | 73 -o fusions.tsv |
74 #if $output_fusions_discarded | |
74 -O fusions.discarded.tsv | 75 -O fusions.discarded.tsv |
76 #end if | |
75 #if str($input_params.input_source) == "use_fastq" | 77 #if str($input_params.input_source) == "use_fastq" |
76 && samtools sort -@ \${GALAXY_SLOTS:-1} -m 4G -T tmp -O bam Aligned.out.bam > Aligned.sortedByCoord.out.bam | 78 && samtools sort -@ \${GALAXY_SLOTS:-1} -m 4G -T tmp -O bam Aligned.out.bam > Aligned.sortedByCoord.out.bam |
77 && samtools index Aligned.sortedByCoord.out.bam | 79 && samtools index Aligned.sortedByCoord.out.bam |
78 #elif str($visualization.do_viz) == "yes" | 80 #elif str($visualization.do_viz) == "yes" |
79 && samtools sort -@ \${GALAXY_SLOTS:-1} -m 4G -T tmp -O bam '$input_params.input' > Aligned.sortedByCoord.out.bam | 81 && samtools sort -@ \${GALAXY_SLOTS:-1} -m 4G -T tmp -O bam '$input_params.input' > Aligned.sortedByCoord.out.bam |
86 --output=fusions.pdf | 88 --output=fusions.pdf |
87 --annotation='$gtf' | 89 --annotation='$gtf' |
88 #if $visualization.cytobands | 90 #if $visualization.cytobands |
89 --cytobands='$visualization.cytobands' | 91 --cytobands='$visualization.cytobands' |
90 #end if | 92 #end if |
91 #if '$protein_domains' | 93 #if $protein_domains |
92 --proteinDomains='$protein_domains' | 94 --proteinDomains='$protein_domains' |
93 #end if | 95 #end if |
94 #end if | 96 #end if |
95 | 97 |
96 ]]></command> | 98 ]]></command> |
128 </conditional> | 130 </conditional> |
129 </when> | 131 </when> |
130 </conditional> | 132 </conditional> |
131 <param name="genome_assembly" argument="-a" type="data" format="fasta" label="genome assembly fasta"/> | 133 <param name="genome_assembly" argument="-a" type="data" format="fasta" label="genome assembly fasta"/> |
132 <param name="gtf" argument="-g" type="data" format="gtf" label="GTF file with gene annotation"/> | 134 <param name="gtf" argument="-g" type="data" format="gtf" label="GTF file with gene annotation"/> |
133 <param name="blacklist" argument="-b" type="data" format="tabular" optional="true" label="File containing blacklisted ranges."/> | 135 <param name="blacklist" argument="-b" type="data" format="tabular,tabular.gz" optional="true" label="File containing blacklisted ranges."/> |
134 <param name="protein_domains" argument="-p" type="data" format="gff3" optional="true" label="File containing protein domains"/> | 136 <param name="protein_domains" argument="-p" type="data" format="gff3" optional="true" label="File containing protein domains"/> |
135 <param name="known_fusions" argument="-k" type="data" format="tabular" optional="true" label="File containing known fusions"> | 137 <param name="known_fusions" argument="-k" type="data" format="tabular,tabular.gz" optional="true" label="File containing known fusions"> |
136 <help><![CDATA[ file two TAB separated columns: five-prime region three-prime region ]]></help> | 138 <help><![CDATA[ file two TAB separated columns: five-prime region three-prime region ]]></help> |
137 </param> | 139 </param> |
138 <param name="tags" argument="-t" type="data" format="tabular" optional="true" label="File containing tag names for a fusion." | 140 <param name="tags" argument="-t" type="data" format="tabular" optional="true" label="File containing tag names for a fusion." |
139 help="This can be the known fusions if that input has a third column with a name"/> | 141 help="This can be the known fusions if that input has a third column with a name"/> |
142 <param name="output_fusions_discarded" type="boolean" truevalue="yes" falsevalue="no" checked="true" label="Output fusions.discarded.tsv"/> | |
140 <conditional name="visualization"> | 143 <conditional name="visualization"> |
141 <param name="do_viz" type="select" label="Generate visualization"> | 144 <param name="do_viz" type="select" label="Generate visualization"> |
142 <option value="yes">Yes</option> | 145 <option value="yes">Yes</option> |
143 <option value="no">no</option> | 146 <option value="no">no</option> |
144 </param> | 147 </param> |
145 <when value="yes"> | 148 <when value="yes"> |
146 <param name="cytobands" argument="--cytobands" type="data" format="tabular" optional="true" label="Cytobands"/> | 149 <param name="cytobands" argument="--cytobands" type="data" format="tabular" optional="true" label="Cytobands"/> |
147 </when> | 150 </when> |
148 <when value="no"/> | 151 <when value="no"/> |
149 </conditional> | 152 </conditional> |
150 | |
151 </inputs> | 153 </inputs> |
152 <outputs> | 154 <outputs> |
153 <data name="fusions" format="tabular" label="${tool.name} on ${on_string}: fusions.tsv" from_work_dir="fusions.tsv"/> | 155 <data name="fusions" format="tabular" label="${tool.name} on ${on_string}: fusions.tsv" from_work_dir="fusions.tsv"/> |
154 <data name="discarded" format="tabular" label="${tool.name} on ${on_string}: fusions.discarded.tsv" from_work_dir="fusions.discarded.tsv"/> | 156 <data name="discarded" format="tabular" label="${tool.name} on ${on_string}: fusions.discarded.tsv" from_work_dir="fusions.discarded.tsv"> |
157 <filter> output_fusions_discarded == "yes"</filter> | |
158 </data> | |
155 <data name="aligned_bam" format="bam" label="${tool.name} on ${on_string}: Aligned.bam" from_work_dir="Aligned.sortedByCoord.out.bam"> | 159 <data name="aligned_bam" format="bam" label="${tool.name} on ${on_string}: Aligned.bam" from_work_dir="Aligned.sortedByCoord.out.bam"> |
156 <filter>input_params['input_source'] == "use_fastq"</filter> | 160 <filter>input_params['input_source'] == "use_fastq"</filter> |
157 </data> | 161 </data> |
158 <data name="fusions_pdf" format="pdf" label="${tool.name} on ${on_string}: fusions.pdf" from_work_dir="fusions.pdf"> | 162 <data name="fusions_pdf" format="pdf" label="${tool.name} on ${on_string}: fusions.pdf" from_work_dir="fusions.pdf"> |
159 <filter>visualization['do_viz'] == "yes"</filter> | 163 <filter>visualization['do_viz'] == "yes"</filter> |
166 <param name="input_source" value="use_star"/> | 170 <param name="input_source" value="use_star"/> |
167 <param name="input" ftype="sam" value="Aligned.out.sam"/> | 171 <param name="input" ftype="sam" value="Aligned.out.sam"/> |
168 </conditional> | 172 </conditional> |
169 <param name="genome_assembly" ftype="fasta" value="genome.fasta"/> | 173 <param name="genome_assembly" ftype="fasta" value="genome.fasta"/> |
170 <param name="gtf" ftype="gtf" value="genome.gtf"/> | 174 <param name="gtf" ftype="gtf" value="genome.gtf"/> |
175 <param name="protein_domains" ftype="gff3" value="protein_domains.gff3"/> | |
171 <conditional name="visualization"> | 176 <conditional name="visualization"> |
172 <param name="do_viz" value="no"/> | 177 <param name="do_viz" value="no"/> |
178 <param name="cytobands" ftype="tabular" value="cytobands.tsv"/> | |
173 </conditional> | 179 </conditional> |
174 <output name="fusions"> | 180 <output name="fusions"> |
175 <assert_contents> | 181 <assert_contents> |
176 <has_text_matching expression="BCR\tABL1"/> | 182 <has_text_matching expression="BCR\tABL1"/> |
177 </assert_contents> | 183 </assert_contents> |
178 </output> | 184 </output> |
179 </test> | 185 </test> |
186 <!-- Test 2 - From exisitng BAM with protein_domains and visualization --> | |
187 <test> | |
188 <conditional name="input_params"> | |
189 <param name="input_source" value="use_star"/> | |
190 <param name="input" ftype="sam" value="Aligned.out.sam"/> | |
191 </conditional> | |
192 <param name="genome_assembly" ftype="fasta" value="genome.fasta"/> | |
193 <param name="gtf" ftype="gtf" value="genome.gtf"/> | |
194 <conditional name="visualization"> | |
195 <param name="do_viz" value="yes"/> | |
196 </conditional> | |
197 <output name="fusions"> | |
198 <assert_contents> | |
199 <has_text_matching expression="BCR\tABL1"/> | |
200 </assert_contents> | |
201 </output> | |
202 </test> | |
203 | |
180 </tests> | 204 </tests> |
181 <help><![CDATA[ | 205 <help><![CDATA[ |
182 ** Arriba ** | 206 ** Arriba ** |
183 | 207 |
184 | 208 |
377 - fusions.discarded.tsv | 401 - fusions.discarded.tsv |
378 | 402 |
379 The file fusions.discarded.tsv (as specified by the parameter -O) contains all events that Arriba classified as an artifact or that are also observed in healthy tissue. It has the same format as the file fusions.tsv. | 403 The file fusions.discarded.tsv (as specified by the parameter -O) contains all events that Arriba classified as an artifact or that are also observed in healthy tissue. It has the same format as the file fusions.tsv. |
380 | 404 |
381 | 405 |
382 | 406 ** VISUALIZATION_ ** |
407 - fusions.pdf | |
408 | |
409 A PDF file with one page for each predicted fusion. Each page depicts the fusion partners, their orientation, the retained exons in the fusion transcript, statistics about the number of supporting reads, and if the column fusion_transcript has a value an excerpt of the sequence around the breakpoint. | |
383 | 410 |
384 | 411 |
385 Code repository: https://github.com/suhrig/arriba | 412 Code repository: https://github.com/suhrig/arriba |
386 Get help/report bugs: https://github.com/suhrig/arriba/issues | 413 Get help/report bugs: https://github.com/suhrig/arriba/issues |
387 User manual: https://arriba.readthedocs.io/ | 414 User manual: https://arriba.readthedocs.io/ |
389 | 416 |
390 | 417 |
391 .. _Arriba: https://arriba.readthedocs.io/en/latest/ | 418 .. _Arriba: https://arriba.readthedocs.io/en/latest/ |
392 .. _INPUTS: https://arriba.readthedocs.io/en/latest/input-files/ | 419 .. _INPUTS: https://arriba.readthedocs.io/en/latest/input-files/ |
393 .. _OUTPUTS: https://arriba.readthedocs.io/en/latest/output-files/ | 420 .. _OUTPUTS: https://arriba.readthedocs.io/en/latest/output-files/ |
421 .. _VISUALIZATION: https://arriba.readthedocs.io/en/latest/visualization/ | |
394 | 422 |
395 ]]></help> | 423 ]]></help> |
396 <expand macro="citations" /> | 424 <expand macro="citations" /> |
397 </tool> | 425 </tool> |