upstream-extended/iuc/tools/seqtk/seqtk_fqchk.xml
1<?xml version="1.0"?>
2<tool id="seqtk_fqchk" name="seqtk_fqchk" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="22.05">
3 <description>fastq QC (base/quality summary)</description>
4 <macros>
5 <import>macros.xml</import>
6 </macros>
7 <expand macro="bio_tools"/>
8 <expand macro="requirements">
9 <expand macro="awk_requirement"/>
10 </expand>
11 <expand macro="stdio"/>
12 <command><![CDATA[
13seqtk fqchk
14-q $q
15'$in_file' | awk '{if(NR<4){print "#"$0}else{print $0}}'
16> '$default'
17 ]]></command>
18 <inputs>
19 <expand macro="in_fq"/>
20 <param argument="-q" type="integer" value="20" label="Quality values" help="Use 0 to get the distribution of all quality values"/>
21 </inputs>
22 <outputs>
23 <data name="default" format="tabular" label="${tool.name} on ${on_string}: Quality information"/>
24 </outputs>
25 <tests>
26 <test>
27 <param name="in_file" value="seqtk_fqchk.fq" ftype="fastq"/>
28 <output name="default" file="seqtk_fqchk.out" ftype="tabular"/>
29 </test>
30 <test>
31 <param name="in_file" value="seqtk_fqchk.fq.gz" ftype="fastq.gz"/>
32 <output name="default" file="seqtk_fqchk.out" ftype="tabular"/>
33 </test>
34 </tests>
35 <help><![CDATA[
36**What it does**
37
38Returns quality score information base-by-base.
39
40::
41
42 @SEQ_ID1
43 GATTTGGGGTTCAAAGCAGTATCGATCAAATAGTAAATCCATTTGTTCAACTCACAGTTT
44 +
45 !''*((((***+))%%%++)(%%%%).1***-+*''))**55CCF>>>>>>CCCCCCC65
46
47each based is examined individually and information reported:
48
49::
50
51 #min_len: 60; max_len: 60; avg_len: 60.00; 15 distinct quality values
52 #POS #bases %A %C %G %T %N avgQ errQ %low %high
53 #ALL 60 31.7 16.7 18.3 33.3 0.0 15.1 8.7 66.7 33.3
54 1 1 0.0 0.0 100.0 0.0 0.0 0.0 3.0 100.0 0.0
55 2 1 100.0 0.0 0.0 0.0 0.0 6.0 6.0 100.0 0.0
56 3 1 0.0 0.0 0.0 100.0 0.0 6.0 6.0 100.0 0.0
57 4 1 0.0 0.0 0.0 100.0 0.0 9.0 9.0 100.0 0.0
58 5 1 0.0 0.0 0.0 100.0 0.0 7.0 7.0 100.0 0.0
59 6 1 0.0 0.0 100.0 0.0 0.0 7.0 7.0 100.0 0.0
60 7 1 0.0 0.0 100.0 0.0 0.0 7.0 7.0 100.0 0.0
61 8 1 0.0 0.0 100.0 0.0 0.0 7.0 7.0 100.0 0.0
62 9 1 0.0 0.0 100.0 0.0 0.0 9.0 9.0 100.0 0.0
63 10 1 0.0 0.0 0.0 100.0 0.0 9.0 9.0 100.0 0.0
64
65@ATTRIBUTION@
66 ]]></help>
67 <expand macro="citation" />
68</tool>