comparison arriba.xml @ 3:2d32e6c86c48 draft

"planemo upload for repository https://github.com/jj-umn/tools-iuc/tree/arriba/tools/arriba commit b4882afed9ec678b576f126907094c77c03eae96"
author jjohnson
date Fri, 08 Oct 2021 20:44:25 +0000
parents 7420753b0671
children 77021ad5037d
comparison
equal deleted inserted replaced
2:7420753b0671 3:2d32e6c86c48
68 #if '$tags' 68 #if '$tags'
69 -t '$tags' 69 -t '$tags'
70 #end if 70 #end if
71 -o fusions.tsv 71 -o fusions.tsv
72 -O fusions.discarded.tsv 72 -O fusions.discarded.tsv
73 #if str($input_params.input_source) == "use_fastq"
74 && samtools sort -@ "$THREADS" -m 4G -T tmp -O bam Aligned.out.bam > Aligned.sortedByCoord.out.bam
75 && samtools index Aligned.sortedByCoord.out.bam
76 #elif str($visualization.do_viz) == "yes"
77 && samtools sort -@ "$THREADS" -m 4G -T tmp -O bam '$input_params.input' > Aligned.sortedByCoord.out.bam
78 && samtools index Aligned.sortedByCoord.out.bam
79 #end if
80 #if str($visualization.do_viz) == "yes"
81 draw_fusions.R \
82 --fusions=fusions.tsv
83 --alignments=Aligned.sortedByCoord.out.bam
84 --output=fusions.pdf
85 --annotation='$gtf'
86 #if $visualization.cytobands
87 --cytobands='$visualization.cytobands'
88 #end if
89 #if '$protein_domains'
90 --proteinDomains=database/protein_domains_hg19_hs37d5_GRCh37_v2.1.0.gff3
91 #end if
92 #end if
93
73 ]]></command> 94 ]]></command>
74 <inputs> 95 <inputs>
75 <conditional name="input_params"> 96 <conditional name="input_params">
76 <param name="input_source" type="select" label="Use output from earlier STAR run or let Arriba running STAR"> 97 <param name="input_source" type="select" label="Use output from earlier STAR run or let Arriba running STAR">
77 <option value="use_star">Use output from earlier STAR</option> 98 <option value="use_star">Use output from earlier STAR</option>
105 </conditional> 126 </conditional>
106 </when> 127 </when>
107 </conditional> 128 </conditional>
108 <param name="genome_assembly" argument="-a" type="data" format="fasta" label="genome assembly fasta"/> 129 <param name="genome_assembly" argument="-a" type="data" format="fasta" label="genome assembly fasta"/>
109 <param name="gtf" argument="-g" type="data" format="gtf" label="GTF file with gene annotation"/> 130 <param name="gtf" argument="-g" type="data" format="gtf" label="GTF file with gene annotation"/>
110 <param name="blacklist" argument="-b" type="data" format="tabular" label="File containing blacklisted ranges."/> 131 <param name="blacklist" argument="-b" type="data" format="tabular" optional="true" label="File containing blacklisted ranges."/>
111 <param name="protein_domains" argument="-p" type="data" format="gff3" optional="true" label="File containing blacklisted ranges."/> 132 <param name="protein_domains" argument="-p" type="data" format="gff3" optional="true" label="File containing blacklisted ranges."/>
112 <param name="known_fusions" argument="-k" type="data" format="tabular" optional="true" label="File containing known fusions"> 133 <param name="known_fusions" argument="-k" type="data" format="tabular" optional="true" label="File containing known fusions">
113 <help><![CDATA[ file two TAB separated columns: five-prime region three-prime region ]]></help> 134 <help><![CDATA[ file two TAB separated columns: five-prime region three-prime region ]]></help>
114 </param> 135 </param>
115 <param name="tags" argument="-t" type="data" format="tabular" optional="true" label="File containing tag names for a fusion."/> 136 <param name="tags" argument="-t" type="data" format="tabular" optional="true" label="File containing tag names for a fusion."/>
137 <conditional name="visualization">
138 <param name="do_viz" type="select" label="Generate visualization">
139 <option value="yes">Yes</option>
140 <option value="no">no</option>
141 </param>
142 <when value="yes">
143 <param name="cytobands" argument="--cytobands" type="data" format="tabular" optional="true" label="Cytobands"/>
144 </when>
145 <when value="no"/>
146 </conditional>
147
116 </inputs> 148 </inputs>
117 <outputs> 149 <outputs>
118 <data name="fusions" format="tabular" label="${tool.name} on ${on_string}: fusions.tsv" from_work_dir="fusions.tsv"/> 150 <data name="fusions" format="tabular" label="${tool.name} on ${on_string}: fusions.tsv" from_work_dir="fusions.tsv"/>
119 <data name="discarded" format="tabular" label="${tool.name} on ${on_string}: fusions.discarded.tsv" from_work_dir="fusions.discarded.tsv"/> 151 <data name="discarded" format="tabular" label="${tool.name} on ${on_string}: fusions.discarded.tsv" from_work_dir="fusions.discarded.tsv"/>
152 <data name="aligned_bam" format="bam" label="${tool.name} on ${on_string}: Aligned.bam" from_work_dir="Aligned.sortedByCoord.out.bam">
153 <filter>input_params['input_source'] == "use_fastq"</filter>
154 </data>
155 <data name="fusions_png" format="png" label="${tool.name} on ${on_string}: fusions.pdf" from_work_dir="fusions.pdf">
156 <filter>visualization['do_viz'] == "yes"</filter>
157 </data>
120 </outputs> 158 </outputs>
121 <help><![CDATA[ 159 <help><![CDATA[
122 ** Arriba ** 160 ** Arriba **
123 161
124 162