comparison medaka_consensus.xml @ 1:551f8c9bc4cf draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
author iuc
date Thu, 28 May 2020 02:39:35 -0400
parents ef94bace3a3c
children 6a87478ed985
comparison
equal deleted inserted replaced
0:ef94bace3a3c 1:551f8c9bc4cf
1 <tool id="medaka_consensus_pipeline" name="medaka: Consensus pipeline" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@"> 1 <tool id="medaka_consensus_pipeline" name="medaka: Consensus pipeline" version="@TOOL_VERSION@+galaxy1" profile="@PROFILE@">
2 <description>Assembly polishing via neural networks</description> 2 <description>Assembly polishing via neural networks</description>
3 <macros> 3 <macros>
4 <import>macros.xml</import> 4 <import>macros.xml</import>
5 </macros> 5 </macros>
6 <expand macro="requirements"/> 6 <expand macro="requirements"/>
7 <expand macro="version_command"/> 7 <expand macro="version_command"/>
8 <command detect_errors="exit_code"><![CDATA[ 8 <command detect_errors="exit_code"><![CDATA[
9 medaka_consensus 9 medaka_consensus
10 ## optional 10 ## optional
11 -m '${m}' 11 -m ${m}
12 -b $b 12 -b $b
13 -o 'results' 13 -o results
14 #if 'draft' in str($out).split(',') or 'variants' in str($out).split(',') or 'polished' in str($out).split(',') 14 #if 'draft' in str($out).split(',') or 'variants' in str($out).split(',') or 'polished' in str($out).split(',')
15 -v 15 -v
16 #end if 16 #end if
17 -t \${GALAXY_SLOTS:-4} 17 -t \${GALAXY_SLOTS:-4}
18 ## required 18 ## required
19 -i '$i' 19 -i '$i'
20 -d '$d' 20 -d '$d'
21 21
22 |& tee 'log.txt' 22 |& tee '$out_log'
23 #if 'variants' in str($out).split(',')
24 && bgzip -d 'results/variants.vcf.gz'
25 #end if
26 ]]></command> 23 ]]></command>
27 <inputs> 24 <inputs>
28 <param argument="-i" type="data" format="fastq,fastq.gz,fastqsanger,fastqsanger.gz,fasta,fasta.gz" label="Select basecalls"/> 25 <param argument="-i" type="data" format="fastq,fastq.gz,fastqsanger,fastqsanger.gz,fasta,fasta.gz" label="Select basecalls"/>
29 <param argument="-d" type="data" format="fasta,fasta.gz" label="Select assembly" help="The input assembly should be preprocessed with racon."/> 26 <param argument="-d" type="data" format="fasta,fasta.gz" label="Select assembly" help="The input assembly should be preprocessed with racon."/>
30 <expand macro="model"/> 27 <expand macro="model"/>
52 </data> 49 </data>
53 <!-- optional with parameter -v --> 50 <!-- optional with parameter -v -->
54 <data name="out_draft" format="txt" from_work_dir="results/draft_to_consensus.chain" label="${tool.name} on ${on_string}: Draft to consensus"> 51 <data name="out_draft" format="txt" from_work_dir="results/draft_to_consensus.chain" label="${tool.name} on ${on_string}: Draft to consensus">
55 <filter>'draft' in out</filter> 52 <filter>'draft' in out</filter>
56 </data> 53 </data>
57 <data name="out_variants" format="vcf" from_work_dir="results/variants.vcf" label="${tool.name} on ${on_string}: Variants"> 54 <data name="out_variants" format="vcf_bgzip" from_work_dir="results/variants.vcf.gz" label="${tool.name} on ${on_string}: Variants">
58 <filter>'variants' in out</filter> 55 <filter>'variants' in out</filter>
59 </data> 56 </data>
60 <data name="out_polished" format="bed" from_work_dir="results/polished_regions_in_draft_coords.bed" label="${tool.name} on ${on_string}: Polished regions in Draft"> 57 <data name="out_polished" format="bed" from_work_dir="results/polished_regions_in_draft_coords.bed" label="${tool.name} on ${on_string}: Polished regions in Draft">
61 <filter>'polished' in out</filter> 58 <filter>'polished' in out</filter>
62 </data> 59 </data>
63 <!-- optional --> 60 <!-- optional -->
64 <data name="out_log" format="txt" label="${tool.name} on ${on_string}: Log" from_work_dir="log.txt"> 61 <data name="out_log" format="txt" label="${tool.name} on ${on_string}: Log">
65 <filter>'log' in out</filter> 62 <filter>'log' in out</filter>
66 </data> 63 </data>
67 </outputs> 64 </outputs>
68 <tests> 65 <tests>
69 <!-- #1 default --> 66 <!-- #1 default -->
122 <output name="out_polished"> 119 <output name="out_polished">
123 <assert_contents> 120 <assert_contents>
124 <has_size value="9"/> 121 <has_size value="9"/>
125 </assert_contents> 122 </assert_contents>
126 </output> 123 </output>
127 <output name="out_variants"> 124 <output name="out_variants" file="variants.vcf.gz" decompress="true"/>
128 <assert_contents>
129 <has_n_lines n="9"/>
130 <has_line line="##fileformat=VCFv4.1"/>
131 <has_text_matching expression="4&#009;.+"/>
132 </assert_contents>
133 </output>
134 <output name="out_log"> 125 <output name="out_log">
135 <assert_contents> 126 <assert_contents>
136 <has_line line="Polished assembly written to results/consensus.fasta, have a nice day."/> 127 <has_line line="Polished assembly written to results/consensus.fasta, have a nice day."/>
137 </assert_contents> 128 </assert_contents>
138 </output> 129 </output>