annotate vsnp_statistics.xml @ 7:de2af65c4633 draft

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