annotate snippy.xml @ 5:e10e0c41a6f3 draft

planemo upload commit 6844ab5e7c82adc0f3a28153f1769b9d6a865002-dirty
author thanhlv
date Mon, 09 Sep 2019 09:41:12 -0400
parents 4e478a5f2742
children d9c204f7042c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
1 <tool id="snippy" name="snippy" version="@VERSION@+galaxy2">
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
2 <description>
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
3 Snippy finds SNPs between a haploid reference genome and your NGS sequence reads.
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
4 </description>
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
5 <macros>
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
6 <import>macros.xml</import>
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
7 </macros>
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
8 <expand macro="requirements" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
9 <expand macro="version_command" />
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
10
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
11 <command detect_errors="exit_code"><![CDATA[
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
12
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
13 #if $reference_source.reference_source_selector == 'history'
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
14 ln -sf '$reference_source.ref_file' 'ref' &&
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
15 #elif $reference_source.reference_source_selector == 'cached'
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
16 ln -sf '$reference_source.ref_file.fields.path' 'ref' &&
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
17 #end if
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
18
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
19 snippy
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
20 --outdir 'out'
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
21 --cpus \${GALAXY_SLOTS:-1}
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
22 --ram \$((\${GALAXY_MEMORY_MB:-4096}/1024))
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
23 --ref 'ref'
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
24 --mapqual $adv.mapqual
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
25 --mincov $adv.mincov
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
26 --minfrac $adv.minfrac
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
27 --minqual $adv.minqual
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
28 #if $adv.rgid
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
29 --rgid '$adv.rgid'
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
30 #end if
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
31 #if $adv.bwaopt
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
32 --bwaopt '$adv.bwaopt'
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
33 #end if
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
34
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
35 #if str( $fastq_input.fastq_input_selector ) == "paired"
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
36 --R1 '$fastq_input.fastq_input1'
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
37 --R2 '$fastq_input.fastq_input2'
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
38 #elif str( $fastq_input.fastq_input_selector ) == "paired_collection"
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
39 --R1 '$fastq_input.fastq_input.forward'
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
40 --R2 '$fastq_input.fastq_input.reverse'
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
41 #elif str( $fastq_input.fastq_input_selector ) == "single"
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
42 --se '$fastq_input.fastq_input_single'
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
43 #elif str( $fastq_input.fastq_input_selector ) == "paired_iv"
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
44 --peil '$fastq_input.fastq_input_interleaved'
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
45 #end if
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
46
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
47 &&
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
48
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
49 #import re
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
50 #if str( $fastq_input.fastq_input_selector ) == "paired"
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
51 #set $dir_name = re.sub('[^\w_]', '_', $fastq_input.fastq_input1.element_identifier)
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
52 #elif str( $fastq_input.fastq_input_selector ) == "paired_collection"
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
53 #set $dir_name = re.sub('[^\w_]', '_', $fastq_input.fastq_input.name)
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
54 #elif str( $fastq_input.fastq_input_selector ) == "single"
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
55 #set $dir_name = re.sub('[^\w_]', '_', $fastq_input.fastq_input_single.element_identifier)
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
56 #elif str( $fastq_input.fastq_input_selector ) == "paired_iv"
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
57 #set $dir_name = re.sub('[^\w_]', '_', $fastq_input.fastq_input_interleaved.element_identifier)
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
58 #end if
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
59
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
60 mkdir -p ${dir_name} && cp -r out/reference out/snps.tab out/snps.aligned.fa out/snps.vcf ${dir_name}/ &&
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
61 tar -czf out.tgz ${dir_name}
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
62 #if "outcon" in str($outputs) and $adv.rename_cons
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
63 && sed -i 's/>.*/>${dir_name}/' out/snps.consensus.fa
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
64 #end if
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
65
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
66
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
67 ]]> </command>
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
68
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
69 <inputs>
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
70
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
71 <conditional name="reference_source">
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
72 <param name="reference_source_selector" type="select" label="Will you select a reference genome from your history or use a built-in index?" help="Built-ins were indexed using default options. See `Indexes` section of help below. If you would like to perform self-mapping select `history` here, then choose your input file as reference.">
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
73 <option value="cached">Use a built-in genome index</option>
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
74 <option value="history">Use a genome from history and build index</option>
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
75 </param>
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
76 <when value="cached">
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
77 <param name="ref_file" type="select" label="Using reference genome" help="Select genome from the list">
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
78 <options from_data_table="all_fasta">
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
79 <validator type="no_options" message="No reference genomes are available" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
80 </options>
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
81 </param>
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
82 </when>
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
83 <when value="history">
5
e10e0c41a6f3 planemo upload commit 6844ab5e7c82adc0f3a28153f1769b9d6a865002-dirty
thanhlv
parents: 2
diff changeset
84 <param name="ref_file" type="data" format="fasta,genbank" label="Use the following dataset as the reference sequence" help="You can upload a FASTA or FASTQ sequence to the history and use it as reference" />
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
85 </when>
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
86 </conditional>
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
87 <conditional name="fastq_input">
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
88 <param name="fastq_input_selector" type="select" label="Single or Paired-end reads" help="Select between paired and single end data">
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
89 <option value="paired">Paired</option>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
90 <option value="single">Single</option>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
91 <option value="paired_collection">Paired Collection</option>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
92 <option value="paired_iv">Paired Interleaved</option>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
93 </param>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
94 <when value="paired">
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
95 <param name="fastq_input1" type="data" format="fastqsanger,fasta" label="Select first set of reads" help="Specify dataset with forward reads"/>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
96 <param name="fastq_input2" type="data" format="fastqsanger,fasta" label="Select second set of reads" help="Specify dataset with reverse reads"/>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
97 </when>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
98 <when value="single">
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
99 <param name="fastq_input_single" type="data" format="fastqsanger,fasta" label="Select fastq dataset" help="Specify dataset with single reads"/>
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
100 </when>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
101 <when value="paired_collection">
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
102 <param name="fastq_input" format="fastqsanger,fasta" type="data_collection" collection_type="paired" label="Select a paired collection" help="See help section for an explanation of dataset collections"/>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
103 </when>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
104 <when value="paired_iv">
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
105 <param name="fastq_input_interleaved" type="data" format="fastqsanger" label="Select fastq dataset" help="Specify dataset with interleaved reads"/>
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
106 </when>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
107 </conditional>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
108
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
109 <section name="adv" title="Advanced parameters" expanded="false">
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
110 <param name="mapqual" type="integer" value="60" label="Minimum mapping quality" help="Minimum mapping quality to allow" />
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
111 <param name="mincov" type="integer" value="10" label="Minimum coverage" help="Minimum coverage to call a snp" />
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
112 <param name="minfrac" type="float" value="0.9" label="Minumum proportion for variant evidence" help="Minumum proportion for variant evidence" />
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
113 <param name="minqual" type="float" value="100.0" label="Minumum QUALITY in VCF column 6" help="Minumum QUALITY in VCF column 6" />
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
114 <param name="rgid" type="text" value="" label="Bam header @RG ID" help="Use this @RG ID: in the BAM header" />
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
115 <param name="bwaopt" type="text" value="" label="Extra BWA MEM options" help="Extra BWA MEM options, eg. -x pacbio" />
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
116 <param name="rename_cons" type="boolean" truevalue="rename_cons" falsevalue="" help="When producing an output of the reference genome with variants instantiated, edit the header so that it is named after the input VCF" />
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
117 </section>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
118
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
119 <param name="outputs" type="select" multiple="true" display="checkboxes" label="Output selection">
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
120 <option value="outvcf" selected="True">The final annotated variants in VCF format</option>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
121 <option value="outgff" selected="False">The variants in GFF3 format</option>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
122 <option value="outtab" selected="True">A simple tab-separated summary of all the variants</option>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
123 <option value="outsum" selected="False">A summary of the samples and mapping</option>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
124 <option value="outlog" selected="False">A log file with the commands run and their outputs</option>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
125 <option value="outaln" selected="False">A version of the reference but with - at position with depth=0 and N for 0 to depth to --mincov (does not have variants)</option>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
126 <option value="outcon" selected="False">A version of the reference genome with all variants instantiated</option>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
127 <option value="outdep" selected="False">Output of samtools depth for the .bam file</option>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
128 <option value="outbam" selected="False">The alignments in BAM format. Note that multi-mapping and unmapped reads are not present.</option>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
129 <option value="outzip" selected="True">Zipped files needed for input into snippy-core</option>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
130 </param>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
131
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
132 </inputs>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
133
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
134 <outputs>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
135
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
136 <data format="vcf" name="snpvcf" label="${tool.name} on ${on_string} snps vcf file" from_work_dir="out/snps.vcf">
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
137 <filter>outputs and 'outvcf' in outputs</filter>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
138 </data>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
139 <data format="gff3" name="snpgff" label="${tool.name} on ${on_string} snps gff file" from_work_dir="out/snps.gff">
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
140 <filter>outputs and 'outgff' in outputs</filter>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
141 </data>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
142 <data format="tabular" name="snptab" label="${tool.name} on ${on_string} snps table" from_work_dir="out/snps.tab">
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
143 <filter>outputs and 'outtab' in outputs</filter>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
144 </data>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
145 <data format="tabular" name="snpsum" label="${tool.name} on ${on_string} snps summary" from_work_dir="out/snps.txt">
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
146 <filter>outputs and 'outsum' in outputs</filter>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
147 </data>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
148 <data format="txt" name="snplog" label="${tool.name} on ${on_string} log file" from_work_dir="out/snps.log">
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
149 <filter>outputs and 'outlog' in outputs</filter>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
150 </data>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
151 <data format="fasta" name="snpalign" label="${tool.name} on ${on_string} aligned fasta" from_work_dir="out/snps.aligned.fa">
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
152 <filter>outputs and 'outaln' in outputs</filter>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
153 </data>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
154 <data format="fasta" name="snpconsensus" label="${tool.name} on ${on_string} consensus fasta" from_work_dir="out/snps.consensus.fa">
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
155 <filter>outputs and 'outcon' in outputs</filter>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
156 </data>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
157 <data format="tabular" name="snpsdepth" label="${tool.name} on ${on_string} mapping depth" from_work_dir="out/snps.depth">
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
158 <filter>outputs and 'outdep' in outputs</filter>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
159 </data>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
160 <data format="bam" name="snpsbam" label="${tool.name} on ${on_string} mapped reads (bam)" from_work_dir="out/snps.bam">
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
161 <filter>outputs and 'outbam' in outputs</filter>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
162 </data>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
163 <data format="zip" name="outdir" label="${tool.name} on ${on_string} dir for snippy core" from_work_dir="out.tgz">
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
164 <filter>outputs and 'outzip' in outputs</filter>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
165 </data>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
166
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
167 </outputs>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
168
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
169 <tests>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
170
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
171 <test> <!-- test 0 - fasta ref no snps -->
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
172 <param name="reference_source|reference_source_selector" value="history"/>
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
173 <param name="reference_source|ref_file" value="reference.fasta" ftype="fasta"/>
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
174 <param name="fastq_input_selector" value="paired" />
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
175 <param name="fastq_input1" ftype="fastqsanger" value="a_1.fastq" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
176 <param name="fastq_input2" ftype="fastqsanger" value="a_2.fastq" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
177 <param name="mincov" value="2" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
178 <param name="minqual" value="60" />
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
179 <param name="outputs" value="outgff,outsum" />
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
180 <output name="snpsum" ftype="tabular" file="a_fna_ref_mincov_2_minqual_60.snps.txt" lines_diff="6" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
181 <output name="snpgff" ftype="gff3" file="a_fna_ref_mincov_2_minqual_60.snps.gff" />
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
182 </test>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
183
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
184 <test> <!-- test 1 - fasta ref one snp -->
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
185 <param name="reference_source|reference_source_selector" value="history"/>
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
186 <param name="reference_source|ref_file" value="reference.fasta" ftype="fasta"/>
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
187 <param name="fastq_input_selector" value="paired" />
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
188 <param name="fastq_input1" ftype="fastqsanger" value="b_1.fastq" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
189 <param name="fastq_input2" ftype="fastqsanger" value="b_2.fastq" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
190 <param name="mincov" value="2" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
191 <param name="minqual" value="60" />
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
192 <param name="outputs" value="outgff,outsum" />
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
193 <output name="snpsum" ftype="tabular" file="b_fna_ref_mincov_2_minqual_60.snps.txt" lines_diff="6" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
194 <output name="snpgff" ftype="gff3" file="b_fna_ref_mincov_2_minqual_60.snps.gff" />
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
195 </test>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
196
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
197 <test> <!-- test 2 - fasta ref one snp paired_collection -->
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
198 <param name="reference_source|reference_source_selector" value="history"/>
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
199 <param name="reference_source|ref_file" value="reference.fasta" ftype="fasta"/>
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
200 <param name="fastq_input_selector" value="paired_collection" />
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
201 <param name="fastq_input">
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
202 <collection type="paired">
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
203 <element name="forward" ftype="fastqsanger" value="b_1.fastq" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
204 <element name="reverse" ftype="fastqsanger" value="b_2.fastq" />
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
205 </collection>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
206 </param>
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
207 <param name="mincov" value="2" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
208 <param name="minqual" value="60" />
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
209 <param name="outputs" value="outgff,outsum" />
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
210 <output name="snpsum" ftype="tabular" file="b_fna_ref_mincov_2_minqual_60.snps.txt" lines_diff="6" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
211 <output name="snpgff" ftype="gff3" file="b_fna_ref_mincov_2_minqual_60.snps.gff" />
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
212 </test>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
213
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
214 <test> <!-- test 3 - fasta ref one snp single -->
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
215 <param name="reference_source|reference_source_selector" value="history"/>
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
216 <param name="reference_source|ref_file" value="reference.fasta" ftype="fasta"/>
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
217 <param name="fastq_input_selector" value="single" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
218 <param name="fastq_input_single" value="b_2.fastq" ftype="fastqsanger" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
219 <param name="mincov" value="2" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
220 <param name="minqual" value="60" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
221 <param name="outputs" value="outgff,outsum" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
222 <output name="snpsum" ftype="tabular" file="b_fna_ref_mincov_2_minqual_60.snps.txt" lines_diff="6" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
223 <output name="snpgff" ftype="gff3" file="b_2_fna_ref_mincov_2_minqual_60.snps.gff" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
224 </test>
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
225
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
226 <test> <!-- test 4 - reference source as cached -->
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
227 <param name="reference_source|reference_source_selector" value="cached"/>
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
228 <param name="reference_source|ref_file" value="test_id"/>
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
229 <param name="fastq_input_selector" value="single" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
230 <param name="fastq_input_single" value="b_2.fastq" ftype="fastqsanger" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
231 <param name="mincov" value="2" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
232 <param name="minqual" value="60" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
233 <param name="outputs" value="outgff,outsum" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
234 <output name="snpsum" ftype="tabular" file="b_fna_ref_mincov_2_minqual_60.snps.txt" lines_diff="6" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
235 <output name="snpgff" ftype="gff3" file="b_2_fna_ref_mincov_2_minqual_60.snps.gff" />
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
236 </test>
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
237 </tests>
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
238
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
239
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
240 <help><![CDATA[
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
241
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
242 **Snippy @VERSION@**
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
243
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
244 Snippy finds SNPs between a haploid reference genome and your NGS sequence reads. It will find both substitutions (snps) and insertions/deletions (indels).
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
245
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
246 **Author**
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
247
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
248 Torsten Seemann
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
249
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
250 **Inputs**
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
251
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
252 - NGS Reads in fastq format (single or paired end)
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
253 - Reference file in either fasta or genbank format
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
254
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
255 If the reference file is supplied in genbank format, snpeff will be called to determine the effect of any snps found.
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
256
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
257 **Advanced options**
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
258
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
259 - mapping quality - Integer - Minimum mapping quality to allow (default '60')
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
260
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
261 - minimum coverage - Integer - Minimum coverage of variant site (default '10')
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
262
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
263 - minimum fraction - Float - Minumum proportion for variant evidence (default '0.9')
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
264
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
265 - minimum quality - Float - Minumum QUALITY in VCF column 6 (default '100.0')
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
266
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
267 - rgid - String - Use this @RG ID: in the BAM header (default '')
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
268
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
269 - bwaopt - Extra BWA MEM options, eg. -x pacbio (default '')
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
270
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
271 **Further information**
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
272
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
273 For a much more in depth description of snippy and how it works, see https://github.com/tseemann/snippy
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
274
2
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
275 ]]> </help>
4e478a5f2742 planemo upload commit c9db1bf13e663b9e2122fc610007679a2f117aa6-dirty
thanhlv
parents: 1
diff changeset
276 <expand macro="citations"/>
0
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
277
42806c5a342d planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/snippy commit 41c38c65041b87dd3cdf86eca13278cabd13d998-dirty
thanhlv
parents:
diff changeset
278 </tool>