Mercurial > repos > iuc > seqtk
view seqtk_mergefa.xml @ 8:3da72230c066 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 690c73637e3b8be3a52fe3afc8ba6436c4bab46f"
author | iuc |
---|---|
date | Thu, 14 Oct 2021 09:22:39 +0000 |
parents | 58c8ece95b53 |
children | 4b494533146a |
line wrap: on
line source
<?xml version="1.0"?> <tool id="seqtk_mergefa" name="seqtk_mergefa" version="@TOOL_VERSION@.1"> <description>merge two FASTA/Q files</description> <expand macro="bio_tools"/> <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 "| pigz -p ${GALAXY_SLOTS:-1} --no-name --no-time" 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>