11#include <OpenMS/config.h>
18#include <unordered_map>
87 std::vector<std::string>>;
115 OPENMS_DLLAPI std::string
canonical(
const std::vector<Value>& values,
116 const std::vector<size_t>& unordered_list_indices = {});
127 const std::vector<size_t>& unordered_list_indices = {});
163 const std::string& peptidoform,
165 std::optional<float> rt,
166 const std::vector<Int32>& scan,
181 const std::vector<Int32>& scan,
182 const std::string& peptidoform,
202 OPENMS_DLLAPI
Int64 pgId(
const std::vector<std::string>& pg_accessions,
203 const std::vector<std::string>& grouped_runs,
204 const std::optional<std::string>& label);
int64_t Int64
Signed integer type (64bit)
Definition Types.h:40
float value
Definition QPXIdentity.h:78
const char *const PSM_COMPOSITE
Footer identity_composite for the psm view.
const char *const FEATURE_COMPOSITE
Footer identity_composite for the feature view.
const char *const PG_COMPOSITE
Footer identity_composite for the pg view.
std::unordered_map< Int64, Int64 > FeatureLinks
The feature↔PSM edge of one QPX collection, as psm_id → feature_id.
Definition QPXIdentity.h:64
Int64 featureId(const std::string &run_file_name, const std::string &peptidoform, Int64 charge, std::optional< float > rt, const std::vector< Int32 > &scan, float observed_mz)
feature_id from a feature row's persisted column values
Int64 pgId(const std::vector< std::string > &pg_accessions, const std::vector< std::string > &grouped_runs, const std::optional< std::string > &label)
pg_id from a protein-group row's persisted column values
std::string formatFloat(float value)
Render one float32 the way Python's repr writes it inside JSON.
Int64 deriveId(const std::vector< Value > &values, const std::vector< size_t > &unordered_list_indices={})
Derive an opaque signed 64-bit identity from a composite.
std::string canonical(const std::vector< Value > &values, const std::vector< size_t > &unordered_list_indices={})
Canonical JSON encoding of an identity composite.
std::variant< Null, std::string, Int64, Float32, std::vector< Int32 >, std::vector< std::string > > Value
JSON array of strings (grouped_runs)
Definition QPXIdentity.h:87
Int64 psmId(const std::string &run_file_name, const std::vector< Int32 > &scan, const std::string &peptidoform, Int64 charge)
psm_id from a psm row's persisted column values
A float32 composite component.
Definition QPXIdentity.h:77
A composite component that is JSON null (a null column value)
Definition QPXIdentity.h:67
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19