OpenMS
OpenMS::NuXLPresets Namespace Reference

Functions

StringList getAllPresetsNames (const String &custom_presets_file="")
 Get all available presets names from JSON file. More...
 
void getPresets (const String &p, const String &custom_presets_file, StringList &nucleotides, StringList &mapping, StringList &modifications, StringList &fragment_adducts, String &can_cross_link)
 Get preset parameters for a given preset name. More...
 
void getPresets (const String &p, StringList &nucleotides, StringList &mapping, StringList &modifications, StringList &fragment_adducts, String &can_cross_link)
 Get preset parameters for a given preset name (using default presets file) More...
 

Function Documentation

◆ getAllPresetsNames()

StringList OpenMS::NuXLPresets::getAllPresetsNames ( const String custom_presets_file = "")

Get all available presets names from JSON file.

Parameters
custom_presets_fileOptional path to a custom presets file
Returns
StringList containing all available preset names

◆ getPresets() [1/2]

void OpenMS::NuXLPresets::getPresets ( const String p,
const String custom_presets_file,
StringList nucleotides,
StringList mapping,
StringList modifications,
StringList fragment_adducts,
String can_cross_link 
)

Get preset parameters for a given preset name.

Parameters
pThe preset name
custom_presets_fileOptional path to a custom presets file
nucleotidesOutput parameter for nucleotides
mappingOutput parameter for mapping
modificationsOutput parameter for modifications
fragment_adductsOutput parameter for fragment adducts
can_cross_linkOutput parameter for can_cross_link

◆ getPresets() [2/2]

void OpenMS::NuXLPresets::getPresets ( const String p,
StringList nucleotides,
StringList mapping,
StringList modifications,
StringList fragment_adducts,
String can_cross_link 
)

Get preset parameters for a given preset name (using default presets file)

Parameters
pThe preset name
nucleotidesOutput parameter for nucleotides
mappingOutput parameter for mapping
modificationsOutput parameter for modifications
fragment_adductsOutput parameter for fragment adducts
can_cross_linkOutput parameter for can_cross_link