Mercurial > repos > jjohnson > encyclopedia_prosit_csv_to_library
view encyclopedia_prosit_csv_to_library.xml @ 1:4887392414f1 draft
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit 81e7c4d3d6066b99ad50374292f340302dc4f02d"
author | jjohnson |
---|---|
date | Tue, 30 Jun 2020 11:41:05 -0400 |
parents | 75d11473e378 |
children | 602d01de42b4 |
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="exit_code"><![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>