mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-26 03:59:54 +00:00
Merge pull request #94 from MillironX/feature/centrifuge2krona
Add Krona output for Centrifuge profiles
This commit is contained in:
commit
e66c2b9b87
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