# HG changeset patch
# User galaxyp
# Date 1696256142 0
# Node ID ae4dc0c041f901af560d69bcd5bda2814ddb16b6
# Parent 9fa3dbf06f17ca00001a60fa51e29563e6b4ae52
planemo upload for repository https://github.com/vdemichev/DiaNN commit c2518a175b19e8f6b81c64d2699677e82bce9c71
diff -r 9fa3dbf06f17 -r ae4dc0c041f9 diann.xml
--- a/diann.xml Mon Jun 26 08:41:25 2023 +0000
+++ b/diann.xml Mon Oct 02 14:15:42 2023 +0000
@@ -2,7 +2,7 @@
is a software for DIA/SWATH data processing
1.8.1
- 0
+ 1
biocontainers/diann:v@TOOL_VERSION@_cv1
@@ -24,8 +24,13 @@
#end if
#end for
+ #set $fasta_file_str = ''
+ #for $fasta_file in $input.fasta_db_options.fasta
+ #set $fasta_file_str += '--fasta ' + str($fasta_file) + ' '
+ #end for
+
diann
- #if len($input.f) > 0
+ #if $input.f != 'None'
'$infiles_str'
#end if
--dir ./
@@ -34,7 +39,9 @@
#else
--lib
#end if
+ #if $input.f != 'None'
--out ./report.tsv
+ #end if
#if $input.spectral_lib_options.gen_spec_lib
--out-lib ./report-lib.tsv
#end if
@@ -58,7 +65,9 @@
#end if
## FASTA database options
- --fasta '$input.fasta_db_options.fasta'
+ #if $fasta_file_str != 'None'
+ '$fasta_file_str'
+ #end if
#if $input.fasta_db_options.fasta_filter
--fasta-filter '$input.fasta_db_options.fasta_filter'
#end if
@@ -218,6 +227,8 @@
#if $input.spectral_lib_options.gen_spec_lib
&& cp ./report-lib.tsv '$output_report_lib'
+ && cp ./report-lib.tsv.speclib '$output_report_speclib'
+ && cp ./report-lib.predicted.speclib '$output_report_pred_speclib'
#end if
]]>
@@ -238,7 +249,7 @@
@@ -399,15 +410,21 @@
- len(input['f']) > 0
+ input['f'] != None
input['spectral_lib_options']['gen_spec_lib'] == True
+
+ input['spectral_lib_options']['gen_spec_lib'] == True
+
+
+ input['spectral_lib_options']['gen_spec_lib'] == True
+
-
+
@@ -429,6 +446,23 @@
+
+
+
+
+
+
+
diff -r 9fa3dbf06f17 -r ae4dc0c041f9 test-data/bsa2.fasta
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/bsa2.fasta Mon Oct 02 14:15:42 2023 +0000
@@ -0,0 +1,7 @@
+>bsa_test sp|P02769|ALBU_BOVIN_TEST Serum albumin OS=Bos taurus OX=9913 GN=ALB PE=1 SV=4
+MKWVTFISLLLLFSSAYSRGVFRRDTHKSEIAHRFKDLGEEHFKGLVLIAFSQYLQQCPF
+DEHVKLVNELTEFAEDKDVCKNYQEAKDAFLGSFLYEYSRRHLVDEPQNLIKQNCDQFEK
+HPEYAVSVLLRLAKEYEATLEECCAKDDPHACYSTVFDKLKHLVDEPQNLIKQNCDQFEK
+LGEYGFQNALIVRYTRKVPQVSTPTLVEVSRSLGKVGTRCCTKPESERMPCTEDYLSLIL
+NRLCVLHEKTPVSEKVTDTEKQIKKQTALVELLKHKPKATEEQLKTVMENFVAFVDKCCA
+STQTALA
diff -r 9fa3dbf06f17 -r ae4dc0c041f9 test-data/report-lib.predicted.speclib
Binary file test-data/report-lib.predicted.speclib has changed
diff -r 9fa3dbf06f17 -r ae4dc0c041f9 test-data/report-lib.tsv.speclib
Binary file test-data/report-lib.tsv.speclib has changed