view saxswaxs/reduce.xml @ 137:0bd8fb3aae96 draft

planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 85285b9b70eaf7c5db051ed50b000339023ccdf2-dirty
author ximgchess
date Tue, 20 Jun 2023 18:13:36 +0000
parents 49985da419b8
children
line wrap: on
line source

<tool id="CHAP_saxswaxs_reduce" name="SAXSWAXS Reduce Map" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" python_template_version="@PYTHON_TEMPLATE_VERSION@" profile="@PROFILE@">
  <macros>
    <import>../macros.xml</import>
  </macros>
  <requirements>
    <expand macro="chap-requirement" />
    <requirement type="package" version="1.0.1">nexusformat</requirement>
    <requirement type="package" version="2023.3.0">pyfai</requirement>
    <requirement type="package" version="1.10.7">pydantic</requirement>
  </requirements>
  <command detect_errors="exit_code"><![CDATA[
      pip --exists-action i install certif-pyspec==1.5.3 &&
      cp '$mapconfig' map.yaml &&
      cp '$integrationconfig' integration.yaml &&
      CHAP --config '$__tool_directory__/pipeline.yaml'
  ]]></command>
  <inputs>
      <param type="data" name="mapconfig" format="yaml" />
      <param type="data" name="integrationconfig" format="yaml" />
  </inputs>
  <outputs>
  	<data name="reduceddata" label="Map of reduced data" format="nex" from_work_dir="map_reduceddata.nxs"/>
  </outputs>
  <tests>
      <test>
          <param name="mapconfig" value="map.yaml"/>
          <param name="integrationconfig" value="integration.yaml"/>
          <output name="reduceddata" value="map_reduceddata.nxs"/>
      </test>
  </tests>
  <help><![CDATA[
      usage: PROG [-h] [--config CONFIG] [--verbose]

options:
  -h, --help       show this help message and exit
  --config CONFIG  Input configuration file
  --verbose        verbose output

  ]]></help>
  <citations>
    <expand macro="chap-citation" />
  </citations>
</tool>