view hmmscan.xml @ 9:4a54e4c9188b 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:35:17 +0000
parents 347a1f935f4c
children
line wrap: on
line source

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

@OFORMAT_WITH_OPTS@
@THRESHOLDS@
@THRESHOLDS_DOM@
@ACCEL_HEUR@
@ADV_OPTS@
@CPU@
@SEED@

'$input_hmm_filename'
'$seqfile'
> '$output'
  ]]></command>
  <inputs>
    <expand macro="input_hmm_choice" />
    <!-- todo use Galaxy features like data libraries/data tables/??? -->
    <param name="seqfile" type="data" format="fasta" label="Sequence file" help="Please note this file should have a length less than 100K."/>
    <expand macro="oformat_with_opts_dom_pfam"/>
    <expand macro="thresholds_cut_dom_xml"/>
    <expand macro="accel_heur_xml"/>
    <expand macro="adv_opts"/>
    <expand macro="seed"/>
  </inputs>
  <outputs>
    <expand macro="output_dom_pfam" tool="HMMSCAN"/>
  </outputs>
  <tests>
    <test expect_num_outputs="4">
      <param name="input_hmm_conditional|input_hmm_source" value="history"/>
      <param name="input_hmm_conditional|hmmfile" value="MADE1.hmm"/>
      <param name="seqfile" value="dna_target2.fa"/>
      <expand macro="oformat_test" />
      <expand macro="seed_test" />
      <output name="output" file="MADE1.out" lines_diff="24">
          <expand macro="assert_out" tool="hmmscan"/>
      </output>
      <output name="tblout" file="MADE1.out.tblout" lines_diff="14">
          <expand macro="assert_tblout" tool="hmmscan"/>
      </output>
      <output name="domtblout" file="MADE1.out.domtblout" lines_diff="10">
          <expand macro="assert_tblout" tool="hmmscan"/>
      </output>
      <output name="pfamtblout" file="MADE1.out.pfamtblout" lines_diff="10">
          <expand macro="assert_tblout" tool="hmmscan"/>
      </output>
    </test>
  </tests>
  <help><![CDATA[
@HELP_PRE@

hmmscan is used to search protein sequences against collections of protein
profiles. For each sequence in <seqfile>, use that query sequence to search the
target database of profiles in <hmmfile>, and output ranked lists of the profiles
with the most significant matches to the sequence.

@HELP_PRE_OTH@

@OFORMAT_WITH_OPTS_HELP@
@THRESHOLDS_HELP@
@CUT_HELP@
@ACCEL_HEUR_HELP@
@ADV_OPTS_HELP@
@SEED_HELP@

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