annotate medaka_consensus.xml @ 4:a1b70f038b4a draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
author iuc
date Tue, 13 Oct 2020 15:59:11 +0000
parents 35666d44fe7a
children 1ca4ce7241fd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
a1b70f038b4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents: 3
diff changeset
1 <tool id="medaka_consensus_pipeline" name="medaka consensus pipeline" version="@TOOL_VERSION@+galaxy2" profile="@PROFILE@">
0
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
2 <description>Assembly polishing via neural networks</description>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
3 <macros>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
4 <import>macros.xml</import>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
5 </macros>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
7 <expand macro="version_command"/>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
1
551f8c9bc4cf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 0
diff changeset
9 medaka_consensus
551f8c9bc4cf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 0
diff changeset
10 ## optional
551f8c9bc4cf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 0
diff changeset
11 -m ${m}
551f8c9bc4cf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 0
diff changeset
12 -b $b
551f8c9bc4cf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 0
diff changeset
13 -o results
551f8c9bc4cf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 0
diff changeset
14 #if 'draft' in str($out).split(',') or 'variants' in str($out).split(',') or 'polished' in str($out).split(',')
551f8c9bc4cf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 0
diff changeset
15 -v
551f8c9bc4cf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 0
diff changeset
16 #end if
551f8c9bc4cf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 0
diff changeset
17 -t \${GALAXY_SLOTS:-4}
551f8c9bc4cf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 0
diff changeset
18 ## required
551f8c9bc4cf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 0
diff changeset
19 -i '$i'
551f8c9bc4cf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 0
diff changeset
20 -d '$d'
0
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
21
3
35666d44fe7a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents: 2
diff changeset
22 2>&1 | tee '$out_log'
0
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
23 ]]></command>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
24 <inputs>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
25 <param argument="-i" type="data" format="fastq,fastq.gz,fastqsanger,fastqsanger.gz,fasta,fasta.gz" label="Select basecalls"/>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
26 <param argument="-d" type="data" format="fasta,fasta.gz" label="Select assembly" help="The input assembly should be preprocessed with racon."/>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
27 <expand macro="model"/>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
28 <expand macro="b"/>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
29 <param name="out" type="select" multiple="true" optional="false" label="Select output file(s)" help="'Draft To Consensus', 'Variants' and 'Polished regions in draft coordinates' are generated using the parameter -v.">
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
30 <option value="consensus" selected="true">Consensus</option>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
31 <option value="probs" selected="true">Consensus probabilities</option>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
32 <option value="calls" selected="true">Calls to draft</option>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
33 <option value="draft">Draft to consensus</option>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
34 <option value="variants">Variants</option>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
35 <option value="polished">Polished regions in draft coordinates</option>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
36 <option value="log">Log</option>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
37 </param>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
38 </inputs>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
39 <outputs>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
40 <!-- standard -->
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
41 <data name="out_consensus" format="fasta" from_work_dir="results/consensus.fasta" label="${tool.name} on ${on_string}: Consensus">
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
42 <filter>'consensus' in out</filter>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
43 </data>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
44 <data name="out_probs" format="h5" from_work_dir="results/consensus_probs.hdf" label="${tool.name} on ${on_string}: Consensus probabilities">
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
45 <filter>'probs' in out</filter>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
46 </data>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
47 <data name="out_calls" format="bam" from_work_dir="results/calls_to_draft.bam" label="${tool.name} on ${on_string}: Calls to draft">
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
48 <filter>'calls' in out</filter>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
49 </data>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
50 <!-- optional with parameter -v -->
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
51 <data name="out_draft" format="txt" from_work_dir="results/draft_to_consensus.chain" label="${tool.name} on ${on_string}: Draft to consensus">
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
52 <filter>'draft' in out</filter>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
53 </data>
1
551f8c9bc4cf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 0
diff changeset
54 <data name="out_variants" format="vcf_bgzip" from_work_dir="results/variants.vcf.gz" label="${tool.name} on ${on_string}: Variants">
0
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
55 <filter>'variants' in out</filter>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
56 </data>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
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">
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
58 <filter>'polished' in out</filter>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
59 </data>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
60 <!-- optional -->
1
551f8c9bc4cf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 0
diff changeset
61 <data name="out_log" format="txt" label="${tool.name} on ${on_string}: Log">
0
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
62 <filter>'log' in out</filter>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
63 </data>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
64 </outputs>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
65 <tests>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
66 <!-- #1 default -->
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
67 <test expect_num_outputs="3">
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
68 <param name="i" value="basecalls.fastq"/>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
69 <param name="d" value="assembly.fasta"/>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
70 <output name="out_consensus">
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
71 <assert_contents>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
72 <has_n_lines n="2"/>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
73 <has_line line=">4_segment0 4:1.0-3792.0"/>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
74 <has_text_matching expression=".+GTCAGAATCGCGTTCAGCGCGTTTCAGCGGTGCGTACAATT.+"/>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
75 </assert_contents>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
76 </output>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
77 <output name="out_probs">
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
78 <assert_contents>
3
35666d44fe7a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents: 2
diff changeset
79 <has_size value="165271" delta="100"/>
0
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
80 </assert_contents>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
81 </output>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
82 <output name="out_calls">
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
83 <assert_contents>
3
35666d44fe7a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents: 2
diff changeset
84 <has_size value="343197" delta="100"/>
0
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
85 </assert_contents>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
86 </output>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
87 </test>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
88 <!-- #2 -->
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
89 <test expect_num_outputs="7">
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
90 <param name="i" value="basecalls.fastq"/>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
91 <param name="d" value="assembly.fasta"/>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
92 <param name="m" value="r941_min_fast_g303"/>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
93 <param name="b" value="99"/>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
94 <param name="out" value="consensus,probs,calls,draft,variants,polished,log"/>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
95 <output name="out_consensus">
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
96 <assert_contents>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
97 <has_n_lines n="65"/>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
98 <has_line line=">4 length=3792 depth=114.52x circular=true"/>
3
35666d44fe7a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents: 2
diff changeset
99 <has_line line="ATCTCTTT"/>
0
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
100 </assert_contents>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
101 </output>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
102 <output name="out_probs">
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
103 <assert_contents>
3
35666d44fe7a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents: 2
diff changeset
104 <has_size value="166251" delta="100"/>
0
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
105 </assert_contents>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
106 </output>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
107 <output name="out_calls">
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
108 <assert_contents>
3
35666d44fe7a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents: 2
diff changeset
109 <has_size value="343197" delta="100"/>
0
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
110 </assert_contents>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
111 </output>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
112 <output name="out_draft">
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
113 <assert_contents>
3
35666d44fe7a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents: 2
diff changeset
114 <has_line line="chain 3788 4 3792 + 0 3792 4 3788 + 0 3788 1"/>
35666d44fe7a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents: 2
diff changeset
115 <has_line line="1409 1 0"/>
35666d44fe7a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents: 2
diff changeset
116 <has_line line="440 1 0"/>
35666d44fe7a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents: 2
diff changeset
117 <has_line line="736 1 0"/>
35666d44fe7a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents: 2
diff changeset
118 <has_line line="853 1 0"/>
35666d44fe7a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents: 2
diff changeset
119 <has_line line="350"/>
0
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
120 </assert_contents>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
121 </output>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
122 <output name="out_polished">
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
123 <assert_contents>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
124 <has_size value="9"/>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
125 </assert_contents>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
126 </output>
1
551f8c9bc4cf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 0
diff changeset
127 <output name="out_variants" file="variants.vcf.gz" decompress="true"/>
0
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
128 <output name="out_log">
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
129 <assert_contents>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
130 <has_line line="Polished assembly written to results/consensus.fasta, have a nice day."/>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
131 </assert_contents>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
132 </output>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
133 </test>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
134 </tests>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
135 <help><![CDATA[
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
136 .. class:: infomark
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
137
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
138 **What it does**
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
139
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
140 @WID@
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
141
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
142 The *medaka_consensus* pipeline performs assembly polishing via neural networks.
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
143
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
144 **Input**
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
145
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
146 An *assembly* in .fasta format and *basecalls* in .fasta or .fastq format are required. See `Creating a Draft Assembly <https://nanoporetech.github.io/medaka/walkthrough.html#basecalling-and-draft-assembly>`_ for a detailed example of one method of obtaining these.
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
147
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
148 **Output**
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
149
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
150 - Consensus polished assembly (FASTA)
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
151 - Consensus Probabilities (H5/HDF)
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
152 - Calls To Draft (BAM)
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
153 - Draft To Consensus (chain, TXT)
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
154 - Variants: VCF of changes (VCF)
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
155 - Polished: BED file of polished regions (BED)
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
156
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
157 **References**
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
158
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
159 @REFERENCES@
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
160 ]]></help>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
161 <expand macro="citations"/>
ef94bace3a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
162 </tool>