view phmmer.xml @ 6:8267b6ad0b45 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hmmer3 commit db615ae8a189ad988ec08090051a128355a4be70"
author iuc
date Thu, 14 Jan 2021 15:41:16 +0000
parents c1de05e20868
children 8a791afd99fb
line wrap: on
line source

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

@OFORMAT_WITH_OPTS@
@HSSI@
@THRESHOLDS@
@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_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>