view REDELACparallelSticsRsequence-10.0.xml @ 1:50dd120308af draft default tip

"planemo upload for repository https://forgemia.inra.fr/redelac"
author siwaa
date Mon, 12 Jun 2023 16:06:00 +0000
parents 21e91d3b7068
children
line wrap: on
line source

<tool id="REDELACparallelSticsRsequence-10.0.0" name="redelacparallelsticsrsequence-10.0.0" version="1.0.0">
  <description>to run sequences paralelly 4 REDELAC[Stics-10.0.0]</description>
  <requirements>
    <container type="singularity">docker://registry.forgemia.inra.fr/quaysofthestics/sticsquays/rstudio_stics_redelac:10.0.0</container>
  </requirements>
  <command detect_errors="aggressive">
    <![CDATA[ 
	     cp -r /home/rstudio/JavaSTICS-1.5.1-STICS-10.0.0/JavaSTICS-1.5.1-STICS-10.0.0 . &&
	     unzip ${WorkSpace} -d TMP &&
             export WSname=\$(ls TMP) &&
	     mv TMP/* JavaSTICS-1.5.1-STICS-10.0.0/WS &&
	     cp ${SuccessionPlan} JavaSTICS-1.5.1-STICS-10.0.0/WS/successionPlan.csv &&
	     cd JavaSTICS-1.5.1-STICS-10.0.0 &&
	     Rscript --verbose $__tool_directory__/REDELACparallelSticsRsequence.R &&
             mv WS \$WSname &&
	     zip -r \$WSname \$WSname &&
	     cp \$WSname.zip ${SimulatedWorkspace} &&
	     cp results.RData ${SimulationResults}
     ]]>
  </command>
  <inputs>
    <param name="WorkSpace" type="data" format="zip" label="Select a stics Workspace(zip file)"/>
    <param name="SuccessionPlan" type="data" format="csv" label="Select a plan (xlsx)"/>
  </inputs>
  <outputs>
    <data format="zip" name="SimulatedWorkspace"
          label="Stics simulated  Workspace">
    </data>
    <data format="rdata" name="SimulationResults"
          label="Stics simulations results">
    </data>
  </outputs>
  <tests>
  </tests>
  <help>
*The usage of this tool is restricted to the user of the stics_authorized group.*

*To be granted, apply to the Project Stics Team and then request to SIWAA*

Documentation
-------------
A tool to simulate stics rotation paralelly

Credits
-------
-  Wrapped Tool Author: https://www6.paca.inrae.fr/stics_eng/About-us/Project-Stics-Team
-  Stics Site: https://www6.paca.inra.fr/stics_eng
-  Galaxy Tool Maintainer: Patrick Chabrier patrick.chabrier@inrae.fr
-  Copyright: INRAE
  </help>
</tool>