Mercurial > repos > iuc > srst2
annotate srst2.xml @ 1:46c5d7a0393b draft
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
author | iuc |
---|---|
date | Tue, 06 Sep 2022 14:18:05 +0000 |
parents | f9a0855c792d |
children | 81cea47ec685 |
rev | line source |
---|---|
0
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
1 <tool id="srst2" name="SRST2" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
2 <description>Short Read Sequence Typing for Bacterial Pathogens</description> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
3 <macros> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
5 <token name="@FAST_A_Q_FORMATS@">fasta,fasta.gz,fastq,fastq.gz,fastqsanger,fastqsanger.gz</token> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
6 </macros> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
7 <expand macro="requirements"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
8 <version_command>srst2 --version</version_command> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
9 <command detect_errors="exit_code"><![CDATA[ |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
10 #if $input.selector == "single" |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
11 #set ext=$input.single_input.datatype.file_ext |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
12 ln -s $input.single_input './input_read1.$ext' && |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
13 #else if $input.selector == "paired" |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
14 #set ext_1=$input.paired_input1.datatype.file_ext |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
15 #set ext_2=$input.paired_input2.datatype.file_ext |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
16 ln -s $input.paired_input1 './input_read1.$ext_1' && |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
17 ln -s $input.paired_input2 './input_read2.$ext_2' && |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
18 #end if |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
19 #for $i, $s in enumerate($prev_output) |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
20 #if $s |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
21 ln -s $s './$i-prev_output.txt' && |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
22 #end if |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
23 #end for |
1
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
24 #if $use_gene_db.selector == "yes" |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
25 #for $i, $s in enumerate($use_gene_db.gene_db) |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
26 #if $s |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
27 ln -s $s './$i-gene_db.fasta' && |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
28 #end if |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
29 #end for |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
30 #end if |
0
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
31 #if $use_mlst_db.selector == "yes" |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
32 #set ext_3=$use_mlst_db.mlst_definitions.datatype.file_ext |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
33 ln -s $use_mlst_db.mlst_db './mlst_db.fasta' && |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
34 ln -s $use_mlst_db.mlst_definitions './mlst_definitions.$ext_3' && |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
35 #end if |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
36 srst2 |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
37 #if $input.selector == "single" |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
38 --input_se './input_read1.$ext' |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
39 --read_type ${input.read_type} |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
40 #else if $input.selector == "paired" |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
41 --input_pe './input_read1.$ext_1' './input_read2.$ext_2' |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
42 $input.merge_paired |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
43 --forward _read1 |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
44 --reverse _read2 |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
45 --read_type ${input.read_type} |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
46 #end if |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
47 #if $use_mlst_db.selector == "yes" |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
48 --mlst_db './mlst_db.fasta' |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
49 --mlst_definitions './mlst_definitions.$ext_3' |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
50 --mlst_delimiter '$use_mlst_db.mlst_delimiter' |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
51 --mlst_max_mismatch $use_mlst_db.mlst_max_mismatch |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
52 --min_depth $use_mlst_db.min_depth |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
53 --min_edge_depth $use_mlst_db.min_edge_depth |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
54 #end if |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
55 #if $use_gene_db.selector == "yes" |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
56 --gene_db |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
57 #for $i, $s in enumerate($use_gene_db.gene_db) |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
58 #if $s |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
59 '$i-gene_db.fasta' |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
60 #end if |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
61 #end for |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
62 $use_gene_db.no_gene_details |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
63 --gene_max_mismatch $use_gene_db.gene_max_mismatch |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
64 --min_coverage $use_gene_db.min_coverage |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
65 --max_divergence $use_gene_db.max_divergence |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
66 #end if |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
67 --prob_err $prob_err |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
68 #if $truncation_score_tolerance |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
69 --truncation_score_tolerance $truncation_score_tolerance |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
70 #end if |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
71 #if $stop_after |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
72 --stop_after $stop_after |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
73 #end if |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
74 --max_unaligned_overlap $max_unaligned_overlap |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
75 --mapq $mapq |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
76 --baseq $baseq |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
77 --output 'output' |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
78 #if $prev_output |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
79 --prev_output |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
80 #for $i, $s in enumerate($prev_output) |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
81 #if $s |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
82 '$i-prev_output.txt' |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
83 #end if |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
84 #end for |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
85 #end if |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
86 #if 'log' in str($output_files_selector) |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
87 --log |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
88 #end if |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
89 #if 'save_scores' in str($output_files_selector) |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
90 --save_scores |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
91 #end if |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
92 #if 'report_new_consensus' in str($output_files_selector) |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
93 --report_new_consensus |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
94 #end if |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
95 #if 'report_all_consensus' in str($output_files_selector) |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
96 --report_all_consensus |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
97 #end if |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
98 #if 'keep_interim_alignment' in str($output_files_selector) |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
99 --keep_interim_alignment |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
100 #end if |
1
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
101 ## |true here is added in order not to search for a file that is not produced at all, such that if the user provided no gene/MLST databases or there are no outputs found, the tool will run successfully and only notify the user that no outputs are found |
0
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
102 #if 'report_new_consensus' in str($output_files_selector) and $use_gene_db.selector == "yes" and $use_mlst_db.selector == "yes" |
1
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
103 && mkdir -p allelesOutput/ && cp *.output__input.*.pileup allelesOutput | true |
0
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
104 #end if |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
105 #if $use_gene_db.selector == "yes" and $use_gene_db.no_gene_details |
1
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
106 && mkdir -p geneTypingOutput/ && cp output__genes__*__results.txt geneTypingOutput | true && cp output__fullgenes__*__results.txt geneTypingOutput | true |
0
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
107 #end if |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
108 #if 'save_scores' in str($output_files_selector) |
1
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
109 && mkdir -p scoresOutput/ && cp *.scores scoresOutput | true |
0
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
110 #end if |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
111 #if $input.selector == "single" or $input.selector == "paired" |
1
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
112 && mkdir -p bowtie2Alignments/ && cp *.sorted.bam bowtie2Alignments | true |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
113 && mkdir -p samtoolsPileup/ && cp output__input.*.pileup samtoolsPileup | true |
0
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
114 #end if |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
115 ]]></command> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
116 <inputs> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
117 <conditional name="input"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
118 <param name="selector" type="select" label="Reads files type for anaylsis"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
119 <option value="single">Single-end</option> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
120 <option value="paired">Paired-end</option> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
121 <option value="only_compiling_previous_results">Only Compiling Previous SRST2 Results</option> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
122 </param> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
123 <when value="single"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
124 <param name="single_input" type="data" format="@FAST_A_Q_FORMATS@" label="Single end read file(s) for analysing (may be gzipped)"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
125 <expand macro="read_type_options" /> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
126 </when> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
127 <when value="paired"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
128 <param name="paired_input1" type="data" format="@FAST_A_Q_FORMATS@" label="Paired end read files for analysing (may be gzipped)"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
129 <param name="paired_input2" type="data" format="@FAST_A_Q_FORMATS@" label="Paired end read files for analysing (may be gzipped)"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
130 <param argument="--merge_paired" type="boolean" truevalue="--merge_paired" falsevalue="" checked="false" label="Do you want to merge the data to get a single result" help="Important only if all the input read sets belong to a single sample"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
131 <expand macro="read_type_options" /> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
132 </when> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
133 <when value="only_compiling_previous_results"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
134 </when> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
135 </conditional> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
136 <conditional name="use_mlst_db"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
137 <param name="selector" type="select" label="Do you want to provide an MLST database of all allele sequences for the MLST scheme?"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
138 <option value="yes">Yes</option> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
139 <option value="no">No</option> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
140 </param> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
141 <when value="yes"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
142 <param argument="--mlst_db" type="data" format="fasta" label="Fasta file of MLST alleles"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
143 <param argument="--mlst_definitions" type="data" format="tabular" label="ST definitions for MLST scheme" help="This is the file that tells you the ST number that is assigned to known combinations of alleles. Column 1 is the ST, and subsequent columns are the loci that make up the scheme."/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
144 <param argument="--mlst_delimiter" type="text" value="-" label="Character(s) separating gene name from allele number in MLST database" help="E.g.'-', as in arcc-1"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
145 <sanitizer invalid_char=""> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
146 <valid initial="string.letters,string.digits"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
147 <add value="\" /> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
148 <add value="-" /> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
149 <add value="/" /> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
150 <add value="+" /> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
151 <add value="=" /> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
152 <add value=" " /> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
153 <add value="_" /> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
154 </valid> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
155 </sanitizer> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
156 <validator type="regex">[A-Za-z0-9 =-_/+]+</validator> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
157 </param> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
158 <param argument="--mlst_max_mismatch" type="integer" value="10" label="Maximum number of mismatches per read for MLST allele calling"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
159 <param argument="--min_depth" type="integer" value="5" label="Minimum mean depth to flag as dubious allele call"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
160 <param argument="--min_edge_depth" type="integer" value="2" label="Minimum edge depth to flag as dubious allele call"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
161 </when> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
162 <when value="no"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
163 </when> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
164 </conditional> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
165 <conditional name="use_gene_db"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
166 <param name="selector" type="select" label="Do you want to use a Gene database(s)?"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
167 <option value="yes">Yes</option> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
168 <option value="no">No</option> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
169 </param> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
170 <when value="yes"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
171 <param argument="--gene_db" type="data" optional="true" multiple="true" format="fasta" label="Gene database(s)" help="Fasta file/s for gene databases"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
172 <param argument="--no_gene_details" type="boolean" truevalue="" falsevalue="--no_gene_details" checked="false" label="Do you want reporting of gene typing?"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
173 <param argument="--gene_max_mismatch" type="integer" value="10" label="Maximum number of mismatches per read for gene detection and allele calling"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
174 <param argument="--min_coverage" type="integer" value="90" label="Minimum %coverage cutoff for gene reporting"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
175 <param argument="--max_divergence" type="integer" value="10" label="Maximum %divergence cutoff for gene reporting"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
176 </when> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
177 <when value="no"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
178 </when> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
179 </conditional> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
180 <param name="output_files_selector" type="select" label="Select all outputs you need" multiple="true"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
181 <option value="log">Save the log</option> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
182 <option value="save_scores">Report scores</option> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
183 <option value="report_new_consensus">Report the consensus allele if a matching alleles is not found</option> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
184 <option value="report_all_consensus">Report the consensus allele for the most likely allele</option> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
185 <option value="keep_interim_alignment">Keep interim files (sam and unsorted bam)</option> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
186 </param> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
187 <param argument="--prob_err" type="float" min="0" max="1" value="0.01" label="Probability of sequencing error"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
188 <param argument="--truncation_score_tolerance" optional="true" type="float" label="% increase in score allowed to choose non-truncated allele"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
189 <param argument="--stop_after" type="integer" optional="true" label="Stop mapping after this number of reads have been mapped" help="Leave empty to map all"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
190 <param argument="--max_unaligned_overlap" type="integer" value="10" label="Read discarded from alignment" help="if either of its ends has unaligned overlap with the reference that is longer than this value"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
191 <param argument="--mapq" type="integer" value="1" label="Samtools -q parameter (Minimum mapping quality)"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
192 <param argument="--baseq" type="integer" value="20" label="Samtools -Q parameter (Minimum base quality)"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
193 <param argument="--prev_output" type="data" format="tabular" multiple="true" optional="true" label="SRST2 results files to compile" help="Any new results from this run will also be incorporated"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
194 </inputs> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
195 <outputs> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
196 <data name="mlst_results" format="tabular" from_work_dir="output__mlst__mlst_db__results.txt" label="${tool.name} on ${on_string}: MLST Results"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
197 <filter>use_mlst_db['selector'] == "yes"</filter> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
198 </data> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
199 <collection name="gene_typing" type="list" label="${tool.name} on ${on_string}: Gene typing results files" > |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
200 <discover_datasets pattern="(?P<designation>.+)" directory="geneTypingOutput" format="txt,tabular"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
201 <filter>use_gene_db['selector'] == "yes" and use_gene_db['no_gene_details'] is True</filter> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
202 </collection> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
203 <data name="Compiled_gene_and_mlst_output" format="tabular" from_work_dir="output__compiledResults.txt" label="${tool.name} on ${on_string}: Compiled MLST and Gene databases Results"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
204 </data> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
205 <data name="all_consensus" format="fasta" from_work_dir="output.all_consensus_alleles.fasta" label="${tool.name} on ${on_string}: All consensus Results"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
206 <filter>"report_all_consensus" in output_files_selector</filter> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
207 </data> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
208 <collection name="new_consensus" type="list" label="${tool.name} on ${on_string}: New consensus Results" > |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
209 <discover_datasets pattern="(?P<designation>.+)" directory="allelesOutput" format="pileup"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
210 <filter>"report_new_consensus" in output_files_selector</filter> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
211 </collection> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
212 <collection name="scores_ofEachAllele" type="list" label="${tool.name} on ${on_string}: Scores for each allele in the database(s)" > |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
213 <discover_datasets pattern="(?P<designation>.+)" directory="scoresOutput" format="tabular"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
214 <filter>"save_scores" in output_files_selector</filter> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
215 </collection> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
216 <collection name="bowtie2_alignment_output" type="list" label="${tool.name} on ${on_string}: Bowtie2 alignment of reads to each input database" > |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
217 <discover_datasets pattern="(?P<designation>.+)" directory="bowtie2Alignments" format="bam"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
218 <filter>input['selector'] == "single" or input['selector'] == "paired"</filter> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
219 </collection> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
220 <collection name="samtools_pileup_alignment" type="list" label="${tool.name} on ${on_string}: Samtools pileup of the alignment to each input database" > |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
221 <discover_datasets pattern="(?P<designation>.+)" directory="samtoolsPileup" format="pileup"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
222 <filter>input['selector'] == "single" or input['selector'] == "paired"</filter> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
223 </collection> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
224 <data name="log_output" format="tabular" from_work_dir="output.log" label="${tool.name} on ${on_string}: Log file"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
225 <filter>"log" in output_files_selector</filter> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
226 </data> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
227 </outputs> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
228 <tests> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
229 <test expect_num_outputs="9"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
230 <param name="prob_err" value="0.01"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
231 <param name="max_unaligned_overlap" value="10"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
232 <param name="mapq" value="1"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
233 <param name="baseq" value="20"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
234 <param name="output_files_selector" value="log,save_scores,report_new_consensus,report_all_consensus"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
235 <conditional name="input"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
236 <param name="selector" value="paired"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
237 <param name="paired_input1" value="ERR024070_1_reduced_forward_reads.fastqsanger.gz"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
238 <param name="paired_input2" value="ERR024070_2_reduced_reverse_reads.fastqsanger.gz"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
239 <param name="merge_paired" value="false"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
240 <param name="read_type" value="q"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
241 </conditional> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
242 <conditional name="use_mlst_db"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
243 <param name="selector" value="yes"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
244 <param name="mlst_db" value="Escherichia_coli1R.fasta"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
245 <param name="mlst_definitions" value="profiles_csv"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
246 <param name="mlst_delimiter" value="_"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
247 <param name="mlst_max_mismatch" value="10"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
248 <param name="min_depth" value="5"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
249 <param name="min_edge_depth" value="2"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
250 </conditional> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
251 <conditional name="use_gene_db"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
252 <param name="selector" value="yes"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
253 <param name="gene_db" value="ARGannotR.fasta"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
254 <param name="no_gene_details" value="true"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
255 <param name="gene_max_mismatch" value="10"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
256 <param name="min_coverage" value="90"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
257 <param name="max_divergence" value="10"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
258 </conditional> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
259 <output name="mlst_results"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
260 <assert_contents> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
261 <has_text text="fumC"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
262 <has_n_lines n="2"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
263 </assert_contents> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
264 </output> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
265 <output_collection name="gene_typing" type="list"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
266 <element name="output__fullgenes__0-gene_db__results.txt"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
267 <assert_contents> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
268 <has_text text="AmpC1_Ecoli_Bla"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
269 <has_n_lines n="2"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
270 </assert_contents> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
271 </element> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
272 <element name="output__genes__0-gene_db__results.txt"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
273 <assert_contents> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
274 <has_text text="AmpC1_Ecoli_Bla"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
275 <has_n_lines n="2"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
276 </assert_contents> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
277 </element> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
278 </output_collection> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
279 <output name="Compiled_gene_and_mlst_output"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
280 <assert_contents> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
281 <has_text text="fumC"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
282 <has_n_lines n="2"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
283 </assert_contents> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
284 </output> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
285 <output name="all_consensus"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
286 <assert_contents> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
287 <has_text text="49__AmpC1_Ecoli_Bla__AmpC1__1670"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
288 <has_n_lines n="2"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
289 </assert_contents> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
290 </output> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
291 <output_collection name="new_consensus" type="list"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
292 <element name="49__AmpC1_Ecoli_Bla__AmpC1__1670.output__input.0-gene_db.pileup"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
293 <assert_contents> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
294 <has_text text="49__AmpC1_Ecoli_Bla__AmpC1__1670"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
295 <has_n_lines n="1196"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
296 </assert_contents> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
297 </element> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
298 </output_collection> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
299 <output_collection name="samtools_pileup_alignment" type="list"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
300 <element name="output__input.0-gene_db.pileup"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
301 <assert_contents> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
302 <has_text text="49__AmpC1_Ecoli_Bla__AmpC1__1670"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
303 <has_n_lines n="1196"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
304 </assert_contents> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
305 </element> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
306 </output_collection> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
307 <output_collection name="bowtie2_alignment_output" type="list"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
308 <element name="output__input.0-gene_db.sorted.bam"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
309 <assert_contents> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
310 <has_size value="18500" delta="1000"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
311 </assert_contents> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
312 </element> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
313 </output_collection> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
314 <output name="log_output"> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
315 <assert_contents> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
316 <has_text text="Building"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
317 <has_n_lines n="52"/> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
318 </assert_contents> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
319 </output> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
320 </test> |
1
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
321 <test expect_num_outputs="7"> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
322 <param name="prob_err" value="0.01"/> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
323 <param name="max_unaligned_overlap" value="10"/> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
324 <param name="mapq" value="1"/> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
325 <param name="baseq" value="20"/> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
326 <param name="output_files_selector" value="log,save_scores,report_new_consensus,report_all_consensus"/> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
327 <conditional name="input"> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
328 <param name="selector" value="paired"/> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
329 <param name="paired_input1" value="ERR024070_1_reduced_forward_reads.fastqsanger.gz"/> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
330 <param name="paired_input2" value="ERR024070_2_reduced_reverse_reads.fastqsanger.gz"/> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
331 <param name="merge_paired" value="false"/> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
332 <param name="read_type" value="q"/> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
333 </conditional> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
334 <conditional name="use_mlst_db"> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
335 <param name="selector" value="no"/> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
336 </conditional> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
337 <conditional name="use_gene_db"> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
338 <param name="selector" value="no"/> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
339 </conditional> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
340 <output name="Compiled_gene_and_mlst_output"> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
341 <assert_contents> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
342 <has_n_lines n="0"/> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
343 </assert_contents> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
344 </output> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
345 <output name="all_consensus"> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
346 <assert_contents> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
347 <has_size value="0" delta="0"/> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
348 </assert_contents> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
349 </output> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
350 <output_collection name="new_consensus" type="list"> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
351 </output_collection> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
352 <output_collection name="samtools_pileup_alignment" type="list"> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
353 </output_collection> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
354 <output_collection name="bowtie2_alignment_output" type="list"> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
355 </output_collection> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
356 <output_collection name="scores_ofEachAllele" type="list"> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
357 </output_collection> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
358 <output name="log_output"> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
359 <assert_contents> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
360 <has_text text="Total paired readsets found:1"/> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
361 <has_n_lines n="4"/> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
362 </assert_contents> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
363 </output> |
46c5d7a0393b
planemo upload for repository https://github.com/katholt/srst2 commit 2e3867763a28e217bf5f44558a3f56e7efe041c5
iuc
parents:
0
diff
changeset
|
364 </test> |
0
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
365 </tests> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
366 <help><![CDATA[ |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
367 SRST2 |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
368 ===== |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
369 Short Read Sequence Typing for Bacterial Pathogens |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
370 |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
371 This program is designed to take Illumina sequence data, a MLST (Multi Locus Sequence Types) database and/or a database of gene sequences (e.g. resistance genes, virulence genes, etc) and report the presence of STs (Serotypes) and/or reference genes |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
372 |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
373 Read more about the tool: https://holtlab.net/2014/12/27/behind-the-paper-srst2-for-short-read-sequence-typing-of-bacterial-pathogens/ |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
374 |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
375 Input |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
376 ===== |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
377 Learn more about all inputs and their formates: https://github.com/katholt/srst2#input-read-formats-and-options |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
378 |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
379 Output |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
380 ====== |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
381 Learn more about all outputs: https://github.com/katholt/srst2#output-files |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
382 ]]></help> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
383 <citations> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
384 <citation type="doi">10.1186/s13073-014-0090-6</citation> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
385 </citations> |
f9a0855c792d
planemo upload for repository https://github.com/katholt/srst2 commit 00fa01604956cb2e175fe9df199fc98956efad27
iuc
parents:
diff
changeset
|
386 </tool> |