1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-11-25 23:09:55 +00:00

Add Krona chart creation for Centrifuge reports

This commit is contained in:
Thomas A. Christensen II 2022-06-27 08:52:29 -05:00
parent 18284e6e32
commit 23fec89b06
Signed by: millironx
GPG key ID: 139C07724802BC5D

View file

@ -20,6 +20,7 @@ workflow VISUALIZATION_KRONA {
*/ */
ch_input_profiles = profiles ch_input_profiles = profiles
.branch { .branch {
centrifuge: it[0]['tool'] == 'centrifuge'
kraken2: it[0]['tool'] == 'kraken2' kraken2: it[0]['tool'] == 'kraken2'
unknown: true unknown: true
} }
@ -28,6 +29,7 @@ workflow VISUALIZATION_KRONA {
Convert Kraken2 formatted reports into Krona text files Convert Kraken2 formatted reports into Krona text files
*/ */
ch_kraken_reports = ch_input_profiles.kraken2 ch_kraken_reports = ch_input_profiles.kraken2
.mix( ch_input_profiles.centrifuge )
KRAKENTOOLS_KREPORT2KRONA ( ch_kraken_reports ) KRAKENTOOLS_KREPORT2KRONA ( ch_kraken_reports )
ch_krona_text = ch_krona_text.mix( KRAKENTOOLS_KREPORT2KRONA.out.txt ) ch_krona_text = ch_krona_text.mix( KRAKENTOOLS_KREPORT2KRONA.out.txt )
ch_versions = ch_versions.mix( KRAKENTOOLS_KREPORT2KRONA.out.versions.first() ) ch_versions = ch_versions.mix( KRAKENTOOLS_KREPORT2KRONA.out.versions.first() )