view jbrowse-fromdir.xml @ 24:fa30df9b79c2 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse commit 309588eae8df8baffaf49fc00fb0d28106109ddf
author iuc
date Wed, 16 Jan 2019 03:28:29 -0500
parents 5f70e7fe6077
children 1cfc579079a6
line wrap: on
line source

<tool id="jbrowse_to_standalone" name="JBrowse - Data Directory to Standalone" version="@TOOL_VERSION@+@WRAPPER_VERSION@">
  <description>upgrades the bare data directory to a full JBrowse instance</description>
  <macros>
    <import>macros.xml</import>
  </macros>
  <expand macro="requirements"/>
  <expand macro="stdio"/>
  <command><![CDATA[
## Create output directory
mkdir -p $output.files_path &&
## Copy in jbrowse
cp -R \${JBROWSE_SOURCE_DIR}/* $output.files_path/ &&

## Copy in data directory
cp -R $input.dataset.extra_files_path/data/ $output.files_path/ &&
mv $output.files_path/index.html $output
]]></command>
  <inputs>
    <param label="JBrowse Data Directory"
           name="input"
           type="data"
           help="Look for datasets with 'JBrowse ... Data Directory' in the name"
           format="html" />
  </inputs>
  <outputs>
      <data format="html" name="output" label="#set $name = $input.name.replace('Data Directory', 'Standalone')# $name"/>
  </outputs>
  <tests>
  </tests>
  <help><![CDATA[
Upgrades an existing bare JBrowse "data" directory into a full-fledged JBrowse instance.

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