Mercurial > repos > jjohnson > encyclopedia_library_to_blib
view encyclopedia_library_to_blib.xml @ 2:16742a3da672 draft
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit 6d8b020f1e4aefdb18a1642134ad551482a9f96f"
author | jjohnson |
---|---|
date | Wed, 01 Jul 2020 11:23:55 -0400 |
parents | 058db6d8a1b3 |
children | 4850741d1dff |
line wrap: on
line source
<tool id="encyclopedia_library_to_blib" name="ConvertLibraryToBlib" version="@VERSION@.0" python_template_version="3.5"> <description>Convert EncyclopeDIA Library to BLIB for Skyline</description> <macros> <import>macros.xml</import> </macros> <expand macro="requirements" /> <command detect_errors="exit_code"><![CDATA[ EncyclopeDIA -convert -libtoblib -i '$i' -o '$output' #if $istest == 'yes' && sqlite3 -readonly '$output' 'SELECT distinct peptideSeq FROM RefSpectra;' > '$test_output' #end if ]]></command> <inputs> <param argument="-i" type="data" format="elib,dlib" label="Library: Chromatagram .ELIB or Spectrum .DLIB"/> <param name="istest" type="hidden" value="no"/> </inputs> <outputs> <data name="output" format="blib" label="${i.name} blib"/> <data name="test_output" format="txt" > <filter>istest == 'yes'</filter> </data> </outputs> <tests> <test> <param name="i" ftype="dlib" value="PrositLib.dlib"/> <param name="istest" value="yes"/> <output name="test_output" ftype="txt"> <assert_contents> <has_text text="AGGVLHDDENLWSFGK"/> </assert_contents> </output> </test> </tests> <help><![CDATA[ Convert EncyclopeDIA Library to BLIB for Skyline. ]]></help> <expand macro="citations" /> </tool>