Source code

Download source archive ↓

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

1<?xml version="1.0"?>
2<tool id="seqtk_listhet" name="seqtk_listhet" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="22.05">
3    <description>extract the position of each het</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 listhet
14'$in_file'  | awk 'BEGIN{print "#chr\tposition\tbase"}1'
15> '$default'
16]]></command>
17    <inputs>
18        <expand macro="in_faq"/>
19    </inputs>
20    <outputs>
21        <data name="default" format="tabular" label="${tool.name} on ${on_string}: Positions of heterozygous bases"/>
22    </outputs>
23    <tests>
24        <test>
25            <param name="in_file" value="seqtk_listhet.fa"/>
26            <output name="default" file="seqtk_listhet.out" ftype="tabular"/>
27        </test>
28        <test>
29            <param name="in_file" value="seqtk_listhet.fa.gz" ftype="fasta.gz"/>
30            <output name="default" file="seqtk_listhet.out" ftype="tabular"/>
31        </test>
32    </tests>
33    <help><![CDATA[
34**What it does**
35
36Lists regions of heterozygosity.
37
38::
39
40    >ambig
41    ACGTMRWSYKVHDBN
42
43The seqtk suite recognises MRWSYK:
44
45::
46
47    #chr    position  base
48    ambig   5         M
49    ambig   6         R
50    ambig   7         W
51    ambig   8         S
52    ambig   9         Y
53    ambig   10        K
54
55
56@ATTRIBUTION@
57    ]]></help>
58    <expand macro="citation" />
59</tool>