OpenMS / pyopenms-docs

pyOpenMS readthedocs documentation, additional utilities, addons, scripts, and examples.
https://pyopenms.readthedocs.io
Other
46 stars 56 forks source link

Extract specific information from feature_map and matched to ConsensusMap #438

Open chulexuexibiedebushihewo opened 5 months ago

chulexuexibiedebushihewo commented 5 months ago

Hi! OpenMS is a good tool. I have a quetion, but I don't know how to resolve it, could you give me some advice?

I have six featuremaps and a consensusMap have been produced as well. But now I want to extract some features in consensusMap. These features achieved some caterra, such as RT and mz which I have set.

The features in consensusMap seems cannot get the information (RT, mz, intensiity) of each featuremaps.

Such as : image How can I know the mz, RT and quality values of feature 0 in "2012_02_03_PStd_050_1", "2012_02_03_PStd_050_2", "2012_02_03_PStd_050_3" sample, respectively.

Could you give me some advice! Thank you very much !

jpfeuffer commented 5 months ago

Hi!

AFAIK This is currently not exposed to python. You need to iterate over the ConsensusMap and get the information from the feature handles.