mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-22 10:29:54 +00:00
Add Krona chart creation for Centrifuge reports
This commit is contained in:
parent
18284e6e32
commit
23fec89b06
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,7 @@ workflow VISUALIZATION_KRONA {
|
|||
*/
|
||||
ch_input_profiles = profiles
|
||||
.branch {
|
||||
centrifuge: it[0]['tool'] == 'centrifuge'
|
||||
kraken2: it[0]['tool'] == 'kraken2'
|
||||
unknown: true
|
||||
}
|
||||
|
@ -28,6 +29,7 @@ workflow VISUALIZATION_KRONA {
|
|||
Convert Kraken2 formatted reports into Krona text files
|
||||
*/
|
||||
ch_kraken_reports = ch_input_profiles.kraken2
|
||||
.mix( ch_input_profiles.centrifuge )
|
||||
KRAKENTOOLS_KREPORT2KRONA ( ch_kraken_reports )
|
||||
ch_krona_text = ch_krona_text.mix( KRAKENTOOLS_KREPORT2KRONA.out.txt )
|
||||
ch_versions = ch_versions.mix( KRAKENTOOLS_KREPORT2KRONA.out.versions.first() )
|
||||
|
|
Loading…
Reference in a new issue