Source code

Download source archive ↓

upstream-extended/iuc/tools/seqtk/seqtk_dropse.xml

1<?xml version="1.0"?>
2<tool id="seqtk_dropse" name="seqtk_dropse" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="22.05">
3    <description>drop unpaired from interleaved Paired End FASTA/Q</description>
4    <macros>
5        <import>macros.xml</import>
6    </macros>
7    <expand macro="bio_tools"/>
8    <expand macro="requirements"/>
9    <expand macro="stdio"/>
10    <command><![CDATA[
11seqtk dropse
12'$in_file'
13@CONDITIONAL_GZIP_OUT@
14    ]]></command>
15    <inputs>
16        <expand macro="in_faq"/>
17    </inputs>
18    <outputs>
19        <data name="default" format_source="in_file" label="${tool.name} on ${on_string}: only paired-end reads"/>
20    </outputs>
21    <tests>
22        <test>
23            <param name="in_file" value="seqtk_dropse.fq" ftype="fastqsanger"/>
24            <output name="default" file="seqtk_dropse.out" ftype="fastqsanger"/>
25        </test>
26        <test>
27            <param name="in_file" value="seqtk_dropse.fq.gz" ftype="fastqsanger.gz"/>
28            <output name="default" file="seqtk_dropse.out.gz" ftype="fastqsanger.gz"/>
29        </test>
30    </tests>
31    <help><![CDATA[
32**What it does**
33
34Remove unpaired reads in an interleaved paired-end FASTA/Q file. Given a fastq file with unpaired reads:
35
36::
37
38    @test-6/1
39    AGCTTGACGC
40    +
41    ?.HCF@C>>F
42    @test-6/2
43    TGCGAAGACC
44    +
45    >2?A?A@@7?
46    @test-4/1
47    CTTGACGCTG
48    +
49    I@>3EFCG@C
50    @test-2/1
51    AGACCAAAAT
52    +
53    ??><6E?IFC
54    @test-2/2
55    CTGGCGAATT
56    +
57    ?=?*?A?<?@
58
59This tool will remove the offending reads (test-4/1), leaving just the paired data.
60
61::
62
63    @test-6/1
64    AGCTTGACGC
65    +
66    ?.HCF@C>>F
67    @test-6/2
68    TGCGAAGACC
69    +
70    >2?A?A@@7?
71    @test-2/1
72    AGACCAAAAT
73    +
74    ??><6E?IFC
75    @test-2/2
76    CTGGCGAATT
77    +
78    ?=?*?A?<?@
79
80@ATTRIBUTION@
81    ]]></help>
82    <expand macro="citation" />
83</tool>