Mercurial > repos > jjohnson > encyclopedia_prosit_csv_to_library
view encyclopedia_prosit_csv_to_library.xml @ 8:a1d185d0040c draft default tip
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit 7a9a7f310631cb909bb4e55c5d8541b39071fc81"
author | jjohnson |
---|---|
date | Thu, 10 Sep 2020 21:36:49 +0000 |
parents | 602d01de42b4 |
children |
line wrap: on
line source
<tool id="encyclopedia_prosit_csv_to_library" name="ConvertPrositCSVToLibrary" version="@VERSION@.0" python_template_version="3.5"> <description>Convert Prosit/Spectronaut CSV to EncyclopeDIA DLIB library</description> <macros> <import>macros.xml</import> </macros> <expand macro="requirements" /> <command detect_errors="aggressive"><![CDATA[ EncyclopeDIA -convert -prositcsvtolibrary -i '$i' -f '$f' -o '$output' #if $istest == 'yes' && sqlite3 -readonly '$output' 'select distinct ProteinAccession from peptidetoprotein;' > '$test_output' #end if ]]></command> <inputs> <param argument="-i" type="data" format="csv" label="Prosit output csv file"/> <param argument="-f" type="data" format="fasta" label="Protein Fasta database"/> <param name="istest" type="hidden" value="no"/> </inputs> <outputs> <data name="output" format="dlib" label="${i.name} DLIB"/> <data name="test_output" format="txt" > <filter>istest == 'yes'</filter> </data> </outputs> <tests> <test> <param name="i" ftype="csv" value="PrositLib.csv"/> <param name="f" ftype="fasta" value="YeastProteinFasta5.fasta"/> <param name="istest" value="yes"/> <output name="test_output" ftype="txt"> <assert_contents> <has_text text="PCL1_YEAST"/> </assert_contents> </output> </test> </tests> <help><![CDATA[ Convert Prosit/Spectronaut CSV to library DLIB ]]></help> <expand macro="citations" /> </tool>