From 4ca4931a3bb80a52a347d85def42ab548cdafbe4 Mon Sep 17 00:00:00 2001 From: pimarin Date: Thu, 18 Jan 2024 15:14:42 +0100 Subject: [PATCH] update bracken to v2.9 and add subspecoe level in filter option S1 and S2 --- tools/bracken/est-abundance.xml | 16 ++++++++++++++++ tools/bracken/macros.xml | 2 +- .../NC_003198.1_simulated_bracken_report_S1.txt | 2 ++ .../NC_003198.1_simulated_bracken_report_S2.txt | 2 ++ tools/bracken/test-data/test2.log | 8 ++++---- 5 files changed, 25 insertions(+), 5 deletions(-) create mode 100644 tools/bracken/test-data/NC_003198.1_simulated_bracken_report_S1.txt create mode 100644 tools/bracken/test-data/NC_003198.1_simulated_bracken_report_S2.txt diff --git a/tools/bracken/est-abundance.xml b/tools/bracken/est-abundance.xml index ed9d5dfd13f..2dc80145fd3 100644 --- a/tools/bracken/est-abundance.xml +++ b/tools/bracken/est-abundance.xml @@ -33,6 +33,8 @@ + + @@ -74,6 +76,20 @@ + + + + + + + + + + + + + + - 2.8 + 2.9 0 22.01 diff --git a/tools/bracken/test-data/NC_003198.1_simulated_bracken_report_S1.txt b/tools/bracken/test-data/NC_003198.1_simulated_bracken_report_S1.txt new file mode 100644 index 00000000000..507e7f89d03 --- /dev/null +++ b/tools/bracken/test-data/NC_003198.1_simulated_bracken_report_S1.txt @@ -0,0 +1,2 @@ +name taxonomy_id taxonomy_lvl kraken_assigned_reads added_reads new_est_reads fraction_total_reads +Salmonella enterica subsp. enterica 59201 S1 40 2 42 1.00000 diff --git a/tools/bracken/test-data/NC_003198.1_simulated_bracken_report_S2.txt b/tools/bracken/test-data/NC_003198.1_simulated_bracken_report_S2.txt new file mode 100644 index 00000000000..a3a770731b0 --- /dev/null +++ b/tools/bracken/test-data/NC_003198.1_simulated_bracken_report_S2.txt @@ -0,0 +1,2 @@ +name taxonomy_id taxonomy_lvl kraken_assigned_reads added_reads new_est_reads fraction_total_reads +Salmonella enterica subsp. enterica serovar Typhi 90370 S2 40 2 42 1.00000 diff --git a/tools/bracken/test-data/test2.log b/tools/bracken/test-data/test2.log index ca59a2b9abb..469286f92e0 100644 --- a/tools/bracken/test-data/test2.log +++ b/tools/bracken/test-data/test2.log @@ -1,5 +1,5 @@ -PROGRAM START TIME: 08-05-2022 14:41:48 -BRACKEN SUMMARY (Kraken report: /tmp/tmpy56dgetr/files/f/5/4/dataset_f5412c50-3888-4466-b041-32814cdda47c.dat) +PROGRAM START TIME: 01-18-2024 14:06:58 +BRACKEN SUMMARY (Kraken report: /tmp/tmp49rzn0wx/files/f/a/a/dataset_faa2d0a2-78f4-4cc2-b304-c8202c4ffb77.dat) >>> Threshold: 10 >>> Number of species in sample: 1 >> Number of species with reads > threshold: 1 @@ -10,5 +10,5 @@ BRACKEN SUMMARY (Kraken report: /tmp/tmpy56dgetr/files/f/5/4/dataset_f5412c50-38 >> Reads distributed: 1 >> Reads not distributed (eg. no species above threshold): 0 >> Unclassified reads: 2 -BRACKEN OUTPUT PRODUCED: /tmp/tmpy56dgetr/job_working_directory/000/4/outputs/galaxy_dataset_e099cc44-07e6-4507-b11f-137722113078.dat -PROGRAM END TIME: 08-05-2022 14:41:48 +BRACKEN OUTPUT PRODUCED: /tmp/tmp49rzn0wx/job_working_directory/000/4/outputs/galaxy_dataset_27bf8d97-38f4-489a-a61b-6b567bbc8761.dat +PROGRAM END TIME: 01-18-2024 14:06:58