annotate vsnp_statistics.xml @ 5:d0fbdeaaa488 draft

"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_statistics commit 770e89322a15829580ed9577a853660f63233f32"
author greg
date Wed, 16 Jun 2021 17:38:47 +0000
parents 2d6c6b01319e
children de2af65c4633
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
1 <tool id="vsnp_statistics" name="vSNP: statistics" version="@WRAPPER_VERSION@.1" profile="@PROFILE@">
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
2 <description></description>
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
3 <macros>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
4 <import>macros.xml</import>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
5 </macros>
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
6 <requirements>
5
d0fbdeaaa488 "planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_statistics commit 770e89322a15829580ed9577a853660f63233f32"
greg
parents: 4
diff changeset
7 <requirement type="package" version="1.78">biopython</requirement>
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
8 <requirement type="package" version="1.16.5">numpy</requirement>
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
9 <requirement type="package" version="0.25.3">pandas</requirement>
1
14e29f7d59ca Uploaded
greg
parents: 0
diff changeset
10 <requirement type="package" version="1.2.0">xlrd</requirement>
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
11 </requirements>
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
12 <command detect_errors="exit_code"><![CDATA[
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
13 #import re
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
14 #set input_idxstats_dir = 'input_idxstats'
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
15 #set input_metrics_dir = 'input_metrics'
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
16 #set input_reads_dir = 'input_reads'
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
17 mkdir -p $input_idxstats_dir &&
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
18 mkdir -p $input_metrics_dir &&
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
19 mkdir -p $input_reads_dir &&
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
20
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
21 #if $input_type_cond.input_type == 'single_files':
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
22 #set read1 = $input_type_cond.read_type_cond.read1
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
23 #set read1_identifier = re.sub('[^\s\w\-]', '_', str($read1.element_identifier))
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
24 ln -s '${read1}' '${read1_identifier}' &&
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
25 #if $input_type_cond.read_type_cond.read_type == 'pair':
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
26 #set read2 = $input_type_cond.read_type_cond.read2
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
27 #set read2_identifier = re.sub('[^\s\w\-]', '_', str($read2.element_identifier))
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
28 ln -s '${read2}' '${read2_identifier}' &&
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
29 #else:
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
30 #set read2 = None
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
31 #end if
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
32 #else:
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
33 #if $input_type_cond.collection_type_cond.collection_type == 'single':
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
34 #for $i in $input_type_cond.collection_type_cond.reads_collection:
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
35 #set identifier = re.sub('[^\s\w\-]', '_', str($i.element_identifier))
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
36 ln -s '${i.file_name}' '$input_reads_dir/${identifier}' &&
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
37 #end for
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
38 #else:
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
39 #set read1 = $input_type_cond.collection_type_cond.reads_collection['forward']
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
40 #set read1_identifier = re.sub('[^\s\w\-]', '_', str($read1.name))
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
41 ln -s '${read1}' '$input_reads_dir/${read1_identifier}' &&
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
42 #set read2 = $input_type_cond.collection_type_cond.reads_collection['reverse']
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
43 #set read2_identifier = re.sub('[^\s\w\-]', '_', str($read2.name))
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
44 ln -s '${read2}' '$input_reads_dir/${read2_identifier}' &&
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
45 #end if
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
46 #for $i in $input_type_cond.samtools_idxstats:
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
47 #set identifier = re.sub('[^\s\w\-]', '_', str($i.element_identifier))
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
48 ln -s '${i.file_name}' '$input_idxstats_dir/${identifier}' &&
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
49 #end for
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
50 #for $i in $input_type_cond.vsnp_azc:
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
51 #set identifier = re.sub('[^\s\w\-]', '_', str($i.element_identifier))
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
52 ln -s '${i.file_name}' '$input_metrics_dir/${identifier}' &&
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
53 #end for
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
54 #end if
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
55
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
56 python '$__tool_directory__/vsnp_statistics.py'
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
57 #if $input_type_cond.input_type == 'single_files':
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
58 --dbkey '$input_type_cond.samtools_idxstats.metadata.dbkey'
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
59 #if $input_type_cond.read_type_cond.read1.is_of_type('fastqsanger.gz'):
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
60 --gzipped
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
61 #end if
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
62 --read1 '${read1_identifier}'
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
63 #if $input_type_cond.read_type_cond.read_type == 'pair':
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
64 --read2 '${read2_identifier}'
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
65 #end if
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
66 --samtools_idxstats '$input_type_cond.samtools_idxstats'
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
67 --vsnp_azc '$input_type_cond.vsnp_azc'
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
68 #else:
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
69 --dbkey '$input_type_cond.samtools_idxstats[0].metadata.dbkey'
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
70 #if $input_type_cond.collection_type_cond.reads_collection[0].is_of_type('fastqsanger.gz'):
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
71 --gzipped
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
72 #end if
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
73 #if $input_type_cond.collection_type_cond.collection_type == 'paired':
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
74 --list_paired
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
75 #end if
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
76 --input_idxstats_dir '$input_idxstats_dir'
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
77 --input_metrics_dir '$input_metrics_dir'
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
78 --input_reads_dir '$input_reads_dir'
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
79 #end if
1
14e29f7d59ca Uploaded
greg
parents: 0
diff changeset
80 --output '$output'
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
81 ]]></command>
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
82 <inputs>
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
83 <conditional name="input_type_cond">
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
84 <param name="input_type" type="select" label="Choose the category of the files to be analyzed">
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
85 <option value="single_files" selected="true">Single files</option>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
86 <option value="collections">Collections of files</option>
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
87 </param>
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
88 <when value="single_files">
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
89 <conditional name="read_type_cond">
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
90 <param name="read_type" type="select" label="Choose the read type">
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
91 <option value="single" selected="true">Single reads</option>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
92 <option value="pair">Paired reads</option>
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
93 </param>
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
94 <when value="single">
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
95 <param name="read1" type="data" format="fastqsanger.gz,fastqsanger" label="Read1 fastq file"/>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
96 </when>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
97 <when value="pair">
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
98 <param name="read1" type="data" format="fastqsanger.gz,fastqsanger" label="Read1 fastq file"/>
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
99 <param name="read2" type="data" format="fastqsanger.gz,fastqsanger" label="Read2 fastq file"/>
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
100 </when>
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
101 </conditional>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
102 <param name="samtools_idxstats" type="data" format="tabular" label="Samtools idxstats file"/>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
103 <param name="vsnp_azc" type="data" format="tabular" label="vSNP: add zero coverage metrics file"/>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
104 </when>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
105 <when value="collections">
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
106 <conditional name="collection_type_cond">
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
107 <param name="collection_type" type="select" label="Collections of single reads or paired reads?">
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
108 <option value="single" selected="true">Single reads</option>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
109 <option value="paired">Paired reads in separate datasets</option>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
110 </param>
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
111 <when value="single">
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
112 <param name="reads_collection" type="data_collection" format="fastqsanger,fastqsanger.gz" collection_type="list" label="Collection of fastqsanger files"/>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
113 </when>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
114 <when value="paired">
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
115 <param name="reads_collection" type="data_collection" format="fastqsanger,fastqsanger.gz" collection_type="paired" label="Collection of fastqsanger paired read files"/>
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
116 </when>
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
117 </conditional>
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
118 <param name="samtools_idxstats" type="data_collection" format="tabular" collection_type="list" label="Collection of samtools idxstats files"/>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
119 <param name="vsnp_azc" type="data_collection" format="tabular" collection_type="list" label="Collection of vSNP: add zero coverage metrics files"/>
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
120 </when>
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
121 </conditional>
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
122 </inputs>
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
123 <outputs>
5
d0fbdeaaa488 "planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_statistics commit 770e89322a15829580ed9577a853660f63233f32"
greg
parents: 4
diff changeset
124 <data name="output" format="tabular"/>
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
125 </outputs>
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
126 <tests>
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
127 <!-- A single fastq file -->
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
128 <test expect_num_outputs="1">
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
129 <param name="input_type" value="single_files"/>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
130 <param name="read_type" value="single"/>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
131 <param name="read1" value="Mcap_Deer_DE_SRR650221.fastq.gz" ftype="fastqsanger.gz" dbkey="89"/>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
132 <param name="samtools_idxstats" value="samtools_idxstats1.tabular" ftype="tabular" dbkey="89"/>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
133 <param name="vsnp_azc" value="add_zc_metrics1.tabular" ftype="tabular" dbkey="89"/>
5
d0fbdeaaa488 "planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_statistics commit 770e89322a15829580ed9577a853660f63233f32"
greg
parents: 4
diff changeset
134 <output name="output" file="vsnp_statistics1.tabular" ftype="tabular"/>
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
135 </test>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
136 <!-- A set of paired fastq files -->
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
137 <test expect_num_outputs="1">
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
138 <param name="input_type" value="single_files"/>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
139 <param name="read_type" value="pair"/>
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
140 <param name="read1" value="13-1941-6_S4_L001_R1_600000.fastq.gz" ftype="fastqsanger.gz" dbkey="89"/>
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
141 <param name="read2" value="13-1941-6_S4_L001_R2_600000.fastq.gz" ftype="fastqsanger.gz" dbkey="89"/>
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
142 <param name="samtools_idxstats" value="samtools_idxstats2.tabular" ftype="tabular" dbkey="89"/>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
143 <param name="vsnp_azc" value="add_zc_metrics2.tabular" ftype="tabular" dbkey="89"/>
5
d0fbdeaaa488 "planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_statistics commit 770e89322a15829580ed9577a853660f63233f32"
greg
parents: 4
diff changeset
144 <output name="output" file="vsnp_statistics2.tabular" ftype="tabular"/>
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
145 </test>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
146 <!-- A collection of SE fastq files -->
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
147 <test expect_num_outputs="1">
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
148 <param name="input_type" value="collections"/>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
149 <param name="read_type" value="single"/>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
150 <param name="reads_collection">
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
151 <collection type="list">
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
152 <element name="Mcap_Deer_DE_SRR650221.fastq.gz" value="Mcap_Deer_DE_SRR650221.fastq.gz" dbkey="89"/>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
153 <element name="13-1941-6_S4_L001_R1_600000.fastq.gz" value="13-1941-6_S4_L001_R1_600000.fastq.gz" dbkey="89"/>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
154 </collection>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
155 </param>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
156 <param name="samtools_idxstats">
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
157 <collection type="list">
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
158 <element name="13-1941-6_S4_L001_R1_600000.fastq.gz" value="samtools_idxstats3.tabular" dbkey="89"/>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
159 <element name="Mcap_Deer_DE_SRR650221.fastq.gz" value="samtools_idxstats4.tabular" dbkey="89"/>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
160 </collection>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
161 </param>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
162 <param name="vsnp_azc">
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
163 <collection type="list">
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
164 <element name="13-1941-6_S4_L001_R1_600000.fastq.gz" value="add_zc_metrics3.tabular" dbkey="89"/>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
165 <element name="Mcap_Deer_DE_SRR650221.fastq.gz" value="add_zc_metrics4.tabular" dbkey="89"/>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
166 </collection>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
167 </param>
5
d0fbdeaaa488 "planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_statistics commit 770e89322a15829580ed9577a853660f63233f32"
greg
parents: 4
diff changeset
168 <output name="output" file="vsnp_statistics3.tabular" ftype="tabular"/>
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
169 </test>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
170 <!-- A collection of PE fastq files -->
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
171 <test expect_num_outputs="1">
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
172 <param name="input_type" value="collections"/>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
173 <param name="collection_type" value="paired"/>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
174 <param name="reads_collection">
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
175 <collection type="paired">
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
176 <element name="forward" value="13-1941-6_S4_L001_R1_600000.fastq.gz" ftype="fastqsanger.gz"/>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
177 <element name="reverse" value="13-1941-6_S4_L001_R2_600000.fastq.gz" ftype="fastqsanger.gz"/>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
178 </collection>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
179 </param>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
180 <param name="samtools_idxstats">
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
181 <collection type="list">
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
182 <element name="13-1941-6_S4_L001_R1_600000.fastq" value="samtools_idxstats5.tabular" dbkey="89"/>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
183 </collection>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
184 </param>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
185 <param name="vsnp_azc">
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
186 <collection type="list">
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
187 <element name="13-1941-6_S4_L001_R1_600000.fastq" value="add_zc_metrics5.tabular" dbkey="89"/>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
188 </collection>
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
189 </param>
5
d0fbdeaaa488 "planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_statistics commit 770e89322a15829580ed9577a853660f63233f32"
greg
parents: 4
diff changeset
190 <output name="output" file="vsnp_statistics4.tabular" ftype="tabular"/>
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
191 </test>
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
192 </tests>
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
193 <help>
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
194 **What it does**
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
195
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
196 Accepts associated fastq files, SAMtools idxstats files and **vSNP: add zero coverage** metrics files and extracts information from them
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
197 to produce an Excel spreadsheet containing statistics for each sample. The samples can be single or paired reads, and all associated inputs
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
198 can be either single files or collections of files. The output statistics include reference, file size, mean read length, mean read quality,
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
199 reads passing Q30, total reads, all mapped reads, unmapped reads, unmapped reads percentage of total, reference with coverage, average depth
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
200 of coverage and good SNP count.
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
201 </help>
4
2d6c6b01319e Uploaded
greg
parents: 2
diff changeset
202 <expand macro="citations"/>
0
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
203 </tool>
c21d338dbdc4 Uploaded
greg
parents:
diff changeset
204