Mercurial > repos > recetox > recetox_xmsannotator_simple
diff recetox_xmsannotator_simple.xml @ 0:4cf6d71da794 draft
"planemo upload commit 5d3c80fb59c7d68a3d4ae26119821bc8d6fd65f2-dirty"
author | recetox |
---|---|
date | Tue, 25 Aug 2020 11:45:18 +0000 |
parents | |
children | fa85bd6fd713 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/recetox_xmsannotator_simple.xml Tue Aug 25 11:45:18 2020 +0000 @@ -0,0 +1,29 @@ +<tool id="recetox_xmsannotator_simple" name="xmsannotator - simple" version="deployment"> + <macros> + <import>recetox_xmsannotator_macros.xml</import> + </macros> + + <expand macro="requirements"/> + + <command detect_errors="aggressive"><![CDATA[ + Rscript -e 'annotation <- xmsannotator::simple_annotation( + data = arrow::read_feather("$peaks"), + metabolites = rhdf5::h5read("$metabolites", "metabolites"), + mz_tolerance_ppm = as.double($mz_tolerance) + )' + -e 'arrow::write_feather(annotation, "$annotation")' + ]]></command> + + <inputs> + <expand macro="peaks"/> + <expand macro="metabolites"/> + <expand macro="mz_tolerance"/> + </inputs> + + <outputs> + <expand macro="annotation_output"/> + </outputs> + + <help><![CDATA[]]></help> + <expand macro="citations"/> +</tool> \ No newline at end of file