473,320 Members | 2,189 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Accurate Mass to Molecular Weight Algorithm

I am trying to reduce my data entry workload through automation of an accurate mass calculator. I have a table of accurate "mass to charge" output vs. intensity from an agilent mass spectrometer. Currently I have to key input each of these molecular weights into the "Agilent MassHunter" mass calculator and get the multiple molecular formula matches and export these matches to excel (with their deviation). Ultimately I parse these molecular formulas, count the number of each atom in the molecule and calculate "O:C", "H:C", and "N:C" ratios (the value of interest for my research. It should be noted that I expect my mass spectra to be made up of molecules with ONLY C, N, H, and O atoms, this fixes the chemistry allowed. I am looking for open source code, or an algorithm I can put in VBA-excel macros or MATLAB, that will take the accurate mass input (i.e. 297.0915 AMU), output molecular formula (i.e. C15 H13 N4 O3) and preferably output deviation (i.e. measured-calculated= -0.0073 AMU)
Jul 19 '11 #1
3 3074
Dormilich
8,658 Expert Mod 8TB
are you sure that your mass spectrometer is exact enough to do this calculation? eventually, the isotope pattern has to match as well.
Jul 19 '11 #2
Rabbit
12,516 Expert Mod 8TB
If you can explain the math you use to calculate your results, we can explain the computer algorithm that can be used to calculate it.
Jul 19 '11 #3
Dormilich
8,658 Expert Mod 8TB
I‘d say it‘s something similar to a Fourier or Waveform Anaylsis.
Jul 19 '11 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Rick Muller | last post by:
I have a problem that I would like to get some advice on from other Pythonistas. I currently manage a (soon to be) open source project for displaying molecular graphics for a variety of different...
3
by: Ook | last post by:
This is probably a bit OT, as I'm not looking for a c++ implementaiton of Dijkstra's algorithm, rather I'm just trying to understand it (is there a better place then here to ask this question?)....
2
by: Brian Blais | last post by:
Hello, I am trying to translate some Matlab/mex code to Python, for doing neural simulations. This application is definitely computing-time limited, and I need to optimize at least one inner...
8
by: abhradwip | last post by:
I want to write a program which will find the shortest path between n no. of cities using dijkstra's algorithm ...... but could not do it..... i have written a program which will give the shortest...
3
by: sharma1985 | last post by:
Hi all, i m working on a bioinformatics problem. Regarding that i would like to know about the perl programming. I also like to know that how could i calculate the Isoelectric point and Molecular...
0
momotaro
by: momotaro | last post by:
am having a final tomorrow am not yet done with dijkstra!!! plz help this is my code waht is wrong with it! void Dijkstra(char *root, char *destination, GraphNode *head) { GraphNode *Root,...
3
by: Andy Cheesman | last post by:
Dear People, I was wondering if people could recommend a simple molecular viewing package written in python. I'm working in Theoretical chemistry and I'm not after an all-singing dancing...
1
by: DumRat | last post by:
Hi, I wanted to create a genetic algorithm for this question : Suppose you are out shopping. You have to buy things from different n number of stores. And have to bring home the goods...
1
by: shimpy | last post by:
1)shape of molecular orbitals must be known in depth. 2)proper assignment of bonding and antibonding molecular orbitals should be stated. 3)proper computer program code where applicable.
1
by: Glenton | last post by:
Hi All Here is a very simple little class for finding a shortest route on a network, following Dijkstra's Algorithm: #!/usr/bin/env python #This is meant to solve a maze with Dijkstra's...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.