Mercurial > repos > dfornika > snippy
annotate snippy.xml @ 25:ae9dffe91f20 draft
planemo upload commit 976a7fd83686e1fe0e4ca2ee9b7c98fff7241d6d-dirty
| author | dfornika |
|---|---|
| date | Tue, 18 Jun 2019 16:08:43 -0400 |
| parents | 542d3c3d5a6e |
| children | 15d5dd95daf2 |
| rev | line source |
|---|---|
|
24
542d3c3d5a6e
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
23
diff
changeset
|
1 <tool id="snippy" name="snippy" version="@VERSION@+galaxy3"> |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
2 <description> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
3 Snippy finds SNPs between a haploid reference genome and your NGS sequence reads. |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
4 </description> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
5 <macros> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
6 <import>macros.xml</import> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
7 </macros> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
8 <expand macro="requirements" /> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
9 <expand macro="version_command" /> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
10 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
11 <command detect_errors="exit_code"><![CDATA[ |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
12 |
|
25
ae9dffe91f20
planemo upload commit 976a7fd83686e1fe0e4ca2ee9b7c98fff7241d6d-dirty
dfornika
parents:
24
diff
changeset
|
13 #import re |
|
ae9dffe91f20
planemo upload commit 976a7fd83686e1fe0e4ca2ee9b7c98fff7241d6d-dirty
dfornika
parents:
24
diff
changeset
|
14 #if str( $fastq_input.fastq_input_selector ) == "paired" |
|
ae9dffe91f20
planemo upload commit 976a7fd83686e1fe0e4ca2ee9b7c98fff7241d6d-dirty
dfornika
parents:
24
diff
changeset
|
15 #set $dir_name = re.sub('[^\w_]', '_', $fastq_input.fastq_input1.element_identifier) |
|
ae9dffe91f20
planemo upload commit 976a7fd83686e1fe0e4ca2ee9b7c98fff7241d6d-dirty
dfornika
parents:
24
diff
changeset
|
16 #elif str( $fastq_input.fastq_input_selector ) == "paired_collection" |
|
ae9dffe91f20
planemo upload commit 976a7fd83686e1fe0e4ca2ee9b7c98fff7241d6d-dirty
dfornika
parents:
24
diff
changeset
|
17 #set $dir_name = re.sub('[^\w_]', '_', $fastq_input.fastq_input.name) |
|
ae9dffe91f20
planemo upload commit 976a7fd83686e1fe0e4ca2ee9b7c98fff7241d6d-dirty
dfornika
parents:
24
diff
changeset
|
18 #elif str( $fastq_input.fastq_input_selector ) == "single" |
|
ae9dffe91f20
planemo upload commit 976a7fd83686e1fe0e4ca2ee9b7c98fff7241d6d-dirty
dfornika
parents:
24
diff
changeset
|
19 #set $dir_name = re.sub('[^\w_]', '_', $fastq_input.fastq_input_single.element_identifier) |
|
ae9dffe91f20
planemo upload commit 976a7fd83686e1fe0e4ca2ee9b7c98fff7241d6d-dirty
dfornika
parents:
24
diff
changeset
|
20 #elif str( $fastq_input.fastq_input_selector ) == "paired_iv" |
|
ae9dffe91f20
planemo upload commit 976a7fd83686e1fe0e4ca2ee9b7c98fff7241d6d-dirty
dfornika
parents:
24
diff
changeset
|
21 #set $dir_name = re.sub('[^\w_]', '_', $fastq_input.fastq_input_interleaved.element_identifier) |
|
ae9dffe91f20
planemo upload commit 976a7fd83686e1fe0e4ca2ee9b7c98fff7241d6d-dirty
dfornika
parents:
24
diff
changeset
|
22 #end if |
|
ae9dffe91f20
planemo upload commit 976a7fd83686e1fe0e4ca2ee9b7c98fff7241d6d-dirty
dfornika
parents:
24
diff
changeset
|
23 |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
24 #if $ref.is_of_type("fasta") |
|
20
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
25 cp '$ref' 'ref.fna' && |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
26 #end if |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
27 #if $ref.is_of_type("genbank") |
|
20
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
28 cp '$ref' 'ref.gbk' && |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
29 #end if |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
30 snippy |
|
25
ae9dffe91f20
planemo upload commit 976a7fd83686e1fe0e4ca2ee9b7c98fff7241d6d-dirty
dfornika
parents:
24
diff
changeset
|
31 --outdir '$dir_name' |
|
22
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
32 --cpus \${GALAXY_SLOTS:-1} |
|
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
33 --ram \$((\${GALAXY_MEMORY_MB:-4096}/1024)) |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
34 #if $ref.is_of_type("fasta") |
|
20
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
35 --ref 'ref.fna' |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
36 #end if |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
37 #if $ref.is_of_type("genbank") |
|
20
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
38 --ref 'ref.gbk' |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
39 #end if |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
40 --mapqual $adv.mapqual |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
41 --mincov $adv.mincov |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
42 --minfrac $adv.minfrac |
|
20
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
43 --minqual $adv.minqual |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
44 #if $adv.rgid |
|
21
0e733df972b5
planemo upload commit d65fe6718a4e9a9fa6dba28e6702335222c3e221-dirty
dfornika
parents:
20
diff
changeset
|
45 --rgid '$adv.rgid' |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
46 #end if |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
47 #if $adv.bwaopt |
|
22
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
48 --bwaopt '$adv.bwaopt' |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
49 #end if |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
50 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
51 #if str( $fastq_input.fastq_input_selector ) == "paired" |
|
20
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
52 --R1 '$fastq_input.fastq_input1' |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
53 --R2 '$fastq_input.fastq_input2' |
|
22
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
54 #elif str( $fastq_input.fastq_input_selector ) == "paired_collection" |
|
20
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
55 --R1 '$fastq_input.fastq_input.forward' |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
56 --R2 '$fastq_input.fastq_input.reverse' |
|
22
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
57 #elif str( $fastq_input.fastq_input_selector ) == "single" |
|
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
58 --se '$fastq_input.fastq_input_single' |
|
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
59 #elif str( $fastq_input.fastq_input_selector ) == "paired_iv" |
|
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
60 --peil '$fastq_input.fastq_input_interleaved' |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
61 #end if |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
62 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
63 && |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
64 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
65 tar -czf out.tgz ${dir_name} |
|
21
0e733df972b5
planemo upload commit d65fe6718a4e9a9fa6dba28e6702335222c3e221-dirty
dfornika
parents:
20
diff
changeset
|
66 #if "outcon" in str($outputs) and $adv.rename_cons |
|
0e733df972b5
planemo upload commit d65fe6718a4e9a9fa6dba28e6702335222c3e221-dirty
dfornika
parents:
20
diff
changeset
|
67 && sed -i 's/>.*/>${dir_name}/' out/snps.consensus.fa |
|
0e733df972b5
planemo upload commit d65fe6718a4e9a9fa6dba28e6702335222c3e221-dirty
dfornika
parents:
20
diff
changeset
|
68 #end if |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
69 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
70 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
71 ]]></command> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
72 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
73 <inputs> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
74 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
75 <param name="ref" type="data" format="fasta,genbank" label="Reference File (either in fasta or genbank format)" help="Fasta or Genbank file to use as the reference" /> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
76 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
77 <conditional name="fastq_input"> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
78 <param name="fastq_input_selector" type="select" label="Single or Paired-end reads" help="Select between paired and single end data"> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
79 <option value="paired">Paired</option> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
80 <option value="single">Single</option> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
81 <option value="paired_collection">Paired Collection</option> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
82 <option value="paired_iv">Paired Interleaved</option> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
83 </param> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
84 <when value="paired"> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
85 <param name="fastq_input1" type="data" format="fastqsanger,fasta" label="Select first set of reads" help="Specify dataset with forward reads"/> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
86 <param name="fastq_input2" type="data" format="fastqsanger,fasta" label="Select second set of reads" help="Specify dataset with reverse reads"/> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
87 </when> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
88 <when value="single"> |
|
22
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
89 <param name="fastq_input_single" type="data" format="fastqsanger,fasta" label="Select fastq dataset" help="Specify dataset with single reads"/> |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
90 </when> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
91 <when value="paired_collection"> |
|
14
b102aece6b65
planemo upload for repository https://github.com/tseemann/snippy commit 93b22331ca83a82fdfbe8f2b274577e21f9bf025-dirty
dfornika
parents:
6
diff
changeset
|
92 <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"/> |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
93 </when> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
94 <when value="paired_iv"> |
|
22
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
95 <param name="fastq_input_interleaved" type="data" format="fastqsanger" label="Select fastq dataset" help="Specify dataset with interleaved reads"/> |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
96 </when> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
97 </conditional> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
98 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
99 <section name="adv" title="Advanced parameters" expanded="false"> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
100 <param name="mapqual" type="integer" value="60" label="Minimum mapping quality" help="Minimum mapping quality to allow" /> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
101 <param name="mincov" type="integer" value="10" label="Minimum coverage" help="Minimum coverage to call a snp" /> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
102 <param name="minfrac" type="float" value="0.9" label="Minumum proportion for variant evidence" help="Minumum proportion for variant evidence" /> |
|
22
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
103 <param name="minqual" type="float" value="100.0" label="Minumum QUALITY in VCF column 6" help="Minumum QUALITY in VCF column 6" /> |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
104 <param name="rgid" type="text" value="" label="Bam header @RG ID" help="Use this @RG ID: in the BAM header" /> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
105 <param name="bwaopt" type="text" value="" label="Extra BWA MEM options" help="Extra BWA MEM options, eg. -x pacbio" /> |
|
22
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
106 <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
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
107 </section> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
108 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
109 <param name="outputs" type="select" multiple="true" display="checkboxes" label="Output selection"> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
110 <option value="outvcf" selected="True">The final annotated variants in VCF format</option> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
111 <option value="outgff" selected="False">The variants in GFF3 format</option> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
112 <option value="outtab" selected="True">A simple tab-separated summary of all the variants</option> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
113 <option value="outsum" selected="False">A summary of the samples and mapping</option> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
114 <option value="outlog" selected="False">A log file with the commands run and their outputs</option> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
115 <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> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
116 <option value="outcon" selected="False">A version of the reference genome with all variants instantiated</option> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
117 <option value="outdep" selected="False">Output of samtools depth for the .bam file</option> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
118 <option value="outbam" selected="False">The alignments in BAM format. Note that multi-mapping and unmapped reads are not present.</option> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
119 <option value="outzip" selected="True">Zipped files needed for input into snippy-core</option> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
120 </param> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
121 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
122 </inputs> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
123 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
124 <outputs> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
125 |
|
25
ae9dffe91f20
planemo upload commit 976a7fd83686e1fe0e4ca2ee9b7c98fff7241d6d-dirty
dfornika
parents:
24
diff
changeset
|
126 <data format="vcf" name="snpvcf" label="${tool.name} on ${on_string} snps vcf file" from_work_dir="${dir_name}/snps.vcf"> |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
127 <filter>outputs and 'outvcf' in outputs</filter> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
128 </data> |
|
25
ae9dffe91f20
planemo upload commit 976a7fd83686e1fe0e4ca2ee9b7c98fff7241d6d-dirty
dfornika
parents:
24
diff
changeset
|
129 <data format="gff3" name="snpgff" label="${tool.name} on ${on_string} snps gff file" from_work_dir="${dir_name}/snps.gff"> |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
130 <filter>outputs and 'outgff' in outputs</filter> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
131 </data> |
|
25
ae9dffe91f20
planemo upload commit 976a7fd83686e1fe0e4ca2ee9b7c98fff7241d6d-dirty
dfornika
parents:
24
diff
changeset
|
132 <data format="tabular" name="snptab" label="${tool.name} on ${on_string} snps table" from_work_dir="${dir_name}/snps.tab"> |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
133 <filter>outputs and 'outtab' in outputs</filter> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
134 </data> |
|
25
ae9dffe91f20
planemo upload commit 976a7fd83686e1fe0e4ca2ee9b7c98fff7241d6d-dirty
dfornika
parents:
24
diff
changeset
|
135 <data format="tabular" name="snpsum" label="${tool.name} on ${on_string} snps summary" from_work_dir="${dir_name}/snps.txt"> |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
136 <filter>outputs and 'outsum' in outputs</filter> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
137 </data> |
|
25
ae9dffe91f20
planemo upload commit 976a7fd83686e1fe0e4ca2ee9b7c98fff7241d6d-dirty
dfornika
parents:
24
diff
changeset
|
138 <data format="txt" name="snplog" label="${tool.name} on ${on_string} log file" from_work_dir="${dir_name}/snps.log"> |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
139 <filter>outputs and 'outlog' in outputs</filter> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
140 </data> |
|
25
ae9dffe91f20
planemo upload commit 976a7fd83686e1fe0e4ca2ee9b7c98fff7241d6d-dirty
dfornika
parents:
24
diff
changeset
|
141 <data format="fasta" name="snpalign" label="${tool.name} on ${on_string} aligned fasta" from_work_dir="${dir_name}/snps.aligned.fa"> |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
142 <filter>outputs and 'outaln' in outputs</filter> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
143 </data> |
|
25
ae9dffe91f20
planemo upload commit 976a7fd83686e1fe0e4ca2ee9b7c98fff7241d6d-dirty
dfornika
parents:
24
diff
changeset
|
144 <data format="fasta" name="snpconsensus" label="${tool.name} on ${on_string} consensus fasta" from_work_dir="${dir_name}/snps.consensus.fa"> |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
145 <filter>outputs and 'outcon' in outputs</filter> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
146 </data> |
|
25
ae9dffe91f20
planemo upload commit 976a7fd83686e1fe0e4ca2ee9b7c98fff7241d6d-dirty
dfornika
parents:
24
diff
changeset
|
147 <data format="tabular" name="snpsdepth" label="${tool.name} on ${on_string} mapping depth" from_work_dir="${dir_name}/snps.depth"> |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
148 <filter>outputs and 'outdep' in outputs</filter> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
149 </data> |
|
25
ae9dffe91f20
planemo upload commit 976a7fd83686e1fe0e4ca2ee9b7c98fff7241d6d-dirty
dfornika
parents:
24
diff
changeset
|
150 <data format="bam" name="snpsbam" label="${tool.name} on ${on_string} mapped reads (bam)" from_work_dir="${dir_name}/snps.bam"> |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
151 <filter>outputs and 'outbam' in outputs</filter> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
152 </data> |
|
23
cbf0c0afc133
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
22
diff
changeset
|
153 <data format="tar" name="outdir" label="${tool.name} on ${on_string} dir for snippy core" from_work_dir="out.tgz"> |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
154 <filter>outputs and 'outzip' in outputs</filter> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
155 </data> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
156 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
157 </outputs> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
158 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
159 <tests> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
160 |
|
20
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
161 <test> <!-- test 0 - fasta ref no snps --> |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
162 <param name="ref" value="reference.fasta" ftype="fasta" /> |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
163 <param name="fastq_input_selector" value="paired" /> |
|
20
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
164 <param name="fastq_input1" ftype="fastqsanger" value="a_1.fastq" /> |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
165 <param name="fastq_input2" ftype="fastqsanger" value="a_2.fastq" /> |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
166 <param name="mincov" value="2" /> |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
167 <param name="minqual" value="60" /> |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
168 <param name="outputs" value="outgff,outsum" /> |
|
22
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
169 <output name="snpsum" ftype="tabular" file="a_fna_ref_mincov_2_minqual_60.snps.txt" lines_diff="6" /> |
|
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
170 <output name="snpgff" ftype="gff3" file="a_fna_ref_mincov_2_minqual_60.snps.gff" /> |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
171 </test> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
172 |
|
20
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
173 <test> <!-- test 1 - fasta ref one snp --> |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
174 <param name="ref" value="reference.fasta" ftype="fasta" /> |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
175 <param name="fastq_input_selector" value="paired" /> |
|
20
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
176 <param name="fastq_input1" ftype="fastqsanger" value="b_1.fastq" /> |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
177 <param name="fastq_input2" ftype="fastqsanger" value="b_2.fastq" /> |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
178 <param name="mincov" value="2" /> |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
179 <param name="minqual" value="60" /> |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
180 <param name="outputs" value="outgff,outsum" /> |
|
22
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
181 <output name="snpsum" ftype="tabular" file="b_fna_ref_mincov_2_minqual_60.snps.txt" lines_diff="6" /> |
|
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
182 <output name="snpgff" ftype="gff3" file="b_fna_ref_mincov_2_minqual_60.snps.gff" /> |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
183 </test> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
184 |
|
20
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
185 <test> <!-- test 2 - fasta ref one snp paired_collection --> |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
186 <param name="ref" value="reference.fasta" ftype="fasta" /> |
|
19
8a6b951f6ec2
planemo upload for repository https://github.com/tseemann/snippy commit 80a4218b47696bea243b4092823739a578ea8652-dirty
dfornika
parents:
14
diff
changeset
|
187 <param name="fastq_input_selector" value="paired_collection" /> |
|
8a6b951f6ec2
planemo upload for repository https://github.com/tseemann/snippy commit 80a4218b47696bea243b4092823739a578ea8652-dirty
dfornika
parents:
14
diff
changeset
|
188 <param name="fastq_input"> |
|
8a6b951f6ec2
planemo upload for repository https://github.com/tseemann/snippy commit 80a4218b47696bea243b4092823739a578ea8652-dirty
dfornika
parents:
14
diff
changeset
|
189 <collection type="paired"> |
|
20
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
190 <element name="forward" ftype="fastqsanger" value="b_1.fastq" /> |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
191 <element name="reverse" ftype="fastqsanger" value="b_2.fastq" /> |
|
19
8a6b951f6ec2
planemo upload for repository https://github.com/tseemann/snippy commit 80a4218b47696bea243b4092823739a578ea8652-dirty
dfornika
parents:
14
diff
changeset
|
192 </collection> |
|
8a6b951f6ec2
planemo upload for repository https://github.com/tseemann/snippy commit 80a4218b47696bea243b4092823739a578ea8652-dirty
dfornika
parents:
14
diff
changeset
|
193 </param> |
|
20
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
194 <param name="mincov" value="2" /> |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
195 <param name="minqual" value="60" /> |
|
19
8a6b951f6ec2
planemo upload for repository https://github.com/tseemann/snippy commit 80a4218b47696bea243b4092823739a578ea8652-dirty
dfornika
parents:
14
diff
changeset
|
196 <param name="outputs" value="outgff,outsum" /> |
|
22
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
197 <output name="snpsum" ftype="tabular" file="b_fna_ref_mincov_2_minqual_60.snps.txt" lines_diff="6" /> |
|
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
198 <output name="snpgff" ftype="gff3" file="b_fna_ref_mincov_2_minqual_60.snps.gff" /> |
|
19
8a6b951f6ec2
planemo upload for repository https://github.com/tseemann/snippy commit 80a4218b47696bea243b4092823739a578ea8652-dirty
dfornika
parents:
14
diff
changeset
|
199 </test> |
|
8a6b951f6ec2
planemo upload for repository https://github.com/tseemann/snippy commit 80a4218b47696bea243b4092823739a578ea8652-dirty
dfornika
parents:
14
diff
changeset
|
200 |
|
22
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
201 <test> <!-- test 3 - fasta ref one snp single --> |
|
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
202 <param name="ref" value="reference.fasta" ftype="fasta" /> |
|
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
203 <param name="fastq_input_selector" value="single" /> |
|
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
204 <param name="fastq_input_single" value="b_2.fastq" ftype="fastqsanger" /> |
|
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
205 <param name="mincov" value="2" /> |
|
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
206 <param name="minqual" value="60" /> |
|
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
207 <param name="outputs" value="outgff,outsum" /> |
|
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
208 <output name="snpsum" ftype="tabular" file="b_fna_ref_mincov_2_minqual_60.snps.txt" lines_diff="6" /> |
|
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
209 <output name="snpgff" ftype="gff3" file="b_2_fna_ref_mincov_2_minqual_60.snps.gff" /> |
|
0bf16c8aca73
planemo upload commit 60e2302cfac90d0c909ef61815aaaafaaad5816a-dirty
dfornika
parents:
21
diff
changeset
|
210 </test> |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
211 </tests> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
212 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
213 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
214 <help><![CDATA[ |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
215 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
216 **Snippy @VERSION@** |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
217 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
218 Snippy finds SNPs between a haploid reference genome and your NGS sequence reads. It will find both substitutions (snps) and insertions/deletions (indels). |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
219 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
220 **Author** |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
221 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
222 Torsten Seemann |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
223 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
224 **Inputs** |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
225 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
226 - NGS Reads in fastq format (single or paired end) |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
227 - Reference file in either fasta or genbank format |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
228 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
229 If the reference file is supplied in genbank format, snpeff will be called to determine the effect of any snps found. |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
230 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
231 **Advanced options** |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
232 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
233 - mapping quality - Integer - Minimum mapping quality to allow (default '60') |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
234 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
235 - minimum coverage - Integer - Minimum coverage of variant site (default '10') |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
236 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
237 - minimum fraction - Float - Minumum proportion for variant evidence (default '0.9') |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
238 |
|
20
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
239 - minimum quality - Float - Minumum QUALITY in VCF column 6 (default '100.0') |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
19
diff
changeset
|
240 |
|
0
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
241 - rgid - String - Use this @RG ID: in the BAM header (default '') |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
242 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
243 - bwaopt - Extra BWA MEM options, eg. -x pacbio (default '') |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
244 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
245 **Further information** |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
246 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
247 For a much more in depth description of snippy and how it works, see https://github.com/tseemann/snippy |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
248 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
249 ]]></help> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
250 <expand macro="citations"/> |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
251 |
|
0276bb8bd561
planemo upload for repository https://github.com/tseemann/snippy commit d9e4e18619d5b9378f4fcbe518856fc1fa202d73-dirty
dfornika
parents:
diff
changeset
|
252 </tool> |
