1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-11-22 08:39:56 +00:00

chore: remove fixme comments

This commit is contained in:
Moritz E. Beber 2023-03-09 15:12:13 +01:00
parent 7c1133efb8
commit 246da8a7b0
4 changed files with 0 additions and 6 deletions

View file

@ -45,8 +45,6 @@ workflow LONGREAD_HOSTREMOVAL {
SAMTOOLS_INDEX ( MINIMAP2_ALIGN.out.bam ) SAMTOOLS_INDEX ( MINIMAP2_ALIGN.out.bam )
ch_versions = ch_versions.mix( SAMTOOLS_INDEX.out.versions.first() ) ch_versions = ch_versions.mix( SAMTOOLS_INDEX.out.versions.first() )
// FIXME: This join is performed using entire maps as keys.
// Please replace with joining on specific keys instead.
bam_bai = MINIMAP2_ALIGN.out.bam bam_bai = MINIMAP2_ALIGN.out.bam
.join(SAMTOOLS_INDEX.out.bai) .join(SAMTOOLS_INDEX.out.bai)

View file

@ -87,7 +87,6 @@ workflow PROFILING {
[ new_meta, reads, db ] [ new_meta, reads, db ]
} }
// FIXME: Groups elements in the channel using the meta map as key. Replace with grouping on specific keys.
.groupTuple(by: [0,2]) .groupTuple(by: [0,2])
.multiMap { .multiMap {
meta, reads, db -> meta, reads, db ->
@ -321,7 +320,6 @@ workflow PROFILING {
meta, reads, db_meta, db -> meta, reads, db_meta, db ->
[[id: db_meta.db_name, single_end: meta.single_end], reads, db_meta, db] [[id: db_meta.db_name, single_end: meta.single_end], reads, db_meta, db]
} }
// FIXME: Groups elements in the channel using the meta map as key. Replace with grouping on specific keys.
.groupTuple(by: [0,2,3]) .groupTuple(by: [0,2,3])
.multiMap { .multiMap {
single_meta, reads, db_meta, db -> single_meta, reads, db_meta, db ->

View file

@ -30,7 +30,6 @@ workflow STANDARDISATION_PROFILES {
meta_new.tool = meta.tool == 'metaphlan3' ? 'metaphlan' : meta.tool == 'malt' ? 'megan6' : meta.tool meta_new.tool = meta.tool == 'metaphlan3' ? 'metaphlan' : meta.tool == 'malt' ? 'megan6' : meta.tool
[meta_new, profile] [meta_new, profile]
} }
// FIXME: Groups elements in the channel using the meta map as key. Replace with grouping on specific keys.
.groupTuple () .groupTuple ()
.map { [ it[0], it[1].flatten() ] } .map { [ it[0], it[1].flatten() ] }

View file

@ -197,7 +197,6 @@ workflow TAXPROFILER {
meta_new.remove('run_accession') meta_new.remove('run_accession')
[ meta_new, reads ] [ meta_new, reads ]
} }
// FIXME: Groups elements in the channel using the meta map as key. Replace with grouping on specific keys.
.groupTuple() .groupTuple()
.map { .map {
meta, reads -> meta, reads ->