view seqtk_fqchk.xml @ 9:4b494533146a draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 2f75805e2e6cfa2af15076e6f4929b87631360a6
author iuc
date Sat, 09 Dec 2023 11:14:21 +0000
parents 3da72230c066
children
line wrap: on
line source

<?xml version="1.0"?>
<tool id="seqtk_fqchk" name="seqtk_fqchk" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="22.05">
    <description>fastq QC (base/quality summary)</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="bio_tools"/>
    <expand macro="requirements">
        <requirement type="package" version="@AWK_VERSION@">gawk</requirement>
    </expand>
    <expand macro="stdio"/>
    <command><![CDATA[
seqtk fqchk
-q $q
'$in_file' | awk '{if(NR<4){print "#"$0}else{print $0}}'
> '$default'
    ]]></command>
    <inputs>
        <expand macro="in_fq"/>
        <param argument="-q" type="integer" value="20" label="Quality values" help="Use 0 to get the distribution of all quality values"/>
    </inputs>
    <outputs>
        <data name="default" format="tabular" label="${tool.name} on ${on_string}: Quality information"/>
    </outputs>
    <tests>
        <test>
            <param name="in_file" value="seqtk_fqchk.fq" ftype="fastq"/>
            <output name="default" file="seqtk_fqchk.out" ftype="tabular"/>
        </test>
        <test>
            <param name="in_file" value="seqtk_fqchk.fq.gz" ftype="fastq.gz"/>
            <output name="default" file="seqtk_fqchk.out" ftype="tabular"/>
        </test>
    </tests>
    <help><![CDATA[
**What it does**

Returns quality score information base-by-base.

::

    @SEQ_ID1
    GATTTGGGGTTCAAAGCAGTATCGATCAAATAGTAAATCCATTTGTTCAACTCACAGTTT
    +
    !''*((((***+))%%%++)(%%%%).1***-+*''))**55CCF>>>>>>CCCCCCC65

each based is examined individually and information reported:

::

    #min_len: 60; max_len: 60; avg_len: 60.00; 15 distinct quality values
    #POS  #bases  %A     %C    %G     %T     %N   avgQ  errQ  %low   %high
    #ALL  60      31.7   16.7  18.3   33.3   0.0  15.1  8.7   66.7   33.3
    1     1       0.0    0.0   100.0  0.0    0.0  0.0   3.0   100.0  0.0
    2     1       100.0  0.0   0.0    0.0    0.0  6.0   6.0   100.0  0.0
    3     1       0.0    0.0   0.0    100.0  0.0  6.0   6.0   100.0  0.0
    4     1       0.0    0.0   0.0    100.0  0.0  9.0   9.0   100.0  0.0
    5     1       0.0    0.0   0.0    100.0  0.0  7.0   7.0   100.0  0.0
    6     1       0.0    0.0   100.0  0.0    0.0  7.0   7.0   100.0  0.0
    7     1       0.0    0.0   100.0  0.0    0.0  7.0   7.0   100.0  0.0
    8     1       0.0    0.0   100.0  0.0    0.0  7.0   7.0   100.0  0.0
    9     1       0.0    0.0   100.0  0.0    0.0  9.0   9.0   100.0  0.0
    10    1       0.0    0.0   0.0    100.0  0.0  9.0   9.0   100.0  0.0

@ATTRIBUTION@
    ]]></help>
    <expand macro="citation" />
</tool>