view phmmer.xml @ 9:37bcc9fb0bb1 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hmmer3 commit 721504306833ba97c91f285e5bfd86efc04875ee
author iuc
date Sun, 25 Feb 2024 18:31:52 +0000
parents 92ff5dcded40
children
line wrap: on
line source

<?xml version="1.0"?>
<tool id="hmmer_phmmer" name="phmmer" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@">
  <description>search a protein sequence against a protein database (BLASTP-like)</description>
  <macros>
    <import>macros.xml</import>
  </macros>
  <expand macro="bio_tools"/>
  <expand macro="requirements"/>
  <command detect_errors="aggressive"><![CDATA[
@ADDTHREADS@
phmmer

@OFORMAT_WITH_OPTS@
@HSSI@
@THRESHOLDS@
@THRESHOLDS_DOM@
@ACCEL_HEUR@
@EVAL_CALIB@
@ADV_OPTS@

@CPU@
@SEED@

'$seqfile'
'$seqdb'
> '$output'
  ]]></command>
  <inputs>
    <param name="seqfile" type="data" format="fasta" label="Protein sequence to search with"/>
    <!-- todo use Galaxy features like data libraries/data tables/??? -->
    <param name="seqdb" type="data" format="fasta" label="Sequence Database"/>
    <expand macro="oformat_with_opts_dom_pfam"/>
    <expand macro="hssi"/>
    <expand macro="thresholds_dom_xml"/>
    <expand macro="accel_heur_xml"/>
    <expand macro="eval_calib_xml"/>
    <expand macro="adv_opts"/>
    <expand macro="seed"/>
  </inputs>
  <outputs>
    <expand macro="output_dom_pfam" tool="PHMMER"/>
  </outputs>
  <tests>
    <test expect_num_outputs="4">
      <param name="seqfile" value="globins45.fa"/>
      <param name="seqdb" value="uniprot_matches.fasta"/>
      <expand macro="oformat_test" />
      <expand macro="seed_test" />
      <output name="output" file="phmmer.out" lines_diff="200">
          <expand macro="assert_out" tool="phmmer"/>
      </output>
      <!-- Lines diff is high due to a line of cpu/timing information for EACH sequence -->
      <output name="domtblout" file="phmmer.domtblout" lines_diff="12">
          <expand macro="assert_tblout" tool="phmmer"/>
      </output>
      <output name="pfamtblout" file="phmmer.pfamtblout" lines_diff="12">
          <expand macro="assert_tblout" tool="phmmer"/>
      </output>
      <output name="tblout" file="phmmer.tblout" lines_diff="12">
          <expand macro="assert_tblout" tool="phmmer"/>
      </output>
    </test>
    <test expect_num_outputs="1">
      <param name="seqfile" value="globins45.fa"/>
      <param name="seqdb" value="uniprot_matches.fasta"/>
      <expand macro="oformat_test" />
      <param name="oformat" value=""/>
      <expand macro="seed_test" />
      <output name="output" file="phmmer.out" lines_diff="200">
          <expand macro="assert_out" tool="phmmer"/>
      </output>
    </test>
  </tests>
  <help><![CDATA[
@HELP_PRE@

phmmer is used to search one or more query protein sequences against a protein
sequence database.  For each query sequence in <seqfile>, use that sequence to
search the target database of sequences in <seqdb>, and output ranked lists of
the sequences with the most significant matches to the query.


@HELP_PRE_OTH@

@OFORMAT_WITH_OPTS_HELP@
@HSSI_HELP@
@THRESHOLDS_HELP@
@ACCEL_HEUR_HELP@
@EVAL_CALIB_HELP@
@ADV_OPTS_HELP@
@SEED_HELP@

@ATTRIBUTION@
  ]]></help>
  <expand macro="citation"/>
</tool>