Mercurial > repos > iuc > medaka_consensus_pipeline
annotate medaka_consensus.xml @ 0:ef94bace3a3c draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
author | iuc |
---|---|
date | Sat, 23 May 2020 13:38:26 -0400 |
parents | |
children | 551f8c9bc4cf |
rev | line source |
---|---|
0
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
1 <tool id="medaka_consensus_pipeline" name="medaka: Consensus pipeline" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@"> |
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[ |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
9 medaka_consensus |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
10 ## optional |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
11 -m '${m}' |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
12 -b $b |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
13 -o 'results' |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
14 #if 'draft' in str($out).split(',') or 'variants' in str($out).split(',') or 'polished' in str($out).split(',') |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
15 -v |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
16 #end if |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
17 -t \${GALAXY_SLOTS:-4} |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
18 ## required |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
19 -i '$i' |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
20 -d '$d' |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
21 |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
22 |& tee 'log.txt' |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
23 #if 'variants' in str($out).split(',') |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
24 && bgzip -d 'results/variants.vcf.gz' |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
25 #end if |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
26 ]]></command> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
27 <inputs> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
28 <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
|
29 <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
|
30 <expand macro="model"/> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
31 <expand macro="b"/> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
32 <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
|
33 <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
|
34 <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
|
35 <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
|
36 <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
|
37 <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
|
38 <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
|
39 <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
|
40 </param> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
41 </inputs> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
42 <outputs> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
43 <!-- standard --> |
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_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
|
45 <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
|
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_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
|
48 <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
|
49 </data> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
50 <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
|
51 <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
|
52 </data> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
53 <!-- 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
|
54 <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
|
55 <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
|
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_variants" format="vcf" from_work_dir="results/variants.vcf" label="${tool.name} on ${on_string}: Variants"> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
58 <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
|
59 </data> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
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"> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
61 <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
|
62 </data> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
63 <!-- optional --> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
64 <data name="out_log" format="txt" label="${tool.name} on ${on_string}: Log" from_work_dir="log.txt"> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
65 <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
|
66 </data> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
67 </outputs> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
68 <tests> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
69 <!-- #1 default --> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
70 <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
|
71 <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
|
72 <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
|
73 <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
|
74 <assert_contents> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
75 <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
|
76 <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
|
77 <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
|
78 </assert_contents> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
79 </output> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
80 <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
|
81 <assert_contents> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
82 <has_size value="194782" delta="100"/> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
83 </assert_contents> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
84 </output> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
85 <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
|
86 <assert_contents> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
87 <has_size value="533139" delta="100"/> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
88 </assert_contents> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
89 </output> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
90 </test> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
91 <!-- #2 --> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
92 <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
|
93 <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
|
94 <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
|
95 <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
|
96 <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
|
97 <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
|
98 <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
|
99 <assert_contents> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
100 <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
|
101 <has_line line=">4 length=3792 depth=114.52x circular=true"/> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
102 <has_line line="CATCTCTTT"/> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
103 </assert_contents> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
104 </output> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
105 <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
|
106 <assert_contents> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
107 <has_size value="192710" delta="100"/> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
108 </assert_contents> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
109 </output> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
110 <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
|
111 <assert_contents> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
112 <has_size value="533163" delta="100"/> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
113 </assert_contents> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
114 </output> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
115 <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
|
116 <assert_contents> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
117 <has_n_lines n="6"/> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
118 <has_line line="chain 3789 4 3792 + 0 3792 4 3789 + 0 3789 1"/> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
119 <has_line line="1204"/> |
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> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
127 <output name="out_variants"> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
128 <assert_contents> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
129 <has_n_lines n="9"/> |
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="##fileformat=VCFv4.1"/> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
131 <has_text_matching expression="4	.+"/> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
132 </assert_contents> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
133 </output> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
134 <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
|
135 <assert_contents> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
136 <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
|
137 </assert_contents> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
138 </output> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
139 </test> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
140 </tests> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
141 <help><![CDATA[ |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
142 .. class:: infomark |
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 **What it does** |
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 @WID@ |
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 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
|
149 |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
150 **Input** |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
151 |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
152 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
|
153 |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
154 **Output** |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
155 |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
156 - 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
|
157 - 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
|
158 - 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
|
159 - 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
|
160 - 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
|
161 - 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
|
162 |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
163 **References** |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
164 |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
165 @REFERENCES@ |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
166 ]]></help> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
167 <expand macro="citations"/> |
ef94bace3a3c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
168 </tool> |