Mercurial > repos > jjohnson > spectrast
view spectrast_import.xml @ 2:e67b0cc10377 draft
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/spectrast commit af2d54a900c86c6b9926b87b514517c0f0f0a975-dirty
author | jjohnson |
---|---|
date | Wed, 20 Jun 2018 12:58:33 -0400 |
parents | 4e23dcad9087 |
children | 7f02fc51bddf |
line wrap: on
line source
<tool id="spectrast_import" name="SpectraST Import" version="@VERSION@.0"> <description>Spectral Library</description> <macros> <import>macros.xml</import> </macros> <expand macro="requirements" /> <command detect_errors="exit_code"><$','',$input.display_name.split('/')[-1]) + $ext ln -s '$input' '$input_name' && mkdir -p '$output.files_path' && spectrast -cN'${output.files_path}/library' '$input_name' | tee '$output' ]]></command> <inputs> <param name="input" type="data" format="ms2,msp,hlf" label="Spectral library ms2, msp, or hlf" help="BiblioSpec .ms2, NIST .msp, or X!Hunter .hlf"/> </inputs> <outputs> <data name="output" format="splib"/> </outputs> <tests> <test> <param name="input" ftype="ms2" value="test.ms2"/> <output name="output"> <assert_contents> <has_text_matching expression="Total number of spectra in library: 1" /> </assert_contents> </output> </test> </tests> <help><![CDATA[ **What it does** Imports a spectral library from the following formats: NIST (National Institute of Standards and Technology)'s .msp format X!Hunter's .hlf format BiblioSpec's .ms2 format ]]></help> <expand macro="citations" /> </tool>