upstream-extended/iuc/tools/seqtk/seqtk_mutfa.xml
1<?xml version="1.0"?>
2<tool id="seqtk_mutfa" name="seqtk_mutfa" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="22.05">
3 <description>point mutate FASTA at specified positions</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 mutfa
12'$in_file'
13'$in_snp'
14@CONDITIONAL_GZIP_OUT@
15 ]]></command>
16 <inputs>
17 <expand macro="in_faq"/>
18 <param name="in_snp" type="data" format="tabular" label="Input SNP file"/>
19 </inputs>
20 <outputs>
21 <data name="default" format_source="in_file" label="${tool.name} on ${on_string}: Mutated"/>
22 </outputs>
23 <tests>
24 <test>
25 <param name="in_file" value="seqtk_mutfa.fa"/>
26 <param name="in_snp" value="seqtk_mutfa.snp"/>
27 <output name="default" file="seqtk_mutfa.out" ftype="fasta"/>
28 </test>
29 <test>
30 <param name="in_file" value="seqtk_mutfa.fa.gz" ftype="fasta.gz"/>
31 <param name="in_snp" value="seqtk_mutfa.snp"/>
32 <output name="default" file="seqtk_mutfa.out.gz" ftype="fasta.gz"/>
33 </test>
34 </tests>
35 <help><![CDATA[
36**What it does**
37
38the SNP inputs consist of 4 columns: chromosome, 1-based-pos, any, base-changed-to.
39
40::
41
42 # Input fasta
43 >test0
44 ACTGACTGAA
45
46 # Input SNP file
47 test0 1 . G
48 test0 4 . A
49
50This will effect the desired mutations in the output file
51
52::
53
54 # Output result
55 >test0
56 GCTAACTGAA
57
58@ATTRIBUTION@
59 ]]></help>
60 <expand macro="citation" />
61</tool>