Mercurial > repos > bgruening > bismark
comparison bismark_methylation_extractor.xml @ 22:8c191acde702 draft default tip
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bismark commit 3005cec91ca52f9d28aa2fe0bd4190555abafc35
author | bgruening |
---|---|
date | Tue, 01 Aug 2023 11:42:10 +0000 |
parents | f211753166bd |
children |
comparison
equal
deleted
inserted
replaced
21:120b7b35e442 | 22:8c191acde702 |
---|---|
1 <tool id="bismark_methylation_extractor" name="Bismark Meth. Extractor" version="0.22.1" profile="18.01"> | 1 <tool id="bismark_methylation_extractor" name="Bismark Meth. Extractor" version="0.22.1+galaxy1" profile="18.01"> |
2 <description>Reports on methylation status of reads mapped by Bismark</description> | 2 <description>Reports on methylation status of reads mapped by Bismark</description> |
3 <requirements> | 3 <requirements> |
4 <requirement type="package" version="0.22.1">bismark</requirement> | 4 <requirement type="package" version="0.22.1">bismark</requirement> |
5 <requirement type="package" version="1.8">samtools</requirement> | 5 <requirement type="package" version="1.8">samtools</requirement> |
6 <requirement type="package" version="2.3.5">bowtie2</requirement> | 6 <requirement type="package" version="2.4.4">bowtie2</requirement> |
7 </requirements> | 7 </requirements> |
8 <command><![CDATA[ | 8 <command><![CDATA[ |
9 python '$__tool_directory__/bismark_methylation_extractor.py' | 9 python '$__tool_directory__/bismark_methylation_extractor.py' |
10 | 10 |
11 --multicore "\${GALAXY_SLOTS:-4}" | 11 --multicore "\${GALAXY_SLOTS:-4}" |
43 --mbias_report '$output_mbias_report' | 43 --mbias_report '$output_mbias_report' |
44 #end if | 44 #end if |
45 | 45 |
46 #if $cytosine_report['cytosine_report_selector']: | 46 #if $cytosine_report['cytosine_report_selector']: |
47 --cytosine_report '$output_cytosine_report' | 47 --cytosine_report '$output_cytosine_report' |
48 #if $cytosine_report['coverage_output']: | |
49 --coverage_file '$coverage_file' | |
50 #end if | |
48 #if $cytosine_report.refGenomeSource.genomeSource == "built_in_fasta": | 51 #if $cytosine_report.refGenomeSource.genomeSource == "built_in_fasta": |
49 --genome_file '${cytosine_report.refGenomeSource.built_in_fasta.fields.path}' | 52 --genome_file '${cytosine_report.refGenomeSource.built_in_fasta.fields.path}' |
50 #else: | 53 #else: |
51 --genome_file '$cytosine_report.refGenomeSource["own_file"]' | 54 --genome_file '$cytosine_report.refGenomeSource["own_file"]' |
52 #end if | 55 #end if |
126 <param name="own_file" type="data" format="fasta" label="Select the reference genome"/> | 129 <param name="own_file" type="data" format="fasta" label="Select the reference genome"/> |
127 </when> | 130 </when> |
128 </conditional> | 131 </conditional> |
129 <param name="cpg_context" type="boolean" truevalue="true" falsevalue="false" checked="False" | 132 <param name="cpg_context" type="boolean" truevalue="true" falsevalue="false" checked="False" |
130 label="Reports Cpg Context only"/> | 133 label="Reports Cpg Context only"/> |
134 <param name="coverage_output" type="boolean" truevalue="true" falsevalue="false" checked="False" | |
135 label="Generate Bismark coverage report"/> | |
136 | |
131 </when> | 137 </when> |
132 <when value="false"></when> | 138 <when value="false"></when> |
133 </conditional> | 139 </conditional> |
134 <section name="output_settings" title="Advanced output settings" expanded="False"> | 140 <section name="output_settings" title="Advanced output settings" expanded="False"> |
135 <param name="comprehensive" type="boolean" truevalue="true" falsevalue="false" checked="True" | 141 <param name="comprehensive" type="boolean" truevalue="true" falsevalue="false" checked="True" |
156 </data> | 162 </data> |
157 <data format="txt" name="output_cytosine_report" | 163 <data format="txt" name="output_cytosine_report" |
158 label="${tool.name} on ${on_string}: Genome-wide methylation report."> | 164 label="${tool.name} on ${on_string}: Genome-wide methylation report."> |
159 <filter>( cytosine_report['cytosine_report_selector'] )</filter> | 165 <filter>( cytosine_report['cytosine_report_selector'] )</filter> |
160 </data> | 166 </data> |
167 <data format="tabular.gz" name="coverage_file" | |
168 label="${tool.name} on ${on_string}:Coverage file."> | |
169 <filter>( cytosine_report['cytosine_report_selector'] and cytosine_report['coverage_output'])</filter> | |
170 </data> | |
161 <data format="zip" name="compressed_output" label="${tool.name} on ${on_string}: Result archive."/> | 171 <data format="zip" name="compressed_output" label="${tool.name} on ${on_string}: Result archive."/> |
162 <data name="log_report" format="txt" label="${tool.name} on ${on_string}: log report (tool stdout)"> | 172 <data name="log_report" format="txt" label="${tool.name} on ${on_string}: log report (tool stdout)"> |
163 <filter>( output_settings['separate_logfile'] is True )</filter> | 173 <filter>( output_settings['separate_logfile'] is True )</filter> |
164 </data> | 174 </data> |
165 </outputs> | 175 </outputs> |
182 <has_line line="chrY_JH584303_random	4	+	0	0	CHH	CAT" /> | 192 <has_line line="chrY_JH584303_random	4	+	0	0	CHH	CAT" /> |
183 <has_line line="chrY_JH584301_random	259872	-	0	0	CHH	CAT" /> | 193 <has_line line="chrY_JH584301_random	259872	-	0	0	CHH	CAT" /> |
184 </assert_contents> | 194 </assert_contents> |
185 </output> | 195 </output> |
186 </test> | 196 </test> |
197 <!--Test coverage output --> | |
198 <test> | |
199 <param name="input" value="mapped_reads.bam" ftype="qname_sorted.bam"/> | |
200 <param name="sPaired" value="single"/> | |
201 <param name="cytosine_report_selector" value="true"/> | |
202 <param name="genomeSource" value="history"/> | |
203 <param name="own_file" value="mm10.tiny.fa.gz" /> | |
204 <param name="coverage_output" value="true"/> | |
205 <output name="coverage_file" ftype="tabular.gz"> | |
206 <assert_contents> | |
207 <has_size value="19960" delta="300"/> | |
208 </assert_contents> | |
209 </output> | |
210 </test> | |
187 </tests> | 211 </tests> |
188 | 212 |
189 <help> | 213 <help> |
190 <![CDATA[ | 214 <![CDATA[ |
191 | 215 |