diff --git a/src/utils/MetabolomicsLFQ.cpp b/src/utils/MetabolomicsLFQ.cpp index 69b2d67253e..ba4870e63f9 100644 --- a/src/utils/MetabolomicsLFQ.cpp +++ b/src/utils/MetabolomicsLFQ.cpp @@ -54,6 +54,8 @@ #include +#include + #include //#include "FeatureLinkerBase.cpp" @@ -137,14 +139,10 @@ class UTILMetabolomicsLFQ : //combined.insert("Linking:", fl_defaults); //combined.insert("AccurateMassSearch", ams_defaults); - //AMS - //currently no adduct files as parameter, use hardwiring? - //do we want out_annotation as optional file, or hardwire? - registerOutputFile_("out_annotation", "", "", "A copy of the input file, annotated with matching hits from the database.", false); - setValidFormats_("out_annotation", ListUtils::create("featureXML,consensusXML")); - Param p_ams = AccurateMassSearchEngine().getDefaults(); - combined.insert("Identification_ams:", p_ams); - combined.setSectionDescription("Identification_ams", "Accurate Mass Search parameters"); + //MapAligner pose + Param p_align = MapAlignmentAlgorithmPoseClustering().getParameters(); + combined.insert("Quantification_alignment:", p_align); + combined.setSectionDescription("Quantification_alignment", "Map Alignment parameters"); //FL //do we set linking file explicitly? @@ -157,6 +155,15 @@ class UTILMetabolomicsLFQ : //Do we want to allow the keep_subelements' option or hardwire to false? (true returns ONLY the subelements I think, no consensus. Or something like that, have to evaluate use case.) //registerFlag_("keep_subelements", "For consensusXML input only: If set, the sub-features of the inputs are transferred to the output."); + //AMS + //currently no adduct files as parameter, use hardwiring? + //do we want out_annotation as optional file, or hardwire? + registerOutputFile_("out_annotation", "", "", "A copy of the input file, annotated with matching hits from the database.", false); + setValidFormats_("out_annotation", ListUtils::create("featureXML,consensusXML")); + Param p_ams = AccurateMassSearchEngine().getDefaults(); + combined.insert("Identification_ams:", p_ams); + combined.setSectionDescription("Identification_ams", "Accurate Mass Search parameters"); + registerFullParam_(combined); } @@ -235,9 +242,9 @@ class UTILMetabolomicsLFQ : writeDebug_("Parameters passed to FeatureFindingMetabo", ffm_param, 3); // Parameter for MapAlignPoseClustering + Param ma_param = getParam_().copy("Quantification_alignment:", true); + writeDebug_("Parameters passed to MapAlignerPoseClustering", ma_param, 3); /* - Param ma_param = getParam_().copy("Alignment:", true); - writeDebug_("Parameters passed to MapAlignmentPoseClustering algorithm", ma_param, 3); MapAlignmentPoseClustering ma; ma.setLogType(log_type_); ma.setParameters(ff_param);