Mercurial > repos > iuc > seqtk
view seqtk_mergefa.xml @ 4:ecf1c30da3a2 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit ad43df79dca3dc7c3511c6eb2ccf8589d2804eb2
author | iuc |
---|---|
date | Wed, 17 Oct 2018 05:59:21 -0400 |
parents | bc7d99f46a5d |
children | a09586d5149a |
line wrap: on
line source
<?xml version="1.0"?> <tool id="seqtk_mergefa" name="seqtk_mergefa" version="@WRAPPER_VERSION@.0"> <description>merge two FASTA/Q files</description> <macros> <import>macros.xml</import> </macros> <expand macro="requirements"/> <expand macro="stdio"/> <command><![CDATA[ seqtk mergefa -q $q $i $m $r $h '$in_fa1' '$in_fa2' #echo "| gzip --no-name" if $in_fa1.is_of_type('fasta.gz', 'fastq.gz') else "" # > '$default' ]]></command> <inputs> <param name="in_fa1" type="data" format="fasta,fastq,fasta.gz,fastq.gz" label="Input FASTA/Q file #1"/> <param name="in_fa2" type="data" format="fasta,fastq,fasta.gz,fastq.gz" label="Input FASTA/Q file #2"/> <param argument="-q" type="integer" value="0" label="Quality threshold"/> <param argument="-i" type="boolean" truevalue="-i" falsevalue="" checked="false" label="Take intersection" /> <param argument="-m" type="boolean" truevalue="-m" falsevalue="" checked="false" label="Convert to lowercase when one of the input base is N" /> <param argument="-r" type="boolean" truevalue="-r" falsevalue="" checked="false" label="Pick a random allele from het" /> <param argument="-h" type="boolean" truevalue="-h" falsevalue="" checked="false" label="Suppress hets in the input" /> </inputs> <outputs> <data name="default" format_source="in_fa1" label="Merger of $in_fa1.name and $in_fa2.name"/> </outputs> <tests> <test> <param name="in_fa1" value="seqtk_mergefa1.fa"/> <param name="in_fa2" value="seqtk_mergefa2.fa"/> <output name="default" file="seqtk_mergefa.out" ftype="fasta"/> </test> <test> <param name="in_fa1" value="seqtk_mergefa1.fa"/> <param name="in_fa2" value="seqtk_mergefa2.fa"/> <param name="m" value="True" /> <output name="default" file="seqtk_mergefa2.out" ftype="fasta"/> </test> <test> <param name="in_fa1" value="seqtk_mergefa1.fa.gz" ftype="fasta.gz"/> <param name="in_fa2" value="seqtk_mergefa2.fa.gz" ftype="fasta.gz"/> <param name="m" value="True" /> <output name="default" file="seqtk_mergefa2.out.gz" ftype="fasta.gz"/> </test> </tests> <help><![CDATA[ **What it does** Merges two fasta files, using ambiguity codes :: # seq1.fa >test0 ACTGACTGAAA # seq2.fa >test0 ACTGAMTGCGN In the following the `-m` option has been set to highlight seqtk-mergefa's features. :: >test0 ACTGACTGxxa @ATTRIBUTION@ ]]></help> <expand macro="citation" /> </tool>