Mercurial > repos > iuc > wfmash
comparison wfmash.xml @ 0:8534f4965ac5 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/wfmash commit db025e5d190c805c537e4c8ad7682bf5fdd946c5
| author | iuc |
|---|---|
| date | Mon, 09 Feb 2026 12:40:35 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:8534f4965ac5 |
|---|---|
| 1 <tool id="wfmash" name="wfmash" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> | |
| 2 <description>pangenome-scale aligner</description> | |
| 3 <macros> | |
| 4 <import>macros.xml</import> | |
| 5 </macros> | |
| 6 <expand macro="requirements"/> | |
| 7 <command detect_errors="exit_code"><![CDATA[ | |
| 8 #set $reference_fasta_filename = "reference.fa" | |
| 9 #set $query_fasta_filename = "query.fa" | |
| 10 | |
| 11 #if str($reference.ext).endswith('gz') | |
| 12 gunzip -c '${reference}' > '${reference_fasta_filename}' && | |
| 13 #else | |
| 14 ln -s -f '${reference}' '${reference_fasta_filename}' && | |
| 15 #end if | |
| 16 | |
| 17 samtools faidx '${reference_fasta_filename}' && | |
| 18 | |
| 19 #if str($query.ext).endswith('gz') | |
| 20 gunzip -c '${query}' > '${query_fasta_filename}' && | |
| 21 #else | |
| 22 ln -s -f '${query}' '${query_fasta_filename}' && | |
| 23 #end if | |
| 24 samtools faidx '${query_fasta_filename}' && | |
| 25 | |
| 26 wfmash | |
| 27 --threads="\${GALAXY_SLOTS:-1}" | |
| 28 -s $segment_length | |
| 29 -p $pct_identity | |
| 30 $approx_mapping | |
| 31 $no_split | |
| 32 '${reference_fasta_filename}' | |
| 33 '${query_fasta_filename}' | |
| 34 > '${output_paf}' | |
| 35 ]]></command> | |
| 36 <inputs> | |
| 37 <param name="reference" type="data" format="fasta,fasta.gz" label="Reference sequence" help="FASTA format" /> | |
| 38 <param name="query" type="data" format="fasta,fasta.gz" label="Query sequence" help="FASTA format"/> | |
| 39 <param argument="-s" name="segment_length" type="integer" min="100" value="1000" label="Segment Length" help="Minimum seed length, must be >= 100 bp."/> | |
| 40 <param argument="-p" name="pct_identity" type="float" min="0" max="100" value="90" label="Minimum Identity %" help="Percent identity in the mashmap step"/> | |
| 41 <param argument="-m" name="approx_mapping" type="boolean" truevalue="-m" falsevalue="" label="Approximate mapping" help="Skip base-level alignment"/> | |
| 42 <param argument="-N" name="no_split" type="boolean" optional="true" truevalue="-N" falsevalue="" label="No split" help="Disable splitting of input sequences during mapping (Default: enabled)"/> | |
| 43 </inputs> | |
| 44 | |
| 45 <outputs> | |
| 46 <data name="output_paf" format="paf" label="${tool.name} on ${on_string}: PAF"/> | |
| 47 </outputs> | |
| 48 | |
| 49 <tests> | |
| 50 <test expect_num_outputs="1"> | |
| 51 <param name="reference" ftype="fasta" value="ecoli_k12.fa"/> | |
| 52 <param name="query" ftype="fasta" value="ecoli_o157.fa"/> | |
| 53 <param name="pct_identity" value="70"/> | |
| 54 <output name="output_paf" file="expected_output_ecoli.paf" sort="true"/> | |
| 55 </test> | |
| 56 </tests> | |
| 57 | |
| 58 <help><![CDATA[ | |
| 59 wfmash is designed to make whole genome alignment easy. It can handle high sequence divergence. | |
| 60 | |
| 61 By default, wfmash automatically determines an appropriate identity threshold based on the ANI (Average Nucleotide Identity) distribution of your input sequences. | |
| 62 ]]></help> | |
| 63 | |
| 64 <expand macro="citations"/> | |
| 65 </tool> |
