Mercurial > repos > jjohnson > encyclopedia_prosit_csv_to_library
diff encyclopedia_prosit_csv_to_library.xml @ 0:75d11473e378 draft
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit 8f99967c46243d2ad661287ce6d17c5824dbc533-dirty"
author | jjohnson |
---|---|
date | Fri, 19 Jun 2020 10:20:35 -0400 |
parents | |
children | 602d01de42b4 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/encyclopedia_prosit_csv_to_library.xml Fri Jun 19 10:20:35 2020 -0400 @@ -0,0 +1,43 @@ +<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>