Skip to content

Commit

Permalink
Fix test and add test-data
Browse files Browse the repository at this point in the history
  • Loading branch information
npinter committed Sep 22, 2023
1 parent 7fcdbd0 commit 6ff3ad4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/diann/diann.xml
Original file line number Diff line number Diff line change
Expand Up @@ -446,8 +446,8 @@
<has_text text="PrecursorMz"/>
</assert_contents>
</output>
<output name="output_report_speclib" file="report-lib.tsv.speclib" compare="sim_size" />
<output name="output_report_pred_speclib" file="report-lib.predicted.speclib" compare="sim_size" />
<output name="output_report_speclib" file="report-lib.tsv.speclib" compare="sim_size" delta="100"/>
<output name="output_report_pred_speclib" file="report-lib.predicted.speclib" compare="sim_size" delta="100"/>
</test>
<!-- test for multiple fastas -->
<test expect_num_outputs="1">
Expand Down
7 changes: 7 additions & 0 deletions tools/diann/test-data/bsa2.fasta
Original file line number Diff line number Diff line change
@@ -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
Binary file not shown.
Binary file added tools/diann/test-data/report-lib.tsv.speclib
Binary file not shown.

0 comments on commit 6ff3ad4

Please sign in to comment.