-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Final changes for release 2.5.0 #285
Changes from all commits
f76dd19
6877012
f76fb7f
2bf573d
090aaa3
0d0f46b
6d11bcc
db8ad1d
9f10857
eb6d692
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ workflow QUANT { | |
// NOTE: This is an alternative filtering method that will be replaced by IDFilter with new release of OpenMS | ||
PYOPENMS_IDFILTER( ch_runs_to_be_filtered ).filtered | ||
.map { meta, idxml -> [[id:meta.sample + '_' + meta.condition], [id:meta.id, file:idxml]] } | ||
.groupTuple(sort: sortById) | ||
.groupTuple( sort: sortById ) | ||
.map { meta, idxml -> [meta, idxml.file] } | ||
.set { ch_runs_to_be_aligned } | ||
ch_versions = ch_versions.mix(PYOPENMS_IDFILTER.out.versions.ifEmpty(null)) | ||
|
@@ -56,21 +56,21 @@ workflow QUANT { | |
mzml, | ||
merge_meta_map | ||
) | ||
ch_versions = ch_versions.mix(MAP_ALIGNMENT.out.versions.ifEmpty(null)) | ||
ch_versions = ch_versions.mix( MAP_ALIGNMENT.out.versions.ifEmpty(null) ) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is the ifEmpty really necessary? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Probably not 🤔 |
||
|
||
// We need to merge groupwise the aligned idxml files together to use them as id_ext in featurefinder | ||
OPENMS_IDMERGER_QUANT(MAP_ALIGNMENT.out.aligned_idxml | ||
OPENMS_IDMERGER_QUANT( MAP_ALIGNMENT.out.aligned_idxml | ||
.map { meta, aligned_idxml -> [[id: meta.sample + '_' + meta.condition], aligned_idxml] } | ||
.groupTuple()) | ||
ch_versions = ch_versions.mix(OPENMS_IDMERGER_QUANT.out.versions.ifEmpty(null)) | ||
|
||
// Manipulate channels such that we end up with : [meta, mzml, run_idxml, merged_runs_idxml] | ||
MAP_ALIGNMENT.out.aligned_mzml | ||
.join(MAP_ALIGNMENT.out.aligned_idxml) | ||
.map {meta, mzml, idxml -> [[id: meta.sample + '_' + meta.condition], meta, [id:meta.id, file:mzml], [id:meta.id, file:idxml]] } | ||
.groupTuple(sort: sortById) | ||
.map { group_meta, meta, mzml, idxml -> [group_meta, meta, mzml.file, idxml.file]} | ||
.join(OPENMS_IDMERGER_QUANT.out.idxml) | ||
.join( MAP_ALIGNMENT.out.aligned_idxml ) | ||
.map { meta, mzml, idxml -> [[id: meta.sample + '_' + meta.condition], meta, [id:meta.id, file:mzml], [id:meta.id, file:idxml]] } | ||
.groupTuple( sort: sortById ) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it would be good to add the expected size here to prevent stalling (and with all groupTuples everywhere) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How would I do that..? |
||
.map { group_meta, meta, mzml, idxml -> [group_meta, meta, mzml.file, idxml.file] } | ||
.join( OPENMS_IDMERGER_QUANT.out.idxml ) | ||
.map { group_meta, meta, mzml, idxml, merged_idxml -> [meta, mzml, idxml, merged_idxml] } | ||
.transpose() | ||
.set { ch_runs_to_be_quantified } | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You switched to tsv 😱 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was already implemented some releases ago.. (before my time 😄) Is there a csc standard I missed?