annotate nanopolish_eventalign.xml @ 1:16803ac0f871 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
author bgruening
date Tue, 05 Jun 2018 07:51:55 -0400
parents b47693f10b20
children ec4ac1a63682
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
1 <tool id="nanopolish_eventalign" name="Nanopolish eventalign" version="0.1.0">
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
2 <description>- Align nanopore events to reference k-mers</description>
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
3 <macros>
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
4 <import>macros.xml</import>
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
5 </macros>
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
6 <expand macro="requirements" />
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
8 ln -s '$input_merged' reads.fasta &&
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
9
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
10 #if $input_reads_raw.extension == 'fast5':
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
11 mkdir fast5_files && ln -s '$input_reads_raw' fast5_files/read1.fast5 &&
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
12 #else
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
13 ln -s '$input_reads_raw' fast5_files.tar.gz &&
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
14 mkdir fast5_files && tar -xzf fast5_files.tar.gz -C fast5_files &&
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
15 #end if
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
16
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
17 nanopolish index -d fast5_files/ reads.fasta &&
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
18 ln -s '$b' reads.bam &&
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
19 ln -s '${b.metadata.bam_index}' reads.bam.bai &&
1
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
20 #if $reference_source.reference_source_selector == 'history':
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
21 ln -f -s '$reference_source.ref_file' genome.fa &&
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
22 #else:
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
23 ln -f -s '$reference_source.ref_file.fields.path' genome.fa &&
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
24 #end if
0
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
25
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
26 nanopolish eventalign
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
27 -r reads.fasta
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
28 -b reads.bam
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
29 -g genome.fa
1
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
30 #if str($min_mapping_quality):
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
31 -q $min_mapping_quality
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
32 #end if
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
33 --threads "\${GALAXY_SLOTS:-4}"
0
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
34 $samples
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
35 $scale_events
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
36 $sam
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
37 $print_read_names
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
38 #if $w and str($w).strip():
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
39 -w "${w}"
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
40 #end if
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
41 #if $input_models_fofn:
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
42 --models-fofn '$input_models_fofn'
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
43 #end if
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
44 #if $summary:
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
45 --summary eventalign-summary.txt
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
46 #end if
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
47 > eventalign.out
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
48
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
49
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
50 ]]></command>
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
51 <inputs>
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
52 <!-- index inputs -->
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
53 <param type="data" name="input_merged" format="fasta,fastq" label="Basecalled merged reads.fa"/>
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
54 <param type="data" name="input_reads_raw" format="h5,fast5.tar.gz" label="Flat archive file of raw fast5 files"/>
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
55
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
56 <!-- variants consensus inputs -->
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
57 <param type="data" argument="-b" format="bam" label="Reads aligned to the reference genome" />
1
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
58 <conditional name="reference_source">
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
59 <param name="reference_source_selector" type="select" label="Load reference genome from">
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
60 <option value="cached">Local cache</option>
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
61 <option value="history">History</option>
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
62 </param>
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
63 <when value="cached">
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
64 <param name="ref_file" type="select" label="Using reference genome" help="REFERENCE_SEQUENCE">
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
65 <options from_data_table="all_fasta">
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
66 </options>
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
67 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/>
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
68 </param>
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
69 </when>
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
70 <when value="history">
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
71 <param name="ref_file" type="data" format="fasta" label="Use the following dataset as the reference sequence" help="REFERENCE_SEQUENCE; You can upload a FASTA sequence to the history and use it as reference" />
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
72 </when>
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
73 </conditional>
0
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
74
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
75 <!-- optional inputs -->
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
76 <param type="data" name="input_models_fofn" argument="--models-fofn" format="txt" optional="true"
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
77 label="Read alternative k-mer models (optional)" />
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
78
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
79 <!-- optional params -->
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
80 <param argument="-w" type="text" optional="true"
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
81 label="find variants in window of region chromsome:start-end" />
1
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
82 <param name="min_mapping_quality" type="integer" optional="true" value=""
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
83 label="Only use reads with mapping quality of at least this value" help="(-q)"/>
0
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
84
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
85 <!-- optional flags -->
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
86 <param argument="--summary" type="boolean" truevalue="--summary" falsevalue="" checked="true"
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
87 label="Summarize the alignment of each read/strand" />
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
88 <param argument="--samples" type="boolean" truevalue="--samples" falsevalue="" checked="false"
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
89 label="Write the raw samples for the event to the tsv output" />
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
90 <param name="scale_events" argument="--scale-events" type="boolean" truevalue="--scale-events" falsevalue="" checked="false"
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
91 label="Scale events to the model, rather than vice-versa" />
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
92 <param argument="--sam" type="boolean" truevalue="--sam" falsevalue="" checked="false"
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
93 label="write output in SAM format" />
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
94 <param name="print_read_names" argument="--print-read-names" type="boolean" truevalue="--print-read-names" falsevalue="" checked="false"
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
95 label="Print read names instead of indexes" />
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
96
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
97 </inputs>
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
98
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
99 <outputs>
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
100 <!-- variants consensus outputs -->
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
101 <data name="output_summary" format="txt" from_work_dir="eventalign-summary.txt" label="eventalign summary of reads/strands" />
1
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
102 <data name="output_eventalign" format="txt" from_work_dir="eventalign.out" label="Aligned squiggles"/>
0
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
103 </outputs>
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
104 <tests>
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
105 <test>
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
106 <param name="input_merged" ftype="fasta" value="reads.fasta" />
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
107 <param name="input_reads_raw" ftype="fast5.tar.gz" value="fast5_files.tar.gz" />
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
108 <param name="b" value="reads.sorted.bam" />
1
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
109 <param name="reference_source_selector" value="history" />
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
110 <param name="ref_file" value="draft.fa" />
0
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
111 <param name="w" value="tig00000001:200000-200010" />
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
112 <param name="sam" value="true" />
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
113 <output name="output_summary" file="eventalign-summary.txt" />
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
114 <output name="output_eventalign" file="reads-draft.eventalign.sam"/>
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
115 </test>
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
116 <test>
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
117 <param name="input_merged" ftype="fasta" value="reads.fasta" />
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
118 <param name="input_reads_raw" ftype="fast5.tar.gz" value="fast5_files.tar.gz" />
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
119 <param name="b" value="reads.sorted.bam" />
1
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
120 <param name="reference_source_selector" value="history" />
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
121 <param name="ref_file" value="draft.fa" />
0
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
122 <param name="w" value="tig00000001:200000-200010" />
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
123 <param name="sam" value="false" />
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
124 <param name="summary" value="false" />
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
125 <param name="scale_events" value="true" />
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
126 <param name="print_read_names" value="true" />
1
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
127 <param name="min_mapping_quality" value="0" />
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
128 <output name="output_summary" file="t2-eventalign-summary.txt" />
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
129 <output name="output_eventalign">
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
130 <assert_contents>
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
131 <has_text text="contig" />
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
132 <has_text text="position" />
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
133 <has_text text="event_index" />
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
134 <has_text text="tig00000001" />
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
135 </assert_contents>
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
136 </output>
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
137 </test>
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
138 <test>
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
139 <!-- test data table reference -->
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
140 <param name="input_merged" ftype="fasta" value="reads.fasta" />
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
141 <param name="input_reads_raw" ftype="fast5.tar.gz" value="fast5_files.tar.gz" />
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
142 <param name="b" value="reads.sorted.bam" />
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
143 <param name="reference_source_selector" value="cached" />
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
144 <param name="ref_file" value="draft"/>
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
145 <param name="w" value="tig00000001:200000-200010" />
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
146 <param name="sam" value="false" />
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
147 <param name="summary" value="false" />
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
148 <param name="scale_events" value="true" />
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
149 <param name="print_read_names" value="true" />
16803ac0f871 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
bgruening
parents: 0
diff changeset
150 <param name="min_mapping_quality" value="0" />
0
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
151 <output name="output_summary" file="t2-eventalign-summary.txt" />
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
152 <output name="output_eventalign">
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
153 <assert_contents>
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
154 <has_text text="contig" />
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
155 <has_text text="position" />
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
156 <has_text text="event_index" />
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
157 <has_text text="tig00000001" />
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
158 </assert_contents>
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
159 </output>
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
160 </test>
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
161 </tests>
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
162 <help><![CDATA[
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
163 Usage: nanopolish eventalign [OPTIONS] --reads reads.fa --bam alignments.bam --genome genome.fa
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
164 Align nanopore events to reference k-mers
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
165
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
166 Tutorial and manual available at:
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
167 http://nanopolish.readthedocs.io/en/latest/quickstart_eventalign.html
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
168
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
169 ]]></help>
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
170 <expand macro="citations" />
b47693f10b20 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 0e94011a4ea84bf4ae5c2079680a37540e022625
bgruening
parents:
diff changeset
171 </tool>