Mercurial > repos > galaxyp > encyclopedia_prosit_csv_to_library
annotate encyclopedia_prosit_csv_to_library.xml @ 1:0e25453fbee7 draft
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit 64740168b7816f0fe38f6f0629cb7e618cd42878"
author | galaxyp |
---|---|
date | Thu, 08 Apr 2021 17:54:59 +0000 |
parents | 8a9cef108b0c |
children | 2aad7301632d |
rev | line source |
---|---|
1
0e25453fbee7
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit 64740168b7816f0fe38f6f0629cb7e618cd42878"
galaxyp
parents:
0
diff
changeset
|
1 <tool id="encyclopedia_prosit_csv_to_library" name="ConvertPrositCSVToLibrary" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" python_template_version="3.5"> |
0
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
2 <description>Convert Prosit/Spectronaut CSV to EncyclopeDIA DLIB library</description> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
3 <macros> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
4 <import>macros.xml</import> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
5 </macros> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
6 <expand macro="requirements" /> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
7 <command detect_errors="aggressive"><![CDATA[ |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
8 EncyclopeDIA -convert -prositcsvtolibrary |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
9 -numberOfThreadsUsed "\${GALAXY_SLOTS:-4}" |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
10 -i '$i' |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
11 -f '$f' |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
12 -o '$output' |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
13 #if $istest == 'yes' |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
14 && sqlite3 -readonly '$output' 'select distinct ProteinAccession from peptidetoprotein;' > '$test_output' |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
15 #end if |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
16 ]]></command> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
17 <inputs> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
18 <param argument="-i" type="data" format="csv" label="Prosit output csv file"/> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
19 <param argument="-f" type="data" format="fasta" label="Protein Fasta database"/> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
20 <param name="istest" type="hidden" value="no"/> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
21 </inputs> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
22 <outputs> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
23 <data name="output" format="dlib" label="${i.name} DLIB"/> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
24 <data name="test_output" format="txt" > |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
25 <filter>istest == 'yes'</filter> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
26 </data> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
27 </outputs> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
28 <tests> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
29 <test> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
30 <param name="i" ftype="csv" value="PrositLib.csv"/> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
31 <param name="f" ftype="fasta" value="YeastProteinFasta5.fasta"/> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
32 <param name="istest" value="yes"/> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
33 <output name="test_output" ftype="txt"> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
34 <assert_contents> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
35 <has_text text="PCL1_YEAST"/> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
36 </assert_contents> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
37 </output> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
38 </test> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
39 </tests> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
40 <help><![CDATA[ |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
41 Convert Prosit/Spectronaut CSV to library DLIB |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
42 ]]></help> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
43 <expand macro="citations" /> |
8a9cef108b0c
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit d94002fc79f552c8a64ffca86298396b1568df97"
galaxyp
parents:
diff
changeset
|
44 </tool> |